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

Camera angled at 90 degrees #25

Closed
rubenvereecken opened this issue May 25, 2016 · 2 comments
Closed

Camera angled at 90 degrees #25

rubenvereecken opened this issue May 25, 2016 · 2 comments

Comments

@rubenvereecken
Copy link

Strangely, a custom-defined camera is angled at 90 degrees using the following specific setting:

<placement idx="1" position="0,-5, 1" look_at="0,0,0" lens_focal_length="20" />

as can be seen on this image:

I can fix it by having a non-zero x position, like so:

<placement idx="1" position="0.00001,-5, 1" look_at="0,0,0" lens_focal_length="20" />

@ilpincy
Copy link
Owner

ilpincy commented May 25, 2016

Thanks for the bug report! At the end of the week I'll work on this. I'll
add the possibility to specify the Up vector of the camera manually, for
situations in which the automatic calculation is ambiguous (like this one).

Cheers,
Carlo

On Wed, May 25, 2016 at 10:49 AM, Ruben Vereecken notifications@github.com
wrote:

Strangely, a custom-defined camera is angled at 90 degrees using the
following specific setting:

as can be seen on this image:

https://camo.githubusercontent.com/eea987ac6d5390d74d13ff931a8c5a26ee5801bb/68747470733a2f2f73632d63646e2e7363616c65656e67696e652e6e65742f692f32333236383138613165333133323365613361623262343662663361656539312e706e67

I can fix it by having a non-zero x position, like so:


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#25

Carlo Pinciroli, Ph.D.
http://carlo.pinciroli.net/

@rubenvereecken
Copy link
Author

Great! Thanks for taking a look so swiftly.

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

No branches or pull requests

2 participants