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 "Pan/Zoom" state to default options for capture #79

Open
BigRoy opened this issue Jun 7, 2017 · 0 comments
Open

Add "Pan/Zoom" state to default options for capture #79

BigRoy opened this issue Jun 7, 2017 · 0 comments
Labels

Comments

@BigRoy
Copy link
Collaborator

BigRoy commented Jun 7, 2017

Discussion

The CameraOptions to not, by default, assign default values to the camera's pan/scan settings, also described here: Colorbleed/maya-capture-gui#66

Should we implement a default for this?

Note that it is already possible to supply the options to customize it with capture.capture. For example:

import capture

# No pan/zoom
capture.capture(camera="persp", camera_options={"panZoomEnabled": 0, "horizontalPan": 0.0, "verticalPan": 0.0, "zoom": 1.0})

# Pan/zoom with 0.2 horizontal pan
capture.capture(camera="persp", camera_options={"panZoomEnabled": 1, "horizontalPan": 0.2, "verticalPan": 0.0, "zoom": 1.0})
@BigRoy BigRoy added the question label Jun 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant