Login  Register

Use of OrbitBehavior with JCanvas3d

Posted by OliverR on Jul 23, 2020; 8:21am
URL: https://forum.jogamp.org/Use-of-OrbitBehavior-with-JCanvas3d-tp4040746.html

Hallo,

I have just migrated from 10 years old java3d technology into the current version 1.7. Changing of the imports needs a lot of time but works fine. The only trubble I have is the usage of OrbitBehavoir. In my old code I use

http://www.interactivemesh.org/testspace/orbitbehavior.html

I have tried to migrate to

https://jogamp.org/deployment/java3d/1.7.0-final/j3dutils/javadoc/

The code builds but mouse navigation does not work any more.

I have looked for any example how to use OrbitBehavoir in combination with JCanvas3d but I havnt found any.

The only example I have found is

https://github.com/philjord/java3d-examples/tree/master/src/main/java/org/jdesktop/j3d/examples/objload

but it is for canvas3d only and does not includes detailed explainations to implement more complex stuff.

Any help appriciated.

best regards
Oliver