Re: JOGL 2 support for Ardor3D, JMonkeyEngine 3, jzy3d and NiftyGUI
Posted by Andreas on Nov 03, 2015; 4:23pm
URL: https://forum.jogamp.org/JOGL-2-support-for-Ardor3D-JMonkeyEngine-3-jzy3d-and-NiftyGUI-tp1706747p4035715.html
Hi,
thank's for the hints! They are completely right.
I have a question concerning the code duplication. I haven't found something like the mouse control. I found the FirstPersonControl and the OrbitCamControl. The first one rotates the camera at its position and the second one rotates the camera around a focus point. What I needed was a rotation of the viewing object so that the lights and camera have a fixed position to each other. This is not the case for the OrbitCamControl. Did I miss something?
I have to add the RaserTextLabel which is mostly duplicated code of the com.ardor3d.ui.text.BMText.java class. But as mentioned before in this case I need the AWT fonts.
I'm having a last problem. If I want to reuse the Ardor3DPanels (JoglSwingCanvas) which is internally done for the tabs in a netbeans RCP it doesn't work. If I remove and add the panel from the parent component, all lights and sometimes even the correct scaling is gone. I changed my example to show the effect. Is there any hint to avoid that?
Andreas