How to access the hierarchy and then Three.js changes each object. #4712
bigbea1r
started this conversation in
Show and tell
Replies: 1 comment
-
What kind of edits do you want to do? If it's just materials, you can use our materials API: https://modelviewer.dev/examples/scenegraph/#pickMaterialExample Where did |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a task. Change the model imported into modelviewer and editor it in Three.js. How to do it? I need this in order to make an editor based on modelviewer. I read all the documentation, but found only a few items:
You are also welcome to hack/fork us. You can use mvElement[Object.getOwnPropertySymbols(mvElement).find(e => e.description === 'scene')]; to get access to our internal three.js scene and do whatever you want. And what you link to Post Process Effects
The code currently looks like this:
<title>Editor Table</title> <script type="module" src="https://ajax.googleapis.com/ajax/libs/model-viewer/3.4.0/model-viewer.min.js"></script>Beta Was this translation helpful? Give feedback.
All reactions