bug: scatter doesn't interpolate vertex attributes

   2724   0   0
User Avatar
Member
71 posts
Joined:
Offline
version: 9.0.768

The scatter SOP correctly interpolates point attributes on the source geometry and creates the corresponding attribute on the scattered points. However, vertex attributes are not handled correctly. They should be created as point attributes.

A case where this is important is vertex uv's: the scattered points will not have uv's. Promoting the uv attribute to point before the scatter is a workaround, but will cause seam issues where vertex uv's are different on the same point. (yes, this can be fixed by pre-processing the source geometry with a VertexSplit, but it shouldn't be necessary).

It would also be nice if primitive attributes were handled correctly as well (i.e. transferred to scattered points). Promoting to point attributes has the same problem here as vertex attributes.

Attachments:
scatter_no_vertex_attrib.hipnc.gz (6.2 KB)

  • Quick Links