-
-
Notifications
You must be signed in to change notification settings - Fork 221
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 model/material/hierarchy and information #18
Comments
I'd like to see this model hierchy added just so users can toggle visibility of the model components. Right now, F3D renders everything by default. However, complex models may be designed to only be viewed in an arbitrary configuration of components that's only a subset of all components present in the file. Example: An FBX file containing a character model with multiple attached alternative outfits. It may be possible that this could apply to materials and textures as well. Say, for instance: An object in a video game has multiple states represented by differing textures that are swapped programmatically. It would be nice to accurately view these assets in F3D with some simple visibility toggles on a hierarchical list. |
That's an interesting feature ! Could you share such a FBX file to see if it would be feasible ? |
Yep! Here is a freely available model of a living room in a variety of formats. |
That's an interesting feature indeed. |
UI to control that is another subject and would require imgui. We can just list block and provide a option to control wich block to show for starters. |
@AmazingMrX please create a dedicated issue for your idea :) |
Updated with more info |
Context
F3D is able to load many type of files. F3D relies on each individual importers to provide meta data information about the file. However, some importers are not great at providing such info.
Recently, a new API have been added to VTK Importers:
vtkImporter::GetSceneHierarchy
We could use it to recover information about the scene hierarchy.
Suggested Solution
vtkGLTFImporter::GetSceneHiearchy
to transition metadata to hierarchyNeeds #1742
Notes
more info here: https://gitlab.kitware.com/f3d/f3d/-/issues/174
The text was updated successfully, but these errors were encountered: