How to draw 3D object using Java?

I want to know how to draw a 3D object on the screen.  For example a ball, a book, a notebook and etc.

If can, i wish the object is not within any frame or windows.  Something like the Office Assistance in Microsoft Word.

Please tell me which package and classes that i need to import and provide some coding.

Thanks
LVL 2
yongyihAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
objectsConnect With a Mentor Commented:
0
 
yongyihAuthor Commented:
Do i need to download others software?  Can i do it only using Java Builder 3.0?

Please give me the coding (if not too long) because i don't have time to do the reading.. (may be will read when i'm free). ^^

Thanks.
0
 
objectsCommented:
> Do i need to download others software?

Yes, Java3D is an additional api designed to support 3d objects.

> Can i do it only using Java Builder 3.0?

As with anything you can implement it yourself without using Java3D. But this is by no means a trivial exercise, and as Sun has already done lots of the work for you why not take advantage of this. Have not used JBuilder but I'm sure you could include the Java3D classes into your ide.

> Please give me the coding (if not too long)

Too long :)

> because i don't have time to do the reading

This is a huge (and somewhat complex) field.
I don't think you can avoid doing at least some reading.
Maybe have a look at some of Sun's demos and examples and use them as a starting point.


0
 
PorphyreCommented:
As a class project, I helped write part of the code of a 3D renderer.   It was large.   And complicated.   And the only thing it could do was display spheres and planes with point source lights!

Although this was all in a non-OO language, and objects definately would have helped in that area...
0
 
objectsCommented:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.