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
With the ported webgpu_modifier_curve example, moving the line curve with the control ports is not correctly detected by the renderer, where this geometry's existing position attribute is replaced. (the renderer tracks the original attribute and does not detect the new attribute).
Reproduction steps
Use geometry.setFromPoints() to change the vertices of an object.
No changes in resulting render.
exposed by webgpu_modifier_curve if available
Code
n/a
Live example
Screenshots
Version
168dev
Device
No response
Browser
Chrome
OS
Windows
The text was updated successfully, but these errors were encountered:
I'm not sure I would consider this issue as a bug anymore. Before #29696, buffer attributes were replaced which we do not recommend since we can't support dispose() methods on buffer attribute level. Overwritten attributes could eventually produce a memory leak.
Buffer attributes should be created with sufficient space so they can hold up upcoming data. Updating data means updating the existing buffer, not overwriting it. If a buffer attribute gets obsolete, dispose() must be called on the entire geometry and then created a new one.
WebGPURenderer does not have to support this use case even if WebGLRenderer does. The more strict behavior of WebGPURenderer might lead to better workflows on app level.
Description
With the ported
webgpu_modifier_curve
example, moving the line curve with the control ports is not correctly detected by the renderer, where this geometry's existing position attribute is replaced. (the renderer tracks the original attribute and does not detect the new attribute).Reproduction steps
exposed by
webgpu_modifier_curve
if availableCode
n/a
Live example
Screenshots
Version
168dev
Device
No response
Browser
Chrome
OS
Windows
The text was updated successfully, but these errors were encountered: