Mouse zoom
I am using camera = vizcam.PivotNavigate(center=[0, 2, 2], distance=2.5)
The mouse wheel reduces the zoom factor exponentially as I zoom into some object. How do I make it stop or change this behavior? |
Create your own class that inherits from PivotNavigate and override the mouse wheel behavior:
Code:
class MyPivotNavigate(vizcam.PivotNavigate): |
Hi,
Is there a way to override mouse wheel in the Panorama Camera class? All I want is a Panorama Camera with the zoom in and zoom out capabilities. Best regards, Alex. |
Solved. Changing the Field of View is enough for my purposes.
For those who care: Code:
def onMouseWheel(dir): |
All times are GMT -7. The time now is 06:47 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC