Skip to content

Implement frustum culling support for skinned meshes #654

@adriengivry

Description

@adriengivry

Problem this feature should fix

Skinned meshes currently don't support frustum culling, as the mesh bounds might change over time.
They are completely ignored as of now:

if (frustum && desc.bounds.has_value() && !hasSkinningDescriptor)

Expected solution

We should evaluate potential implementations:

  • Adding a scale factor (e.g. x1, x2, x3...) for computed bounds on the model renderer?
  • Updating bounds in realtime as the animation is playing (probably way too costly)
  • Keeping frustum culling off?

Metadata

Metadata

Assignees

No one assigned

    Labels

    GraphicsGraphical featureOptimizationOptimization related stuff

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions