Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (601)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (649)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Download Xith3d demos using odejava package  (Read 3117 times)
0 Members and 1 Guest are viewing this topic.
Offline Jani Laakso

Junior Devvie

Do it with Java!

« Posted 2003-12-02 20:43:25 »

I made couple physics demos using Xith3d and odejava.

You can check try them out at:

Download the if you want to get the easiest way as it contains jogl, xith3d and other 3rd party libraries and jars that are required for executing the demos. Main directory has three bat files, so click those to execute the demos. Sorry, but odejava currently has only windows binaries compiled, others come later I hope.

On the BoxApp you can change simulations by pressing 1,2 or 3.  Keys q,w,e,a,s,d change box sizes (select new simulation after this). Mouse drag with left mouse button adds some spin to boxes and plain left click to bottom or top of the screen gives big force to last object (try it with tower simulation as all boxes are connected to each other, snaky).

On the CarApp you can try to drive around with a,d,w,s keys. b is handbrake (on/off) and keys 1,2,3 change the camera position. Space resets the simulation.  Ode's parameters are bit hairy, fix if you want Smiley

runOdeHelloWorld.bat runs console based test with couple objects falling to a ground, with no rendered attached to it, so this is a bit dull demo.

Hope people get a spark for developing odejava after seeing these hilarious demos :-)

Cheers, Jani

PS. Use ESC button for exiting from the demos, I didnt bother to catch Xith3d window close event (odejava needs proper cleanup method to be called).

BTW How does one catch Xith3d window close event?
Offline Java Cool Dude

Senior Devvie

Java forever

« Reply #1 - Posted 2003-12-03 01:54:26 »

F:\ODE\odejava>java -cp ".;lib\3rdparty\xith3d.jar;lib\vecmath.jar;lib\3rdparty\

Exception in thread "main" java.lang.UnsatisfiedLinkError: new_dWorld
        at Method)

None of the demos run  Cry
Offline Jani Laakso

Junior Devvie

Do it with Java!

« Reply #2 - Posted 2003-12-03 03:30:02 »

The package has been now tested succesfully on 5 different Windows machines. Although all the machines had Windows XP or Windows 2000 and JDK (or JRE) 1.4.2_02.

Just to make sure, I tested it again ok with the following software:
Windows 2000  / SP4 / JRE 1.4.2_02
This machine was quite clean w2k install.

I have not tested it on Win95/98/Me, my dll and msvc6 knowledge is very low so there might be very well be a problem with the dll on some systems.

I wonder what the problem is Java Cool Dude, please tell me if you have any ideas? You are not trying to run the demos on non-windows platform? If so, you have to compile for your platform. The package has crude but quite simple description on how to do it.

PS. The cardemo needs a bit newer GPU hardware, boxdemo on the other hand is more CPU intensive.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Yuri Vl. Gushchin

Senior Devvie

Speak Java!

« Reply #3 - Posted 2003-12-03 07:42:46 »


I was able to run demos with no problems. Looking forward to see this project on

Configuration: WinXP, GeF 440Go. Hopefully I will have time to test this on Linux.


Yuri Vl. Gushchin
JProof Group
Offline Jani Laakso

Junior Devvie

Do it with Java!

« Reply #4 - Posted 2003-12-03 08:01:14 »

Good that it worked, I might be that it requires newest JDK/JRE version (1.4.2) in order to run.

Hope this is enough to start an odejava community.
Offline Jens

Senior Devvie

Java for games!

« Reply #5 - Posted 2003-12-03 09:27:00 »


You can check try them out at:

You've written the download links four times in a row. I think one is enough.  Smiley

Xith3D Getting Started Guide (PDF,HTML,Source)
Offline shawnkendall

Senior Devvie

« Reply #6 - Posted 2003-12-03 10:07:44 »

Good stuff!  Nothing quite like a "real" physics engine....well except maybe, reality.

Shawn Kendall
Cosmic Interactive, LLC
Offline DjaZia

Senior Newbie

Build once, run everywhere!

« Reply #7 - Posted 2003-12-03 10:32:33 »

looks really good  Cheesy
not bad for a non java PE!  Grin


DZ Ecrew member
Offline Yuri Vl. Gushchin

Senior Devvie

Speak Java!

« Reply #8 - Posted 2003-12-03 11:05:59 »

Hope this is enough to start an odejava community.

More than enough. Really waiting for odejava project on


Yuri Vl. Gushchin
JProof Group
Offline Daath

Junior Devvie

Java games rock!

« Reply #9 - Posted 2003-12-03 13:38:07 »

this looks great ! ,  this will add some sparks to xith3d
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jani Laakso

Junior Devvie

Do it with Java!

« Reply #10 - Posted 2003-12-04 09:34:06 »

Thank you all for the positive comments.

I added another demo to the package, nothing special but it is using jme ( as it's renderer. Didn't bother to add it before I got an answer from jme's author on my rotating problem, now also jme demo works. Feel free to try if you wish.

Odejava package is a bit hairy, but the API itself should be sufficient for making almost any kind of simulations.

PS. sure takes some time..
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Riven (23 views)
2015-07-27 16:38:00

Riven (13 views)
2015-07-27 15:35:20

Riven (18 views)
2015-07-27 12:26:13

Riven (8 views)
2015-07-27 12:23:39

BurntPizza (24 views)
2015-07-25 00:14:37

BurntPizza (36 views)
2015-07-24 22:06:39

BurntPizza (20 views)
2015-07-24 06:06:53

NoxInc (23 views)
2015-07-22 22:16:53

NoxInc (14 views)
2015-07-22 22:13:39

Jesse (36 views)
2015-07-22 03:10:36
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!