donmccurdy / glTF-Transform

glTF 2.0 SDK for JavaScript and TypeScript, on Web and Node.js.
https://gltf-transform.dev
MIT License
1.3k stars 145 forks source link

feat(extensions): Add KHR_accessor_float64 #1417

Open donmccurdy opened 1 month ago

donmccurdy commented 1 month ago

Work in progress. Implements basic I/O for KHR_accessor_float64. Further work will be required to ensure that all features of the /extensions and /functions modules support f64 accessors.

Includes two commands in the CLI (temporary, not meant for production release) to convert between f32 and f64 accessors:

# convert f32 -> f64
gltf-transform f64 scene.glb scene_f64.glb

# convert f64 -> f32
gltf-transform f32 scene_f64.glb scene_f32.glb

Related:

donmccurdy commented 1 month ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @donmccurdy and the rest of your teammates on Graphite Graphite