09-28-2011 04:19 PM
Hi All,
I have a 3d picture control and I was able to zoom with Shift-mouse and pan with ctrl-mouse, as well as move per the CameraController.Type.
I added a Reset button to change the ModelView Matrix back to 100,010,001 and the Zoom and Pan values to appropriate. Since then, I can no longer zoom or pan. The cursor changes to indicate that it is zoom or pan mode, but it doesn't do it.
I rebooted the computer to make sure it wasn't something flaky, but it still doesn't work.
Any ideas?
thanks,
Paul J
09-29-2011 02:47 PM
Hey Paul,
Would you be able to post yout program here so we can take a look at it? My first thought is that you may be reseting theModelview Matrix value over and over again which would prevent you from zooming and panning.
09-29-2011 03:49 PM
That was my first thought as well, but it only happens when I press the reset button.
An update: it sometimes pans but will never zoom.
09-29-2011 04:06 PM
In fact, it will pan until you try to zoom, then it won't pan anymore.
09-30-2011 04:05 PM
What may be happening is that once you set that reset value the property node it causes the zoom and pan properties to no longer be changeable. I think finding a way to reinitialize that value might be the way to fix it. I would try figuring out the initial value for the ModelView Matrix when you start the program. Also just in case check the latching on your reset button, it would be causing your case structure to always receive a true, which would constantly set the value after you press it.