Skip to content

Bounding sphere of text is never updated, resulting in incorrect frustum culling #5311

@mrxz

Description

@mrxz

Description:
The text component generates geometry using (a fork of) three-bmfont-text. The first frame that the text mesh is part of the scene graph its bounding sphere will be computed for frustum culling. Once computed any subsequent change that updates the geometry doesn't update the bounding sphere. This can lead to the text being frustum culled incorrectly if the text geometry ended up larger than it initially was.

Working on a fix for this, but creating this ticket as it spans multiple repositories

  • A-Frame Version: master (7663c2f)
  • Platform / Device: Any
  • Reproducible Code Snippet or URL:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions