Hi,

Using the JNI to control 3D application from Java, I am implementing
multi-view.

Following the osg example ThirdPersonView, I try using only one
compositeviewer, and add some osgViewer::View to it.

But, depending on adding a view from the JNI or from C++ frame loop, I have
not the same behavior :
C++ : 2 view are well created, but one have the draw time increasing... so
the frame rate slowly decrease...
JNI : 2 view are well created, but only the second view can be used : the
first one is a clone of the second (same render, manipulator, ...). To have
2 different view, I need to make one compositeviewer per view...

Any idea of why the composite Viewer can be so different or seems unstable ?

Thanks.

Regards,
   Vincent
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to