?
Solved

How to draw 3D object using Java?

Posted on 2001-06-28
5
Medium Priority
?
619 Views
Last Modified: 2012-06-27
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
0
Comment
Question by:yongyih
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 92

Accepted Solution

by:
objects earned 400 total points
ID: 6236443
0
 
LVL 2

Author Comment

by:yongyih
ID: 6236462
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
 
LVL 92

Expert Comment

by:objects
ID: 6236480
> 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
 

Expert Comment

by:Porphyre
ID: 6236663
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
 
LVL 92

Expert Comment

by:objects
ID: 7210507
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month15 days, 2 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question