Skip to content
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

add --straight flag to take model screenshots from head-on #49

Merged
merged 2 commits into from
Aug 16, 2018

Conversation

ox
Copy link
Contributor

@ox ox commented Aug 15, 2018

This diff adds a --straight flag (flexible on the naming), which can toggle the viewer.set_camera_from_bounds' straight argument. I have some models which are meant to be looked at straight-on, and this would directly solve that issue.

A more generalized solution would be to be able to specify camera rotation angles around the bounding box, but I'm not sure how that would jive with the count flag.

@bwasty
Copy link
Owner

bwasty commented Aug 16, 2018

Thanks! I changed the help string a bit because I consider the automatically positioned camera to be the default one (most sample files don't contain a camera).

@bwasty bwasty merged commit 7872ecb into bwasty:master Aug 16, 2018
@ox ox deleted the camera-straight-on-screenshot branch August 17, 2018 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants