ossos icon indicating copy to clipboard operation
ossos copied to clipboard

demo resourses not work in example htmls

Open sdarpeng opened this issue 3 years ago • 2 comments

I cloned the res pack and found some of them works well but more of them even not work.

1,works well: tina / ligerZero / toru / trex / vegeta / xboxavatar_dehvor

2, works,but renders only one part of the gltf.scene ahsoka_tano / cattus / tyranitar all these 3 gltf files has moran than one part , the gltf parse function ignored the other parts?

3, not work 1),at_rt /cherubbotpm1 / gine / jinx / ronin / everything is OK in blender but shows the following error: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'idx') Uncaught (in promise) SyntaxError: Unexpected token a in JSON at position 6 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'joints')

2), readplayerme everything is OK in blender but shows the following error: UtilArm.js:34 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getSkin')

3),companioncube / sword_war gltf file has no amature and it shows error: UtilArm.js:34 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'getSkin')

4), suzanne gltf file can not importted into blender and it shows the following error: Uncaught (in promise) SyntaxError: Unexpected token a in JSON at position 6

sdarpeng avatar Dec 02 '22 07:12 sdarpeng

I find out maybe something wrong in threejs/lib/UtilGltf2.js

image

while the sub-objects of gltf file >1, there need another parser to resolve file, but failed. This may caused gltf parts disappeared.

image

sdarpeng avatar Dec 06 '22 13:12 sdarpeng

This is very old, new work in in ossos_next, so this can probably be closed.

trusktr avatar Apr 25 '24 04:04 trusktr