JV-ODE Physics Thread 6

Blitz3D Forums/Blitz3D Userlibs/JV-ODE Physics Thread 6

On a more informative note. For all you JV-ODE fans out there eager to get every last bit of speed out of an already fast Physic system, here some speed tips.

Speed Tip 1) Only add the surfaces of an model to the Physic system that you really need to i.e. no need to add the leaves of a tree just the trunk

Speed Tip 2) Use a program like milkshake to reduce the number of polygons in our models. The DirectX mesh tool is grate for this. Now Export it as a new model something like “phy-(oldname).3ds”.
Now in your program when you use the model of a Tree for instance you will and a hi poly model for Eye Candy and a low poly model for the Physic system. I used these two methods on a tree with over 6000 triangles and made a Physic trimesh with 136 triangles, why not try it.

If fact it would be really cool if Viper could include a triangle reduction tool like this into the next update. Something like Newmesh=ReduceTriangles(oldmesh, % Reduction)