Skip to content

Performance issue using animated assets #87

Closed
@stlemme

Description

@stlemme

When using something like

<transform rotation="0 -0.9322087168693542 -0.36192089319229126 1.1212045627989415" translation="4.156185150146484 -3.1172001361846924 7.501348495483398" scale="0.5 0.5 0.5" id="ship_tf0"></transform>
<model visible="true" transform="#ship_tf0" src="assets/spaceship.xml#asset"></model>

and updating the rotation and translation attribute once per frame for animation purposes, it causes the invalidation of the whole asset, which ultimately results in a re-computation of the mesh's bbox.

xml3d-asset-performance

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions