Piston, a tutorial project

abecam

03-08-2006 16:47:10

As I wrote in Hansel's topic, I have worked on an example using Ogre and OgreNewt, and expect to cut it in small part to do a tutorial, mostly for the force&torque callbacks, the collision callback, the use of particules and openAl with ONewt and some other things.
I have finished a complete version, and a binary and the (still crappy) sources are available here: http://www.thegiantball.com/wiki/index.php?title=PistonTutorial

Please do not distribute it with the current sounds (because I am ashamed :oops: ), but if you replace them you can do whatever you want :)
I have to do the important part, which is to explain everything, and I hope it will be a nice contribution. If you want to help you are welcome, just contact me or use the source as you want!
Some screenshots to give a taste of it:

A wall before:



and during:



abecam

09-08-2006 18:13:03

A small udpate. I still want to develop this tutorial and I will surely do, but not now :( , as I have to work on other things (no vacation this summer :cry: ). Yet I have also spent some time comparing Newton and PhysX, and I am just confused. PhysX is very fast but seems to take some liberties (the explosion does not look so nice with it, basically the boxes go everywhere), but Newton really has a problem with stacks (but as I have read on their forum it is not normal and should be fixed). I will maybe start a topic on that, but when I will have some distance (I want a discussion, not a war :) ), and maybe after the next release of Newton. The biggest problem is that I see no differences between linear/adaptive and deterministic solver in term of performance hit. Also my boxes continues to go through the ground even with the deterministic solver (maybe my fault :) )... But I like Newton and mostly ONewt so I would like to continue working with it (the question is more for my students, is this something viable to experiment for them?).

Anyway, I will restart working on Piston ASAP, and don't hesitate to download it, try it and give me feedback. And if you find some use of the crappy source as it is, that's nice! :)