Jump to content
  • Advertisement
Sign in to follow this  
buber88

Coin3D (Open Inventor) Examiner Viewer Question

This topic is 5410 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!