Advertisement

Coin3D (Open Inventor) Examiner Viewer Question

Started by September 24, 2004 02:44 PM
-1 comments, last by buber88 20 years, 2 months ago
Hi All, First off this problem pertains to open Inventor using the Coin3D implemenation. My problem is when I use an ExaminerViewer, SoQtExaminerViewer in my case (but I'm pretty sure the windowing system doesn't matter), to view a scenegraph, and then grab the examiner viewers camera to do some of my own programmic movements, the camera then doesn't register back with the viewer right. By default for example the right scroll wheel on the side of the viewer that lets the user zoom in and out zooms slower as a person gets closer to the scene of viewing. But if I move the camera programatically using the position variable on that camera, say back to the home position, the scroll wheel still thinks the camera is close and acts accordingly, eventually not doing anything at all and not letting the user zoom. I've tried subclassing, SoQtExaminer viewer, to get ahold of the scroll wheel values, and tell them to update but that doesn't work either. How can I programically move the camera used by the viewer, and get the scroll wheels to be updated for the next time the user uses them after the programed movement?

This topic is closed to new replies.

Advertisement