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.

Dark GDK / The DGDK.NET ODE Physics Plugin

Author
Message
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 16th Nov 2006 20:01 Edited at: 18th Nov 2006 14:52
This is the first official ODE Physics plugin for DGDK.NET. It has been completely based upon the original DBP ODE Physics plugin, but is fully compatable with DGDK.NET v1.0.6.0. (Important, please update your version of DGDK.NET to 1.0.6.0 before using this plugin)

The plugin comes with a small document detailing how to setup the plugin with your DGDK.NET applications. It also comes with a sample demonstrating the plugin in action. I have not documented the actual functions since this is available from numerous sources, but I seriously suggest examining the sample to see how the plugin class is used.

Hopefully this will attract attention for both collision and physics requirements needed for your DGDK.NET applications.

Any problems, let me know.

The archive now contains both a VB.NET and CSharp.NET sample.
(Dark Inferno Studios), Many thanks for the CSharp sample.

Paul.

Attachments

Login to view attachments
Underdue
19
Years of Service
User Offline
Joined: 20th Aug 2005
Location:
Posted: 29th Nov 2006 15:56
When I attempt to run the ODE plugin I recieve a memory exception error on the Odbcore.sync() command. This only happens when I try to use the provided dlls. Has anyone else experienced this error? Any solution?

Lead Innovator
Eternity Online
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 29th Nov 2006 16:08
Do you have DGDK.NET installed?

Paul.

Underdue
19
Years of Service
User Offline
Joined: 20th Aug 2005
Location:
Posted: 29th Nov 2006 16:16 Edited at: 29th Nov 2006 16:39
Yes, i do have DGDK.net installed on my computer but im not using DGDK.net dll, only the dlls provided with the plugin. Do I need to reference the darkdk dll? Also, im using VB.Net Express

*Edit* If i reference the COM DGDKlib file that came with DGDK.Net then i recieve duplicated name errors. Which is why the ODE instructions says to not use it...

Lead Innovator
Eternity Online
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 29th Nov 2006 16:59
Underdue, Can I assume that you've upgraded to the 1.0.6.0 version of DGDK.NET? I can only assume that if you're just loading and running the example provided with the ODE plugin, you may need to rereference the DLLs within your project.

Paul.

Underdue
19
Years of Service
User Offline
Joined: 20th Aug 2005
Location:
Posted: 30th Nov 2006 01:16
I just purchased DGDK.net Nov 24th. I have triple checked the version and reinstalled V1.0.6.0.

Once again, This only occures when i attempt to use the ODE Sample. I have referenced ODEPhysics.NET, Interop.DGDKLib.1.0, and DGDKPlugins. I have the following objects dgdkGlobals.vb, dgdkplugins.vb,ODESample.dgdk, and ODESample.vb


Here are the error details:

"System.AccessViolationException was unhandled
Message="Attempted to read or write protected memory. This is often an indication that other memory is corrupt."
Source="Interop.DGDKLib.1.0"
StackTrace:
at DGDKLib.dgdkCoreClass.Sync()
at ODESample.ODESample.Main() in C:\Documents and Settings\James\My Documents\Visual Studio 2005\Projects\ODESample\ODESample\ODESample.vb:line 96"

Lead Innovator
Eternity Online
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 30th Nov 2006 09:14
Underdue, because your using VB Express, I'm not gonna be able to solve this problem using just the error information. Could you RAR/ZIP up the project folder (as is) and email me the archive so that I can test it exactly as it appears on your system. That way, I can hopefully replicate the problem and fix it.

Cheers,

Paul.

APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 11th Jan 2007 18:35
Is anybody using the ODE plugin successfully? Just wanted to get a feel for what's going on out there.

Paul.

Niels Henriksen
20
Years of Service
User Offline
Joined: 27th Sep 2004
Location: Behind you breathing heavely
Posted: 11th Jan 2007 22:44
I have just downloaded the plugin and tried it just from the folder. Looks good and working.

Very good work

--
Niels Henriksen
Working on a RPG right now
James Bondo
18
Years of Service
User Offline
Joined: 12th Nov 2006
Location: Denmark
Posted: 12th Jan 2007 01:46
I was planning on using it in my game, just not there yet.

Proud member of The Unforgiven Warriors
http://www.tuwguild.com
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 12th Jan 2007 02:07
Ahh good Glad to see it's being used then.

Paul.

JDforce
20
Years of Service
User Offline
Joined: 27th Jul 2004
Location: Sea of Tranquility
Posted: 15th Jan 2007 05:57
I have just get DarkGDK.NET, and tested the sample programs successfuly.
As for the plugin... when following the instructions to use the ODE plugin, I opened the project, referenced the instructed dlls, but the compiler give 5 errors, all related to some "VBmath.Rnd", which I ignore where to find a reference for that function. I use visual c# express, and do not have visual basic at all. Is that random function somewhere else without visual basic?

May the 3d force B with U
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 15th Jan 2007 15:35
Ahh yes, VBMath.Rnd was one of the Visual Basic methods that I thought was exposed. If you can substitute it, say with oDBCore.Rnd() It may work.

I'll see if I can fix this.

Paul.

JDforce
20
Years of Service
User Offline
Joined: 27th Jul 2004
Location: Sea of Tranquility
Posted: 15th Jan 2007 16:04
oDBCore.RND did it (uppercase). General speed of simulation seems much slower than dbpro, though.

And, the initial black window (arghh) is ever present.

May the 3d force B with U
GaaraBTK
17
Years of Service
User Offline
Joined: 15th Jan 2007
Location:
Posted: 15th Jan 2007 21:38
Hi...im new in the forum.

Ok...i have a problem.I want that the Terrain is a StaticObject.
If i set it with oODE.ODE_CreateStaticBox(_TerrainID);
then the Object slide on the top of the terrain until a special point...then the object fall trought the Terrain ^^'

So...how can i set my Terrain as an static object?
btw. i have the DarkGDK.NET
APEXnow
Retired Moderator
21
Years of Service
User Offline
Joined: 15th Apr 2003
Location: On a park bench
Posted: 4th Feb 2007 22:13
GaaraBTK, the forum did not flag your post in the forum list so I didn't actually see it until I came in here accidentally.

Anyway, did you resolve your problem?

Paul.


"This is Big Brother, could Ian please remove his head from the oven, thank you!"
Miguel Melo
19
Years of Service
User Offline
Joined: 8th Aug 2005
Location:
Posted: 5th Feb 2007 01:25
Quote: "he forum did not flag your post in the forum list"


Yeah, I've notice that it sometimes does that... I wonder why...

I have vague plans for World Domination
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 5th Feb 2007 02:06
something is up with stickies and approval members. rich is aware of the issue

Michael Moore needs this film:Aaron Russo's America: Freedom To Fascism
RonPaul'08
jamo
17
Years of Service
User Offline
Joined: 15th Feb 2007
Location:
Posted: 15th Feb 2007 16:39
It seems like memory usage is constantly increasing when running the ode demo. Is there any way to solve this or is it a leak?

Login to post a reply

Server time is: 2024-11-19 11:24:20
Your offset time is: 2024-11-19 11:24:20