-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
requirement of zoom #2
Comments
Hi, and thanks to write. Currently, no... and I would to maintain the tool in abstract layer and independent from graphical frameworks: to use a window/rectangle zoom I should visualize a graphical rectangle on the screen and use graphic functions from OpenGL/DX/Vulkan/... or from 2D frameworks like SDL/SFML/... But maybe I could make a function available to pass top left and bottom right corners parameters and leave the task to the user to draw the rectangle ad use mouse/key combination Instead, recently (a week ago), I have implemented a proportional pan/zoom speed by PoV distance, to maintain mouse movements constants (and variable pan/zoom speed)... passing also the current PoV distance (or object distance): It's not yet committed here (but it will be within a few days). But new vGizmo.h source file is available here: https://github.com/BrutPitt/glChAoS.P/blob/master/src/src/tools And here you can see as I use the new calls (the way to use is not definitive... is testing phase): |
yes,you're right and understand what I mean. thanks |
I will be glad to test the library if supports zoom in by rectangle |
Hi , would you support zoom object or window rectangle to full view ?
The text was updated successfully, but these errors were encountered: