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

render with GLTF Camera not work #313

Open
wasabia opened this issue Sep 27, 2022 · 3 comments
Open

render with GLTF Camera not work #313

wasabia opened this issue Sep 27, 2022 · 3 comments
Labels

Comments

@wasabia
Copy link

wasabia commented Sep 27, 2022

select Camera001_Orientation

https://raw.githubusercontent.com/wasabia/three_dart_example/main/untitled.glb

@donmccurdy
Copy link
Owner

Comparing in Blender and https://sandbox.babylonjs.com/, it doesn't seem to me like this camera is in the correct orientation:

Screen Shot 2022-09-27 at 9 00 12 AM

@wasabia
Copy link
Author

wasabia commented Sep 27, 2022

image

image

image

blender and babylonjs vs three-gltf-viewer

@donmccurdy

@donmccurdy
Copy link
Owner

Thanks! I'll reopen this. I'm not sure what's happening yet, and whether it's a bug in the viewer, three.js, or simply a difference in adapting the glTF camera aspect ratio to the actual aspect ratio of the page.

@donmccurdy donmccurdy reopened this Oct 2, 2022
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

2 participants