Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

objLoader & gltfLoader not working #115

Open
sfiddy opened this issue Mar 20, 2018 · 3 comments
Open

objLoader & gltfLoader not working #115

sfiddy opened this issue Mar 20, 2018 · 3 comments

Comments

@sfiddy
Copy link

sfiddy commented Mar 20, 2018

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:
image

About the models...

I verified that the gltf model is intact. It's a small file (7.8 MB)

image

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?

@williamtfalch
Copy link

Did you ever find a solution to your problem?

@l00f00
Copy link

l00f00 commented Dec 12, 2018

Hi any news about your ( and mine) issue with Aframe-react Gltf ?

@nries1
Copy link

nries1 commented Feb 24, 2020

I'm having the same problem. I can't render gtlf models from my local machine or a cdn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants