ODE + Irrlicht game engine

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Mercior

ODE + Irrlicht game engine

Post by Mercior »

Hello,
I've began work on a game engine framework that wraps ODE and irrlicht together. You can download a small exe demo from http://www.mercior.com/files/myode.zip. I havent released any source yet but when I feel the code is more stable I will release full source code.

Rather than making an ODE scenenode, the engine manages object classes which hold both the irrlicht & ODE data, and keeps everything updated for you :)

Currently I have classes for primitives such as cubes, spheres, cylnders, and I am working on more advanced objects such as cars, motorbikes, and ragdoll models (using milkshape joints).

Keys for the demo are:
c=cube
v=wall of cubes
b=sphere
WASD = drive car
arrows = move camera
mouse1 = toggle camera mode (experimental)
mouse2 = throw a jumping cube
Noldo
Posts: 15
Joined: Sat Dec 27, 2003 3:11 pm
Location: Lappeenranta,Finland

Post by Noldo »

That's just what I need :)

I would like to hear your ideas on this.
If it's not too much trouble come to #irrlicht @ irc.freenode.net and the we pray i am awake at the same time.
VeneX
Posts: 228
Joined: Sun Nov 30, 2003 3:32 pm
Location: The Netherlands
Contact:

Post by VeneX »

This is nice :!:
I'm looking forward to the code, I will finish my demo soon, too.
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Noldo
Posts: 15
Joined: Sat Dec 27, 2003 3:11 pm
Location: Lappeenranta,Finland

Post by Noldo »

:D I got it compile, I got it link.

When run it segfaults.

For you windows people out there, Do not worry this is a Platform specific Linux mess.
Noldo
Posts: 15
Joined: Sat Dec 27, 2003 3:11 pm
Location: Lappeenranta,Finland

Post by Noldo »

I got it work.

I had the following problems though:
1.Case sensitivity
#include lines and the correct filenames didn't mach
Rather easy to fix

2.The stuff defined in other source files than main.cpp wasn't compiled.
I made a temporary fix by including the other sourcefiles.

3.OPCODE
i didn't have OPCODE integrated with ODE

4.The library order
g++ wanted the -l arguments in specific order

5. Irrlicht 0.4.2 Segfaults in Linux in some cases
fixed by using 0.4

6. Segfault due to missing files.
Unfortunately I didn't have model files that Mercior used in the "game"
I fixed this by replacing the model files one of my own files. It wasn't pretty (Textures were missing too) but I got it compile , link and run.
Moni

progress?

Post by Moni »

hi, im just curious. is there any progress with this project? sources?
VeneX
Posts: 228
Joined: Sun Nov 30, 2003 3:32 pm
Location: The Netherlands
Contact:

Post by VeneX »

please share :D
Visit my website @ www.venex.be
Plethora project will be added to the site
AMD AthlonXP 2600+, 512MB DDR, Radeon M10 (mobile 9600) PRO 64MB, WinXP
Mercior
Posts: 100
Joined: Tue Feb 24, 2004 1:53 am
Location: UK
Contact:

Post by Mercior »

Right.. I kindof stopped working on this in favour of a new FPS engine because I simply can not get trimeshes to work in ODE :( I think if its physics like this you want then Newton Game Dynamics seems the best around - www.physicsengine.com

I'll upload the code I did so far, perhaps somebody can make something with it :) It has a nice example of a working car.

http://www.mercior.com/files/ode-release1.zip

The code is free to use, but I'd like to know of any projects that use it :)
Wolf Dreamer
Posts: 121
Joined: Tue Feb 10, 2004 6:39 am
Location: the land of chaotic dreams
Contact:

you forgot a header in your zip

Post by Wolf Dreamer »

h:\ode-release1\ode-release1\StdAfx.h(19) : fatal error C1083: Cannot open include file: 'ode/ode.h': No such file or directory

Where do I get ode.h from?

Good work by the way. I like how the car can even flip over, and driving through a wall of crates, etc.
The last sane human being in a world gone mad

http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
Mercior
Posts: 100
Joined: Tue Feb 24, 2004 1:53 am
Location: UK
Contact:

Post by Mercior »

ode.h is part of the Open Dynamics Engine, a physics library that you will need to install in order to compile this :)[/u]
Mercior
Posts: 100
Joined: Tue Feb 24, 2004 1:53 am
Location: UK
Contact:

Post by Mercior »

Something else I just realised is that this was written for the last release of irrlicht so in order to get it compiling with the new one you'll probably have to change a few TS_constants to ETS_ and the createDriver() needs 1 less parameter i think :)
Wolf Dreamer
Posts: 121
Joined: Tue Feb 10, 2004 6:39 am
Location: the land of chaotic dreams
Contact:

Post by Wolf Dreamer »

How do I get the ODE to work?

I downloaded the thing, as well as the make.exe, and looked over the instructions...

Why was this thing created like it was? Is there any reason it doesn't all unzip in the proper places? Seems a bit complicated.

And when I run the make.exe it opens a command prompt dos box, or whatever its called, and then closes again before I can read whatever it is that it did.

Did you have any trouble getting the ODE files configured properly to actually work?
The last sane human being in a world gone mad

http://s8.invisionfree.com/Game_Maker_f ... hp?act=idx
Mercior
Posts: 100
Joined: Tue Feb 24, 2004 1:53 am
Location: UK
Contact:

Post by Mercior »

There is a set of instructions on the ODE site on how to install the library. Basically you need it extracted somewhere, you need the /include and /lib paths referenced by your compiler and you need to make the ODE library using make.exe

Read the readme & manual files that come with ODE and they explain how to create your user-settings file and compile the libs using make.exe (Its something like "make user-config" and "make ode-lib")
Other
Posts: 85
Joined: Fri Dec 03, 2004 5:41 pm
Contact:

Post by Other »

The Link is not right anymore. can somebody post a new link here?
And compiled binaries.

thanks a lot ;-)
My Irrlicht&ODE-Project: http://www.lofing.de/myworld/
katoun
Posts: 239
Joined: Mon Nov 15, 2004 9:39 am
Location: Romania
Contact:

Post by katoun »

Yes please I want the code too.
Please, the link is wrong because those files are not anymore there(I looked in the directory).
Please. :cry:
Kat'Oun
Post Reply