Mythruna
January 26, 2022, 05:29:54 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new forums. See "Announcements" for a note for new users.
 
   Home   Help Search Login Register  
Pages: 1 ... 8 9 [10]
 91 
 on: January 22, 2019, 06:53:21 PM 
Started by Rayblon - Last post by pspeed
Also what on earth happened here: Most Online Ever: 391 (November 29, 2018, 01:31:15 AM)

Heheh.

 92 
 on: January 22, 2019, 04:44:54 PM 
Started by Rayblon - Last post by Rayblon
Also what on earth happened here: Most Online Ever: 391 (November 29, 2018, 01:31:15 AM)

 93 
 on: January 22, 2019, 12:18:52 PM 
Started by Rayblon - Last post by Rayblon
Been thinking about something. Studies have shown that exposure to moderate levels of radiation, solar radiation being a prime example, actually protects against cancer by training the body to repair, or destroy, cancerous cells more efficiently. We know that having too little exposure to magic energy is deleterious... but what about too much? Would overexposure to light energy eventually result in the player becoming bloodlit, or too much life energy over too long a period result in some kind of uncontrolled tissue growth?

 94 
 on: January 14, 2019, 08:02:27 PM 
Started by xzardas - Last post by Rayblon
Nice! That bookshelf in particular is pretty badass. Don't forget that you can use multiple blueprints together for even more freedom.

thanks man Cheesy

u can probably squish more blueprints together right?

You can get pretty crazy with blueprints. I made apretty respectable shrine entirely out of blueprints, and I know of at least one hyper detailed statue made using only blueprints.

 95 
 on: January 14, 2019, 01:29:48 PM 
Started by xzardas - Last post by xzardas
Nice! That bookshelf in particular is pretty badass. Don't forget that you can use multiple blueprints together for even more freedom.

thanks man Cheesy

u can probably squish more blueprints together right?

 96 
 on: January 14, 2019, 12:32:24 PM 
Started by pspeed - Last post by Rayblon
A week late follow up to that "funny" physics bug.  It's especially interesting because that video got more traffic than most of my videos so now I'm always on the look out for other strange bugs I can post videos of.

It was probably popular because watching you throw a marble into a ship and causing it to have a seizure is hilarious. Wink

 97 
 on: January 10, 2019, 09:29:56 AM 
Started by xzardas - Last post by Rayblon
Nice! That bookshelf in particular is pretty badass. Don't forget that you can use multiple blueprints together for even more freedom.

 98 
 on: January 09, 2019, 05:40:28 PM 
Started by xzardas - Last post by xzardas
https://youtu.be/9BGYXAqyWsA


 99 
 on: January 09, 2019, 04:42:11 PM 
Started by pspeed - Last post by pspeed
A week late follow up to that "funny" physics bug.  It's especially interesting because that video got more traffic than most of my videos so now I'm always on the look out for other strange bugs I can post videos of.

Anyway, that particular physics problem has been fixed:
https://www.youtube.com/watch?v=YOU2m1r3-ME

And is further re-enforcement of the approach I'm taking.  I would never have been able to solve this if the physics engine was fully integrated with a giant game engine.  I currently have three versions of the test harness that will be part of the open source release someday:
-one raw physics engine example with all kinds of detailed debugging visualizations and features (like being able to pause physics and single step, etc.)
-physics engine example that is integrated with the entity system. 
-physics engine example that is integrated with the entity system and the networking layers

Fortunately, I was able to go back to the first one where I have lots of nice debugging stuff and see some strange behavior.  For one thing, hitting the ship with the ball in single-step showed that the ship was bouncing away from the ball... and the ball would continue forward.  For a 10,000 kg ship and a 20 kg ball, that shouldn't really happen, eh?  You'd expect the ball to bounce off without hardly moving the ship at all.

Looking further into the physics calculations, the issue is that all of the inertia was being swallowed up by rotation.  There was none left to bounce the ball back... or conserve the position of the ship for that matter.

So as I guessed when I posted the video, the issue was likely due to the inertia tensor... which I'd left as a default value. 

For those not up on physics, there is probably no easy explanation but an inertia tensor describes how an object will tend to rotate when pushed in different places.  If you think of a broom as an example, it is easy to see that the broom will want to rotate really easily around the handle but not very easily in the other long-wise directions (though easier along the broom's flat axis than otherwise).  So if that broom were floating in space and you pushed on the outside bristles, it's more likely that most of your push would go to spinning it rather than flipping it end-over-end.

...plus, it turns out that the mass of the object will of course change its inertia tensor.

I spent last Monday teaching myself about inertia tensors and the math necessary to calculate them from a bunch of cubes.  In the end, it's reasonably straight forward even if none of the online docs explained it well.  5-6 web sites later and I had an approach and some code.  Because these are stand-along libraries, it was really easy to write some automated tests that test just these things.  So I was able to iterate very quickly.  I even tested it against some inertia tensor formulas for ideal solids like cubes and got the exact same answers... which made me immensely happy.

Bottom line is that now objects behave better... but especially giant heavy oddly shaped objects like sailing ships.

Even the chairs behave more like chairs now as they are a little back heavy as they should be.  1,000,000 more things to do but progress is progress, as said before.

Bonus pic... because my vacation was winding up and I had no 'quick' projects, I added .obj export to the Block-Ed tool so that I could 3D print objects created there.  So here is the ship:

 100 
 on: December 30, 2018, 02:40:20 PM 
Started by pspeed - Last post by pspeed
Here's hoping next year we see a Mythruna update,

Wouldn't it be nice.  I'm still waiting to play Fallout 4 since I set a goal for myself to do before I could play it... and a) I still haven't reached it, and b) I'm stubborn and refuse to give up.

For those reading this deep who somehow don't subscribe to my youtube channel or twitter feeds:
https://www.youtube.com/watch?v=-euRO21tnlI
..and from just now:
https://www.youtube.com/watch?v=TCM47feUkUc

I really did hope to be making forward progress today instead of fixing old progress... but progress is progress, I suppose (assuming I can find the issue).

Pages: 1 ... 8 9 [10]
Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!