GLTF model separation with vertex groups and triggering individual scenario when pressed #4133
Unanswered
Whiteblodd
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Our API is material-based, so I'd recommend authoring your file in such a way that each region you want independently-selectable has its own glTF material. Then you can use materialFromPoint to identify the selected region. See https://modelviewer.dev/examples/scenegraph/#pickMaterialExample |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm developing an anatomical human model, and I want to make a walk thru the individual body parts with changing textures, camera views, and scene center point, with the ability to move thru the levels of interaction.
I am wondering how I can implement my body parts separation on vertex groups as user interaction to dive into the model.
Is there any way to take this data from blender and import it into the viewer as instances?
How I can identify a user clicking on a certain part of the body?
Beta Was this translation helpful? Give feedback.
All reactions