Skip to content

Support InstancedMesh for LayoutComponents #7

@kalegd

Description

@kalegd

Initial thoughts

  • Support a new parameter called instanced
  • If instanced is true, then all components under the same parent with the same geometry will be instanced
  • All instanced components will use MeshBasicMaterial with a white color, using InstancedMesh.setColorAt() to configure color
  • Parents control the instances, when a child is added or removed, they are supplied with an instance or have it taken away
  • We can have a global repository of geometries, and normalize geometry dimensions and then update the scale of the instanced mesh to provide the correct size

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions