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 orthographic view #245

Merged
merged 10 commits into from
Oct 29, 2024
Merged

Add orthographic view #245

merged 10 commits into from
Oct 29, 2024

Conversation

slimbuck
Copy link
Member

Fixes: #220

This PR implements orthographic camera mode.

Orthographic mode is set when user selects one of the axis-aligned views and snaps back to perspective mode when the user orbits the camera.

Screenshot 2024-10-29 at 11 47 42

Notes:

  • gizmos don't currently work correctly in orthographic mode. a followup PR will update to the latest version of playcanvas engine which will address this issue.

@slimbuck slimbuck added the enhancement New feature label Oct 29, 2024
@slimbuck slimbuck requested a review from a team October 29, 2024 11:50
@slimbuck slimbuck self-assigned this Oct 29, 2024
@slimbuck slimbuck merged commit c243ca0 into playcanvas:main Oct 29, 2024
2 checks passed
@slimbuck slimbuck deleted the ortho-dev branch October 29, 2024 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add orthographic view
2 participants