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 / August 2008

Tip: Looking for answers? Try searching our database.

AWT 3d rendering

Thread view: 
armuser@wp.pl - 18 Jul 2008 08:33 GMT
Hi

I'm looking for a java library that allows to rendering 3d graphics
using AWT component not using OpenGl.
Do you know such libraries? I tryed to find something but I found only
libraries using Java3d or OpenGl.

Regards
Jacek
PhoneixS - 19 Jul 2008 15:59 GMT
I think you can use java3d with AWT and Swing.
Vasile Jureschi - 06 Aug 2008 17:32 GMT
> Hi
>
[quoted text clipped - 5 lines]
> Regards
> Jacek
From what I know you just need to use the Canvas3D in any AWT component and
the universe will be displayed

Something along the lines of:

        GridUniverse universe = new GridUniverse();

        // three views
        Canvas3D viewOne = universe.newView();

        JPanel main = new JPanel(mainLay);
               
        main.add(viewOne);

where GridUniverse is a class that defines various methods among which is
newView which returns a Canvas3D associated with a particular viewer.

for a more complex example(Eclipse RCP integration, but also your issue) see
https://gforge.inria.fr/plugins/scmsvn/viewcvs.php/branches/SHORT_ic3d/
ic2d-plugins-src/org.objectweb.proactive.ic2d.JMXmonitoring.ic3d/src/
org/objectweb/proactive/ic2d/jmxmonitoring/
ic3d/Monitoring3DView.java?rev=9916&root=proactive&view=markup

and

https://gforge.inria.fr/plugins/scmsvn/viewcvs.php/branches/
SHORT_ic3d/ic2d-plugins-src/org.objectweb.proactive.ic2d.JMXmonitoring.ic3d
/src/org/objectweb/proactive/ic2d/jmxmonitoring/
ic3d/views/CustomUniverse.java?rev=9675&root=proactive&view=markup

Signature

Vasile



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



©2010 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.