Hi guys,

Just a question I think many people like myself would like to know the answer to.

I have been using the Graphics2D class and it works great, however now I want to do some 3D things. I would like to know how to place ellipsoids in 3D space, along with enabling rotation.

How can I go about this? Does anybody have any good explanations or tutorials for the mathematics of calculating the scene for Graphics2D, or is there a 3D class I can use where I can set the position in 3D space by doing something similar to 3Dobj.drawEllipsoid(myellipsoid, xpos, ypos, zpos)?

Thanks

Recommended Answers

All 3 Replies

There is a Java3D API library available. Google for it. ;-)

And JOGL is available if you want to work with OpenGL instead of the Java3D scene graph model.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.