You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On previous version of Three.JS, ( r162 havnt tested between then and now ) ,we were able to replace an entire instancedgeometry attribute with a new length and set the instanceCount to a superior value
This is a valuable feature for performances if you play with huge dynamic instanced geometry that increments count over time and allows to first allocate a smaller buffer then grow with a safe multiple to limit the size of the buffer
But this also limits flexibility of building geometries by a lot
In both WebGL and WebGPU back end it now breaks the renderer :
The text was updated successfully, but these errors were encountered:
Samsy
changed the title
Replacing an instancebuffer attributes break the app
Replacing a geometry instanced attributes with a superior length break the renderer
Dec 19, 2024
Samsy
changed the title
Replacing a geometry instanced attributes with a superior length break the renderer
Replacing a geometry instanced attribute with a superior length break the renderer
Dec 19, 2024
Samsy
changed the title
Replacing a geometry instanced attribute with a superior length break the renderer
Replacing a geometry instanced attribute by another with a superior length break the renderer
Dec 19, 2024
Samsy
changed the title
Replacing a geometry instanced attribute by another with a superior length break the renderer
Replacing an attribute of a geometry instanced by another new attribute with a superior length break the renderer
Dec 20, 2024
Description
On previous version of Three.JS, ( r162 havnt tested between then and now ) ,we were able to replace an entire instancedgeometry attribute with a new length and set the instanceCount to a superior value
This is a valuable feature for performances if you play with huge dynamic instanced geometry that increments count over time and allows to first allocate a smaller buffer then grow with a safe multiple to limit the size of the buffer
But this also limits flexibility of building geometries by a lot
In both WebGL and WebGPU back end it now breaks the renderer :
Look at the switchArray function
Live example
The text was updated successfully, but these errors were encountered: