Repository navigation
AssimpImporter: Support multiple meshes per node - #68
Closed
ikalevatykh wants to merge 1 commit into
Closed
ikalevatykh wants to merge 1 commit into
ikalevatykh wants to merge 1 commit into
Conversation
Owner
|
Wow, you were fast :) So, if I see correctly, this is the same as I outlined in #66 (comment) (and as documented in TinyGltfImporter), right? If so, can you:
|
Owner
|
@ikalevatykh any chance you could have a look at the tests & docs? It would be great to have this in for the release, but I probably won't be able to find time to add those myself. Thank you! |
Contributor
Author
|
@mosra I had to switch to another task but I will do it Thursday |
Owner
|
You're great, thanks! |
Owner
|
Merged a variant of this in #81. Thanks for providing the initial version! 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
If a node has several meshes, creates one Object3D per mesh.
object3DCount() query returns a number of all nodes extended with a number of extra nodes for each additional mesh.
object3DForName() points to the first object containing the first mesh,
object3DName() returns the same name for all objects in the given sequence.
doObject3D() for multi-meshes returns node for first mesh as usual but also returns indices of extra meshes nodes as children.