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

Projection plane tilt #10530

Merged
merged 7 commits into from Jun 22, 2021
Merged

Conversation

CraigFeldspar
Copy link
Member

@CraigFeldspar CraigFeldspar commented Jun 21, 2021

  • Adding a projectionPlaneTilt property to Camera.ts, to tilt the projection plane about the X axis
  • Adding an applyVerticalCorrection method to Camera.ts to automatically tilt the projection plane so it compensates the camera pitch, and vertical lines appear vertical on the screen

I'll post on the forum a FYI detail of the maths

@CraigFeldspar
Copy link
Member Author

@CraigFeldspar CraigFeldspar marked this pull request as ready for review June 22, 2021 09:11
@sebavan sebavan requested a review from RaananW June 22, 2021 12:47
@sebavan sebavan merged commit e399cd4 into BabylonJS:master Jun 22, 2021
@thomlucc thomlucc mentioned this pull request Jan 11, 2022
3 tasks
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.

None yet

4 participants