Jedive ODE Wrapper

Blitz3D Forums/Blitz3D Userlibs/Jedive ODE Wrapper

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

ODE FAQ

12.11. The Windows version of ODE crashes with large systems
ODE with dWorldStep requires stack space roughly on the order of O(n)+O(m2), where n is the number of bodies and m is the sum of all the joint constraint dimensions. If m is large, this can be a lot of space!

Unix-like operating systems typically allocate stack space as it is needed, with an upper limit that might be in the hundreds of Mb. Windows compilers normally allocate a much smaller stack. If you experience crashes when running large systems, try increasing the stack size. For example, the MS VC++ command line compiler accepts the /Stack:num flag to set the upper limit.

Another option is to switch to dWorldQuickStep.


THOUGHTS
I'm wondering if Blitz3d needs and option to set a larger stack size? As for the MAV or stack overflow at 657 objects I could probobly live with that limitation.

I just got ver 1.01 of the wrapper. Great to see changes made. I was surprised to see the source code is included! Providing the source code is icing on the cake, great buy for $12.00 US.

I have no doubt any remaining issues will be resolved. I'm off to test the bad boy out.