Page 1 of 1

multiple scalar fields

Posted: Wed Mar 09, 2022 10:41 am
by stefano.ponti
Dear Daniel,
I followed the topics concerning the "interpolate from other entity" for scalar fields, but I can't solve my issue.
I would need to have 4 different scalar fields in the same point cloud because I will need to do some arithmetics on
these fields which are not RGB but floats.
Is there a way to do it?
Thank you very much,
Stefano

Re: multiple scalar fields

Posted: Thu Mar 10, 2022 7:19 am
by daniel
You can have as many scalar fields as you want on a point cloud. For SFs, what matters is that their name is unique. You can rename the active SF anytime (with Edit > Scalar fields > Rename).

In your case, if your original entity has already multiple SFs, you will need to activate each SF one by one, and then call the 'Interpolate from SF' method each time. Else, you can create an empty scalar field (Edit > Scalar fields > Add constant SF) with zeros, then copy the values of one SF into this new SF (with the SF arithmetics tool) and so on.

Re: multiple scalar fields

Posted: Fri Mar 11, 2022 10:32 am
by stefano.ponti
Thank you very much Daniel, it worked!
Stefano