multiple scalar fields

Feel free to ask any question here
Post Reply
stefano.ponti
Posts: 4
Joined: Wed Mar 09, 2022 10:33 am

multiple scalar fields

Post 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
daniel
Site Admin
Posts: 7717
Joined: Wed Oct 13, 2010 7:34 am
Location: Grenoble, France
Contact:

Re: multiple scalar fields

Post 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.
Daniel, CloudCompare admin
stefano.ponti
Posts: 4
Joined: Wed Mar 09, 2022 10:33 am

Re: multiple scalar fields

Post by stefano.ponti »

Thank you very much Daniel, it worked!
Stefano
Post Reply