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