Hi,
I’m posting this new thread (related to how to force redraw).
I’ve narrowed the problem down to the ExaminerViewer CameraParams position attribute.
If you try to do a viewer.setPostion() when you first open a window, something in the Animator thread pipeline stomps on the CameraParam.position parametre.
However, the setOrientation works correctly.
Any ideas?
Thanks
-j
Problem sovled!
It turned out that the objectManip that I was using in the viewer.attach(drawable, NEW (BSphereProvider()…) was what was causing my viewer to have a wrong initial position.
When I replaced the objectMap.getTranslation() with my own new Vec3f(), that fixed the problem!
Note: The use of a BoundingSphere to init a viewer is a little misleading. The name implies the radius of your viewing volume. I didn’t realise it was using the position of the objectManip only after much debugging.
-j