Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

AWT 3d rendering

3 views
Skip to first unread message

arm...@wp.pl

unread,
Jul 18, 2008, 3:33:45 AM7/18/08
to
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

unread,
Jul 19, 2008, 10:59:38 AM7/19/08
to
I think you can use java3d with AWT and Swing.

Vasile Jureschi

unread,
Aug 6, 2008, 12:32:23 PM8/6/08
to
arm...@wp.pl wrote:

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

--
Vasile

0 new messages