Skip to content

Think about Factoring out for loops / updates in renderer by caching the object list on change of child objects in the scene? #20

Description

@vade

I think i see a win by factoring out object traversal on ever render tick, by caching the objects in the root scene on object parenting changes.

Today the Renderer in Satin does expensive calls to update / updateLists / updateScene

Theres important work to do, like calling update on each object so uniforms are correct, but the recursive gather of the child objects is redundant, and could be factored out so the render has no recursive gather loops, but rather just iterates over known IBL scenes, Renderables and Objects without needing to test a cast?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions