[ODE] RE: Ragdoll sample with multiple solvers
Mohsin Hasan
mohsin.hasan at trivor.com
Thu May 20 13:03:39 MST 2004
It turns out that I was mistakenly using the debug build of ODE. I have just
uploaded the sample again with the release builds of both the exe and
ode.dll. It shouldn't ask for MSVCRTD.dll anymore. You can get it here
http://www.geocities.com/mohsin091/ragdoll.zip
Apart from that, the speed boost is pretty cool. Here are the results
Starting FPS = When simulation starts, no collisions
Ending FPS = When all dolls have fallen and are colliding with each other
================================================================
StepFast (45 Ragdolls, 2 iterations, 2 contacts)
Starting FPS ~ 200 (amazing for StepFast)
Ending FPS ~ 90
QuickStep (45 Ragdolls, 20 iterations, 2 contacts)
Starting FPS ~ 190
Ending FPS ~ 160
================================================================
StepFast (60 Ragdolls, 2 iterations, 2 contacts)
Starting FPS ~ 148 (amazing for StepFast)
Ending FPS ~ 53
StepFast average is around 100 which is pretty cool
QuickStep (60 Ragdolls, 20 iterations, 2 contacts)
Starting FPS ~ 110
Ending FPS ~ 105-120 (probably because of auto disabling)
================================================================
WorldStep (2 Contacts)
Unfortunately the dolls just explode :( unless I create only 2 ragdolls.
================================================================
Machine Specs
P4 2.4C GHZ
512 MB ram
Radeon 9700 Pro
-Mohsin
-----Original Message-----
From: ode-bounces at q12.org [mailto:ode-bounces at q12.org] On Behalf Of Mohsin
Hasan
Sent: Thursday, May 20, 2004 11:56 AM
To: ode at q12.org
Subject: [ODE] RE: Ragdoll sample with multiple solvers
You need to specify all 4 parameters for all the solver types. For WorldStep
iteration is not used but you still have to specify it for the program to
understand the arguments.
Ragdolls.exe A B C D
Where A = Ragdolls count
B = Solver to use (F = StepFast, W = WorldStep, Q = QuickStep)
C = # of iterations to use
D = collision contacts count
e.g. Ragdolls.exe 2 W 2 2
means 2 ragdolls, WorldStep algorithm, 2 iterations (no effect in WorldStep)
and 2 collision contacts.
-----Original Message-----
From: Mohsin Hasan [mailto:mohsin.hasan at trivor.com]
Sent: Thursday, May 20, 2004 11:37 AM
To: 'Mohsin Hasan'; ode at q12.org
Subject: Ragdoll sample with multiple solvers
So it seems the list doesn't allow file attachments. You can download it
from here:
http://www.geocities.com/mohsin091/ragdoll.zip
one thing I forgot to mention in the mail below, you can also slow
down/speed up the simulation speed. During simulation, press 's' to slow it
down to create matrix like slow motion effect. For usage detail see the mail
below.
Looking at the simulation, the QuickStep solver makes the objects a lot more
bouncy as compared to the other two solvers. I guess I have to tweak them up
a bit.
Regards,
Mohsin
-----Original Message-----
From: Mohsin Hasan [mailto:mohsin.hasan at trivor.com]
Sent: Wednesday, May 19, 2004 9:19 PM
To: 'ode at q12.org'
Subject: RE: [ODE] QuickStep solver checked in
Ok. Here it is. Just extract it to any where and run it.
By default (without any command line arguments) it will start with 45
ragdolls falling from the top on some stairs. The solver is QuickStep,
Iterations 20 and contacts 2.
You can specify your own parameters as follows
Ragdolls.exe A B C D
Where A = Ragdolls count
B = Solver to use (F = StepFast, W = WorldStep, Q = QuickStep)
C = # of iterations to use (for Quick and Fast step)
D = collision contacts count
e.g. Ragdolls.exe 5 F 2 2
means 5 ragdolls, StepFast algorithm, 2 iterations and 2 collision contacts.
Enjoy,
Mohsin
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode
More information about the ODE
mailing list