Solved

How to draw 3D object using Java?

Posted on 2001-06-28
5
610 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 100 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

733 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