Closed jasan-s closed 2 years ago
I download the Adam Head 3d model .gltf
.gltf
I then used the following command npx gltfjsx adamHead.gltf -T draco to generate .js and transformed .glb file
npx gltfjsx adamHead.gltf -T draco
.js
.glb
The glb seems fine(viewed in blender), the issue seems with the generated JS.
The issue: some of the models parts are not correctly positioned. (See attached image)
am i doing something incorrectly?
try a higher precision, it cuts floats off at 2 digits by default.
Thanks @drcmda that fixed it :)
I download the Adam Head 3d model
.gltf
I then used the following command
npx gltfjsx adamHead.gltf -T draco
to generate.js
and transformed.glb
fileThe glb seems fine(viewed in blender), the issue seems with the generated JS.
The issue: some of the models parts are not correctly positioned. (See attached image)
am i doing something incorrectly?