Model not working with ScenegraphLayer / SimpleMeshLayer
#9567
Replies: 3 comments
-
|
Have you made progress on this? |
Beta Was this translation helpful? Give feedback.
-
|
@jacquelinehyphae I believe you need to modify the lighting value here, on my end, I have not resolved it but LLM has proposed I mess with the coordinate space that trimesh is generating it in. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, modifying the lighting was one of the first thing I tried. Unfortunately it did not have an effect. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a model that renders perfectly in https://3dviewer.net/ and https://gltf-viewer.donmccurdy.com/ .
I have tried converting it to GLB, GLTF and OBJ with easy success, none of them render, but it does seem like it loads the object in.
I figure this has to do something with the scale or the displacement of the model in space, but no matter how diligently I debug, I cannot locate the model in the deck space. I have tried messsing with
getPosition,getScale, andsizeScaleto find the model in the deck space but have failed at all approaches.Any advice on how to debug this further would be appreciated.
Here is a reproduction: https://codepen.io/charlieforward9/pen/mydgwWX
Beta Was this translation helpful? Give feedback.
All reactions