aframe-react
aframe-react copied to clipboard
objLoader & gltfLoader not working
Similar to an issue previously reported (see it here), I am having trouble getting an obj and gltf model to render.
I worked off of the aframe-react boilerplate and
I have tried the following variations...
<Entity obj-model='obj: manikinxsmall.obj'/>
<Entity obj-model={{obj: 'manikinxsmall.obj'}}/>
<Entity gltf-model={{src: 'manikinxsmall.gltf'}}/>
<Entity gltf-model='src: manikinxsmall.gltf'/>
<!-- The two lines below were tested in conjunction -->
<Entity primitive="a-asset-item" id="manikin" src="manikinxsmall.gltf" />
<Entity gltf-model={{src: './manikinxsmall.gltf'}}/>
This is the error I when I try rendering the models:
About the models...
I verified that the gltf model is intact. It's a small file (7.8 MB)
The obj file is also relatively small (20.9 MB) and I was able to render it with vanilla HTML + Aframe.
Any thoughts on how to resolve this?
Did you ever find a solution to your problem?
Hi any news about your ( and mine) issue with Aframe-react Gltf ?
I'm having the same problem. I can't render gtlf models from my local machine or a cdn.