IrrODE - an Irrlicht - ODE wrapper (now with SVN)
I can't tell you how much memory the wrapper needs, I never use it without loading a scene (nor without Irrlicht). But: the memory leakage has been reduced quite a lot during the last week. It still leaks, but the IrrOdeCar demo needs to be running for quite some time to see an increase in memory usage (situation one week earlier: at least 100 KB leak per second!).
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Good progress made, I liked what features you have implemented in the wrapper
But I'll stick with my bullet wrapper than as it works good for what I need now and it helps me to improve my c++ skills
Good luck on improving your wrapper and removing those GOD Damn leaks, got to hate them
But I'll stick with my bullet wrapper than as it works good for what I need now and it helps me to improve my c++ skills
Good luck on improving your wrapper and removing those GOD Damn leaks, got to hate them
Working on game: Marrbles (Currently stopped).
Yea, lets ban'em ALL!ArakisTheKitsune wrote: I saw like 1000 basic c++ questions here on forum. Maybe you want to tell them too to buzz off?
Hey dude, ever heard 'bout Godwin's law?ArakisTheKitsune wrote:And I like your "change your avatar" line it's so nazi.
http://en.wikipedia.org/wiki/Godwin%27s_law
The right facepalm is for ArakisTheKitsune, and the left one is for serengeor.
( Really guys, please learn the basics of C++ and the basics of google usage BEFORE visiting this beautiful forum )
Don't let him fool you booe, the cake is a lie! And don't even get me started on pi!hybrid wrote:booe, maybe you could also calm down and start to criticize people only after you have shown worthy to the community. This usually starts after a few dozen or even a few hundred posts - if ever...
All joking aside he's right two wrongs don't make a right. Nor a double face palm... then again not having the respect of hybrid does allow me to enjoy your trekky joke without worrying about big H's evil monkey stare! ahahahahaha!
edit: here you go hybrid I got a new avatar for you!
You know its not the full error ?pippy3 wrote:I'm having some trouble linking the demos with the library in Xcode. I followed the instructions with no luck.
There's about 200 errors with the first being
irr::ode::CIrrOdeDevice::jointGetPrAngleRate(unsigned int)in libirrODE.a(CIrrOdeDevice.o)
Give us the full error with the code like
Code: Select all
error 2048: Blah blah
Working on game: Marrbles (Currently stopped).
I'm still laughing at that double face palm lol
anyway.. just a HUGE shot in the dark I'm going to agree with serengeor that it's probably a linker problem... see how it mentions the .o object file? yeah that usually means it's not linking considering that's what object files do.
while(!insane)code();
Good Luck!
anyway.. just a HUGE shot in the dark I'm going to agree with serengeor that it's probably a linker problem... see how it mentions the .o object file? yeah that usually means it's not linking considering that's what object files do.
while(!insane)code();
Good Luck!
Do you link with ODE? Without further information this would be my first guess. IrrOde is just a wrapper, you need to link both Irrlicht and ODE.pippy3 wrote:I'm having some trouble linking the demos with the library in Xcode. I followed the instructions with no luck.
There's about 200 errors with the first being
irr::ode::CIrrOdeDevice::jointGetPrAngleRate(unsigned int)in libirrODE.a(CIrrOdeDevice.o)
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
I think there is a problem with collision detection..again.
You can find it by playing irrode playground...
Try to add a capsule and a trimesh scene node and apply a force to the capsule (or the trimesh), and the node to which you applied the force will pass through the object and through the ground
You can find it by playing irrode playground...
Try to add a capsule and a trimesh scene node and apply a force to the capsule (or the trimesh), and the node to which you applied the force will pass through the object and through the ground
I know there is a problem with the collision detection, but it comes from the ODE. The only solution I figured out is to use the debug version of ODE (I do that for the IrrOdeCar demo and my "Stunt Marble Racers" game). You have to add a switch when compiling debug ODE so that it won't stop the program on any internal error (I just don't remember the switch at the moment ... I think I added it as a note to the readme.txt file).
I link the debug version statically in order to decrease the size of the package I put on my homepage.
Btw: are you using a trimesh as terrain or a heighfield? It should work with the heightfield, but the trimesh collision is for some reason broken in the release version.
I link the debug version statically in order to decrease the size of the package I put on my homepage.
Btw: are you using a trimesh as terrain or a heighfield? It should work with the heightfield, but the trimesh collision is for some reason broken in the release version.
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
New version online (also in SVN):
* Added method to CIrrOdeManager that encapsulates the "loadScene" method of the Irrlicht scene manager
* some cleanup work done
* Fixed buffer size bug in IrrOdeCar
* new car model in IrrOdeCar
* added a progress bar to IrrOdeCar initialization
* Added method to CIrrOdeManager that encapsulates the "loadScene" method of the Irrlicht scene manager
* some cleanup work done
* Fixed buffer size bug in IrrOdeCar
* new car model in IrrOdeCar
* added a progress bar to IrrOdeCar initialization
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Alright ... I uploaded another version before I went to bed yesterday: I found out that I forgot to clear the world list in the CIrrOdeManager::closeOde method. This is no problem in the demos, but in my Stunt Marble Racers game it caused the program to crash: the movement of bodies is done by the first world, and if the list isn't cleard it points to some invalid class instance. Updated both SVN and the download version.
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
My project is almost finished using this awesome lib! Right now I'm doing some optimizations and I tried to cut my tri count down by using single sided collision meshes, but as expected the collision is only detected on the front face. Is there a way to allow double sided collision? I looked through a few of the headers and didn't see anything that looked like it.
Oh and I'm using triangle collision meshes for these objects.
Oh and I'm using triangle collision meshes for these objects.