Extending the scene-graph API - Model manipulation #1817
-
I'm currently interested in real-time 3Dmodel web manipulation and because we are using
Studying the code and the question made by @aviggiano I wondered about the starting point on implementing this idea. Since it deals with lower level manipulation, I need a little help understanding if it's better learning three.js, 3DOM or if it's easier to use/extend the already implemented API somehow. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Fantastic! These are definitely capabilities we want to enable with the scene-graph API and help would be much appreciated. You'll notice 3DOM is no longer its own package, which is because we simplified it considerably and put all the logic into the scene-graph mixin, which should make this work easier. I would recommend reviewing the three.js GLTFLoader in particular and how we integrate that into our scene-graph API. Currently we only expose materials, so this will involve exposing nodes as well. The main thing is to ensure our API is based on the GLTF itself and abstracts the specifics of the three.js implementation. You might want to start a PR with just a design doc and we can do review and have back-and-forth there before you start implementing. |
Beta Was this translation helpful? Give feedback.
Fantastic! These are definitely capabilities we want to enable with the scene-graph API and help would be much appreciated. You'll notice 3DOM is no longer its own package, which is because we simplified it considerably and put all the logic into the scene-graph mixin, which should make this work easier. I would recommend reviewing the three.js GLTFLoader in particular and how we integrate that into our scene-graph API. Currently we only expose materials, so this will involve exposing nodes as well. The main thing is to ensure our API is based on the GLTF itself and abstracts the specifics of the three.js implementation.
You might want to start a PR with just a design doc and we can do re…