THREE.GLTFLoader Model Invisible?

I have been attempting to get a bush model with a texture to load into a scene. I have made a very simple test project http://tinyurl.com/yxbqo7tg . I don’t see any errors, however it doesn’t seem to show any models in the scene.

Hopefully someone can see where my mistake is, I am sure it is something simple.

using the vscode previewer for GLTF it shows the model working

The example code you shared is loading for me, just had to zoom out a little bit. Do you see any network errors in the JS console? You may need to run a local server rather than just opening the HTML file directly in the browser.

33%20PM

This was extremely helpful, and also humbling to know that when i tried to simplify my environment it actually hurt me. Thank you so much for helping.

1 Like