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

What should i do when I use OrthographicCamera to show 3D gltf model ? #48

Closed
peerless2012 opened this issue May 21, 2021 · 3 comments
Closed

Comments

@peerless2012
Copy link

No description provided.

@mgsx-dev
Copy link
Owner

please use libgdx discord to get help : https://libgdx.com/community/

short answer: nothing, you simply have to use an OrthographicCamera instead of PerspectiveCamera

@peerless2012
Copy link
Author

When i change the camera in GLTFDemo from PerspectiveCamera to OrthographicCamera, the model is so small, and how can i do to zoom it to fit the window ?

image

@peerless2012
Copy link
Author

I use OrthographicCamera zoom to solve , and the zoom is a very small value.

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