-
Notifications
You must be signed in to change notification settings - Fork 19
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
Cropping support #40
Comments
Good suggestion! |
I started working on this but it complicates things such as screen to world calculations. I'll hopefully be able to solve the problems though. |
The latest version of Orthographic has a viewport configuration that can be used to achieve this. I will use this new functionality to implement crop support. |
Hi, |
No, I'm afraid I never had the time to look into it. |
Ok, thanks anyway. |
Ah! Was hoping to get this to work already. I've played with modifying the default render script but the screen conversion makes things complicated, especially when having to deal with GUI as well. |
It would be super helpful to have an option to crop to the set aspect ratio, like in the example code you wrote here: https://github.com/britzl/publicexamples/tree/master/examples/crop_viewport
The text was updated successfully, but these errors were encountered: