Replies: 1 comment
-
|
What does any of this have to do with this project? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When I use threejs to decode the gltf model and export as normal model, the output model has some invalid values. I checked this model through validator and get the following messages. How can I export a normal model?
{ "code": "VALUE_MULTIPLE_OF", "message": "Value 6 is not a multiple of 4.", "severity": 0, "pointer": "/bufferViews/0/byteStride" }, { "code": "VALUE_NOT_IN_RANGE", "message": "Value 3 is out of range.", "severity": 0, "pointer": "/bufferViews/1/byteStride" }, { "code": "UNEXPECTED_PROPERTY", "message": "Unexpected property.", "severity": 1, "pointer": "/materials/0/pbrMetallicRoughness/metallicRoughnessTexture/channel" }, { "code": "MESH_PRIMITIVE_ACCESSOR_UNALIGNED", "message": "Vertex attribute data must be aligned to 4-byte boundaries.", "severity": 0, "pointer": "/meshes/0/primitives/0/attributes/NORMAL" }, { "code": "MESH_PRIMITIVE_GENERATED_TANGENT_SPACE", "message": "Material requires a tangent space but the mesh primitive does not provide it. Runtime-generated tangent space may be non-portable across implementations.", "severity": 1, "pointer": "/meshes/0/primitives/0/material" }Beta Was this translation helpful? Give feedback.
All reactions