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

Add 'instance' transform #79

Closed
donmccurdy opened this issue Aug 26, 2020 · 1 comment · Fixed by #169
Closed

Add 'instance' transform #79

donmccurdy opened this issue Aug 26, 2020 · 1 comment · Fixed by #169
Labels
feature New enhancement or request package:functions
Milestone

Comments

@donmccurdy
Copy link
Owner

Given a model in which a particular mesh is repeated many times in the scene, with different transforms, output a model using EXT_gpu_mesh_compression to instance the mesh. Ideally with options for tiling the instances for better culling. Some ideas for sample models:

@donmccurdy donmccurdy added feature New enhancement or request package:functions labels Aug 26, 2020
@donmccurdy donmccurdy modified the milestones: Backlog, v0.6 Aug 26, 2020
@donmccurdy donmccurdy modified the milestones: Backlog, v0.7 Oct 18, 2020
@donmccurdy donmccurdy modified the milestones: v0.7, v0.8 Oct 19, 2020
@donmccurdy donmccurdy modified the milestones: v0.8, v0.9 Dec 8, 2020
@donmccurdy donmccurdy changed the title Add 'instance' lib and CLI function Add 'instance' transform Jan 14, 2021
@donmccurdy
Copy link
Owner Author

donmccurdy commented Jan 14, 2021

Steps:

  1. Gather groups of meshes that can be instanced, assuming a dedup pass has already been done.
  2. Split each group into cells, if that option is enabled.
  3. For each instance compute the transform
  4. Write batches ... to scene root? Use common parent for cells from the same group? To same parent as first instance in the batch?

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:functions
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant