Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

PureGDK / DBProODEDebug.dll support?

Author
Message
Olby
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 9th Dec 2011 15:23
Any chance for out of the box support for ODE dll? It comes with every DBPro release and is used to power the FPSC physics engine.

String table:


Thanks!

ACER Aspire 5920G: Core2Duo 2.2GHZ, 2GB, GeForce 8600M GT 1280MB, Windows Vista Ultimate SP1, DBPro 7.5 + PureGDK 2.0b
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 10th Dec 2011 00:35
Is there any documentation to go with this?

Olby
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 10th Dec 2011 14:26 Edited at: 10th Dec 2011 14:29
Since it's officially not supported by TGC (real shame considering that the only official alternative is the Dark Physics which is not updated any more and has tons of problems) no docs are available.

There are folks on these forums who have written some kind of documentation:

Newsletter tutorial: http://www.thegamecreators.com/pages/newsletters/newsletter_issue_34.html#8

MikeS unofficial docs: http://forum.thegamecreators.com/?m=forum_view&t=81194&b=1

Old keywords file by Freddy 007: http://forum.thegamecreators.com/?m=forum_view&t=64349&b=1

I've also attached a basic tutorial by Kuljot Dhami.

To me the best source of information on ODE is the FPSC source code repository: http://code.google.com/p/fpscreatorengine/

Open Dynamics Engine project homepage: http://www.ode.org/ and manual

http://opende.sourceforge.net/wiki/index.php/Manual_%28All%29

TGC has updated the ODE wrapper since the original release (back when upgrade 5.9 was up to date) and now it supports joints and even rag-dolls.

Hope this helps.

ACER Aspire 5920G: Core2Duo 2.2GHZ, 2GB, GeForce 8600M GT 1280MB, Windows Vista Ultimate SP1, DBPro 7.5 + PureGDK 2.0b

Attachments

Login to view attachments
Mistrel
Retired Moderator
18
Years of Service
User Offline
Joined: 9th Nov 2005
Location:
Posted: 11th Dec 2011 15:41
I've added all of the available ODE commands to the latest beta release (beta 14). Please examine the ODE.gdt template and see if you can figure out what the parameters are for the ones at the bottom.

Also, there were a number of glaring errors in the string table which were most likely responsible for some commands failing to work in DarkBasic Professional. These errors have been fixed for PureGDK.

WLGfx
16
Years of Service
User Offline
Joined: 1st Nov 2007
Location: NW United Kingdom
Posted: 11th Dec 2011 18:33
Excellent stuff. It's saved me a lot of learning another physics library. I'll test this out too with the latest project.

Mental arithmetic? Me? (That's for computers) I can't subtract a fart from a plate of beans!
Warning! May contain Nuts!
Olby
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 11th Dec 2011 22:52 Edited at: 11th Dec 2011 22:52
Great! Here's the PureGDK version of tutorial from the newsletter:



I'll explore the undocumented functions later and see if I can get the correct parameters.

Thank you!

ACER Aspire 5920G: Core2Duo 2.2GHZ, 2GB, GeForce 8600M GT 1280MB, Windows Vista Ultimate SP1, DBPro 7.5 + PureGDK 2.0b
Olby
20
Years of Service
User Offline
Joined: 21st Aug 2003
Location:
Posted: 14th Dec 2011 23:45
Went over the FPSC source code and found params for these commands. The rest are not referenced in the code so I'm not sure if they actually work at all.

Quote: "DBProODEDebug.dll%ODE_SetBodyResponse%LL%?ODE_SetBodyResponse@@YAXHH@Z%a, b"


ODE_SetBodyResponse ObjectID, Mode

Quote: "DBProODEDebug.dll%ODE_CreateRagdollFromBoneModel%LF%?ODE_CreateRagdollFromBoneModel@@YAXHM@Z%a, b.f"


ODE_CreateRagdollFromBoneModel ObjectID, Flexibility, c

Code never mentions the third parameter.

ACER Aspire 5920G: Core2Duo 2.2GHZ, 2GB, GeForce 8600M GT 1280MB, Windows Vista Ultimate SP1, DBPro 7.5 + PureGDK 2.0b

Login to post a reply

Server time is: 2024-04-18 16:36:18
Your offset time is: 2024-04-18 16:36:18