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

Roadmap for '@gltf-transform/view' package #1400

Open
13 of 16 tasks
donmccurdy opened this issue May 5, 2024 · 0 comments
Open
13 of 16 tasks

Roadmap for '@gltf-transform/view' package #1400

donmccurdy opened this issue May 5, 2024 · 0 comments
Labels
feature New enhancement or request package:view

Comments

@donmccurdy
Copy link
Owner

donmccurdy commented May 5, 2024

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New enhancement or request package:view
Projects
None yet
Development

No branches or pull requests

1 participant