Skip to content

Load unique geometries #43

Description

@NoxFly

For now, each Actor loads its own geometry. This is great, but if multiple actors have the same geometry, it becomes heavy to load, while we could load it once and share it to newer actors that need it.

Issue :
This is easy to resolve for predefined simple shape classes like Cube, Sphere etc... if we store the geometry in a map with the key being the name of the geometry.

  • What about custom object files loaded from file from end users ?
    • How to recognize it has already been requested to load from this file before ?
    • If 2 different files have the same content ?
    • And if we ask to load from direct buffer ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    coreThis feature is part of the core of the enginedevelopmentFeature to develop

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions