How to place SPS particles on the surface of a mesh like PCS particles use Surface Color from Mesh Texture

PCS has an addSurfacePoints function that can use the surface color of mesh textures

Surface Color from Mesh Texture

How should SPS be implemented?

Because PCS does not support the type particleTexture attribute.

You could take a model from the way it is implemented in the PCS :


There are other ways?

Not that I know of.

Let’s see if others can help here.

1 Like

Thank you for your reply :smile:

Perhaps it can be achieved by replacing PointsCloud?

I think SPS is more used than PCS, so it would make more sense to update this class. But if someone is willing to update the PCS class, I guess we can accept a PR too!