Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Java 3D / January 2005

Tip: Looking for answers? Try searching our database.

Java 2D or 3D, which one is better for this app?

Thread view: 
Kevin - 30 Dec 2004 22:18 GMT
Hi Guys,

I am trying to code an interactive visualization application using
Java, however, since I never use Java3D before so I would wonder for my
application, is that possible not use Java3D?

My application will look like similar to the Cone visualization in MS
Excel, it requires visualization like:

http://icarus.uic.edu/~kzhao3/excel_figure.jpg

The user should be able to rotate the visualzation (change its view
point), select one object (a color cone), or delete one cone, etc.
Since this will be an office application, not any fancy game, so
special lighting, walk-through, etc., may not needed.

I looked through the Java3D guide, of course, Java3D can do it pretty
well. But I need to learn it (painfully I may say, for a beginner). Can
Java's java.awt.Graphics class do my job well? Or I have to jump into
Java3D for it?

Thanks a lot and have a nice holiday.

PS: it would be nice if anyone can point out a code snip of a similar
visualization as shown in the above url. :-)
Kevin - 31 Dec 2004 01:00 GMT
By the way, I am not that familar with Java's graphic or 2D. I just use
java to do some "office text work". I did some "graphics" code before
with java.awt.Graphics, on a JPanel, lines, dot, things like that.
Alberto Cappellina - 31 Dec 2004 10:08 GMT
hi!
if you wish to rotate the base where cones stand, there is only an
answer: use Java3D. Or you'll have to simulate 3d with 2d, and it is
very hard, 'cause you have to simulate shading, rotation, and handle
user interaction. And this means: a lot of MATH! :D

this is just my opinion

Happy New Year
Alberto (ITA)

> By the way, I am not that familar with Java's graphic or 2D. I just use
> java to do some "office text work". I did some "graphics" code before
> with java.awt.Graphics, on a JPanel, lines, dot, things like that.
Jörg Höhne - 03 Jan 2005 11:47 GMT
> hi!
> if you wish to rotate the base where cones stand, there is only an
[quoted text clipped - 10 lines]
>> java to do some "office text work". I did some "graphics" code before
>> with java.awt.Graphics, on a JPanel, lines, dot, things like that.

Alberto is right, there is in my opinion no alternative to Java3D.
There are some tutorials floating around in the internet, try this one
here for example:
http://java.sun.com/products/java-media/3D/collateral/index.html#tutorial

Maybe there is someone out there who has already solved the problem;
have a look a sourceforge, maybe there is some sort of library which
will provide 3d graphics for data visualization.

Cheers,

Jörg
bensmyth - 06 Jan 2005 13:55 GMT
> I am trying to code an interactive visualization application using
> Java, however, since I never use Java3D before so I would wonder for my
> application, is that possible not use Java3D?

If you want 2d - don't use Java3D.....

If you want 3d - use Java3d! ;-)

As already pointed out - you need Java3d.

Regards,

Ben


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.