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

GLTFLoader: Node does not support multiple references #14875

Closed
donmccurdy opened this issue Sep 6, 2018 · 0 comments · Fixed by #16890
Closed

GLTFLoader: Node does not support multiple references #14875

donmccurdy opened this issue Sep 6, 2018 · 0 comments · Fixed by #16890

Comments

@donmccurdy
Copy link
Collaborator

Per KhronosGroup/glTF#1433, a single node can reference up to 1 mesh, 1 camera, AND 1 light, not OR. Our current implementation picks one and ignores the others. So if a node references a camera and a light, we should just turn it into a THREE.Group. Also note from that thread that a node referencing a mesh could also be a joint, in which case we need to output Bone > Mesh.

Example: https://github.com/KhronosGroup/glTF/files/2317078/mesh-camera.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants