donmccurdy/glTF-Transform

Roadmap for '@gltf-transform/view' package

Opened this issue · 0 comments

I've moved @gltf-transform/view from the separate repository (https://github.com/donmccurdy/glTF-Transform-View) where it was incubated, into this monorepo. This issue is intended to track its missing features.

Geometry

  • SkinnedMesh
  • triangle fan
  • triangle strip

Animation

Currently the bindings ignore animation. Proposed API:

const documentView = new DocumentView(document);
const animationDef = document.getRoot().listAnimations()[0];
const animation = documentView.view(animationDef); // THREE.AnimationClip

Will need to decide how to handle keyframe targeting. By name, with a workaround for duplicate names? By UUID, with some way of knowing UUID won't change in update cycle?

Draft:

Extensions

P0:

  • KHR_draco_mesh_compression
  • KHR_mesh_quantization
  • KHR_materials_*
  • KHR_texture_basisu
  • KHR_texture_transform
  • EXT_meshopt_compression
  • EXT_texture_webp

P1:

  • KHR_lights_punctual
  • KHR_materials_emissive_strength

P2:

  • KHR_materials_iridescence
  • KHR_materials_variants
  • EXT_mesh_gpu_instancing

Out of scope:

  • KHR_materials_pbrSpecularGlossiness