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

GLTFExport error : unsupported 2d coordinates for the geometry position #27

Open
ogrergo opened this issue May 8, 2018 · 1 comment

Comments

@ogrergo
Copy link

ogrergo commented May 8, 2018

The gltf validator raise a MESH_PRIMITIVE_ATTRIBUTES_ACCESSOR_INVALID_FORMAT for each text primitve.

I was able to export it after adding a 0 z-coordinate for each position.
Maybe add an option flag to make the geometry buffer serializable ? (use Vec3 instead of Vec2 ?)

@donmccurdy
Copy link
Contributor

Are you using THREE.GLTFExporter here? Note that while the geometry could be made serializable, the shader cannot be exported to glTF.

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

2 participants