Hi, I'm thinking about implementing a simple Octree that sorts whole spatials not single triangles.
The first step for that would be to make a check if a OctreeNode completely contains a given spatial.
Well, there is a method intersects in BoundingVolume. But how can i tell if a given BoundingBox completely engulfs another Bound? Is there already a method for this hidden somewhere or would I have to adapt the individual intersects from BoundingBox?
If I really pull this off, and write a usable Octree that brings real performance advantages I'd happily post it here.
There's already an Octree implementation written for doing simple physics.
See this thread: http://www.jmonkeyengine.com/jmeforum/index.php?topic=5073.0
I think someone should make tutorials on using the octree implementations that others created because I've came across a few and have been unable to properly implement them in standard game.
I haven't started using the physics engine yet but in community opinion should i just wait for another jme java based physics engine or just use the jme physics2??
Bonechilla said:
I haven't started using the physics engine yet but in community opinion should i just wait for another jme java based physics engine or just use the jme physics2??
Why wait?
nymon said:
Bonechilla said:
I haven't started using the physics engine yet but in community opinion should i just wait for another jme java based physics engine or just use the jme physics2??
Why wait?
isn't ODE a c/c++ dynamics engine. I can't remember everything but i really didn't need the physics engine right away and focused on other parts would u recomend jme physics2 over other j physics engine and future ones?
ODE is a very stable, and established physics engine. If you choose to use jME Physics 2, then the actual physics engine used is hidden behind an abstraction layer. If in the future you decide ODE doesn't fit your needs, you can transparently switch the engine with one of your choice (provided a binding implementation has been done in jME Physics) without needing to change anything in your application.
I think if you decide to wait for the perfect java physics engine, you may be waiting for a long time.