We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › 3D physics engines
Page Index Toggle Pages: 1
3D physics engines (Read 2012 times)
3D physics engines
Feb 26th, 2008, 12:08pm
 
Hello,
I'm looking for a 3D physic engines (based on Traer lib?) with collision for very simple Cylinder shape hanged up to a line.
I found it in AS3 here.
http://seraf.mediabox.fr/wow-engine/as3-3d-physics-engine-wow-engine/

Is there something equivalent in P5?
Re: 3D physics engines
Reply #1 - Feb 26th, 2008, 9:49pm
 
I haven't heard about any ready-to-use 3D engine for Processing (though there may be some somewhere?), but there's JMonkey, which is a robust Java 3D engine that relies on OpenGL, and jME Physics, which is a 3D physics engine (that would help for collision-detection) :

http://www.jmonkeyengine.com/

https://jmephysics.dev.java.net/

Maybe these could be easily reused - or somehow ported into Processing?
Re: 3D physics engines
Reply #2 - Feb 27th, 2008, 12:54pm
 
Cool, More powerfull than AS3 libs
I found this too:
http://www.xith.org/
Good reasons for starting playing java directly
thanks
Re: 3D physics engines
Reply #3 - Mar 14th, 2008, 8:01pm
 
Are there even any 2d physics engines in, or usable with processing? I'd be very interested in playing around with basic systems for having colliding and interacting items like rocks & balls etc....

I've seen plenty of stuff like this, but would be nice not to have to reinvent the wheel.
Re: 3D physics engines
Reply #4 - Mar 16th, 2008, 1:19pm
 
Just to reply to myself, I just found the phys2d engine for Java, which has been used by jrc313 to create a nice drawing/crayon physics type demo:
http://www.jrc313.com/2008/01/26/drawable/


If anyone's looking to install it, just download the latest jar file from the site: http://www.cokeandcode.com/phys2d/

And then open up your main processing folder and rename the jar to phys2d.jar and you'll end up with the following folder structure.

libraries
/phys2d
/library
phys2d.jar

Restart processing, and then it will appear in the Sketch > Import library menu.


Thanks to James (jrc313) for helping me out with these instructions!
Re: 3D physics engines
Reply #5 - Mar 22nd, 2008, 4:00pm
 
Quote:
Maybe these could be easily reused - or somehow ported into Processing?

yes it would be great.
Thank for this answer antiplastik
I started my project with jme physics it's really great but i need to receive midi in data from sensor and i have a lot of trouble to use midi in this java project.

Page Index Toggle Pages: 1