Java3d or JOGL for real time modeling? (interesting)

Hi all,

I’m a new member and I just found this wonderful resource today. I had a quick look around and the range of discussion, topics ans level of assistance seem wonderful.

I’m am currently starting a project that involves the very simple modelling of human movement (think spheres for joints and interconnecting lines as the skeletal frame). Sensor will be placed on a person and their movement will be displayed in real time. I am hoping that either Java3d or JOGL or possibly a combination of both can be used for this.

I have used Java3d briefly for a project a few years ago (a static representation of a computer network - think 3d network map). I am concerned that Java3d will not be up to the task of displaying real-time changes and also that inputing the location data in real-time will be a problem.

Would anyone please comment on whether it is possible to do in Java3d or whether JOGL would be far more suitable for this project.

The main requirements at the moment are:

  • real-time updating speed
  • ability to accept location data (x,y,z co-ordinates and time) via a socket conn
  • basic graphics (spheres and cyclinders at the moment)

I also read that Sun are trying to implement JOGL in/for Java3d so would using JOGL be “future” proof?

If anyone wants any more information on this feel free to ask!

Java3D is dead.

JOGL is just a wrapper around OpenGL, which might (or might not) be a bit too lowlevel for your needs.

You might be more interested in a scenegraph, like jMonkeyEngine, which handles just about everything you need, including joints and what-not.

Going straight with JOGL will probably give you a few weeks of head-scratching and frustration, but if you have the time and the ambition, you might want to give it a try. If you just want to get things working ASAP, do not touch JOGL (or LWJGL for that matter).

I’d advise you to see what jMonkeyEngine can do for you, regardless of your ambitions :slight_smile:

Cheers thanks for the reply. It’s much appreciated.

Tbh the graphcis part is the simplist part of the project and I want to get it up and running asap so your recommendation is very valued!

All the best.