The pit of Aframe loading the gltf models

The pit of Aframe loading the gltf models

 

 

A-frame

big pits of load gltf model to aframe

the first one

You should install the "live server" rather than debug in the VSC, which was reffered in the official web site of aframe.

the second one

you only need to import the aframe js, no need the jquery and other js, but may be some difference between the different version of Aframe. for instance:

in the 1.3 , it will load the texture autoly, which showed fellow:
enter description here

but in the 1.4.1 the texture will note load, as follow:
enter description here

the third one

you should move the scene by roating of longen the scene, because of maybe the position of the model is not property.

the fouth

you should wait some time to wait the loading process of the model.

the fiften

this is a big pit: maybe the gltf model is note working of invalid.

posted @ 2023-03-08 22:53  天空-青岛  阅读(9)  评论(0编辑  收藏  举报