Page 1 of 1

Compute Normals on PTX

Posted: Wed Feb 17, 2021 3:32 pm
by PMDevine
Hello,

I am calculating normals on a structured PTX cloud using the COMPUTE_NORMALS command. It seems like it does a really good job, but the normals are inverted. I always need to go into the GUI and "invert normals" for them to visually seem correct (based off the white/black color). It seems that the normals are outward facing instead of inward facing like I would expect them to be. Is there any way to specify that the normals point inward using the COMPUTE_NORMALS command? Or is there any way to invert the normals in command line?

Thanks,
Phil

Re: Compute Normals on PTX

Posted: Sat Feb 20, 2021 6:36 pm
by daniel
Normally, we prefer normals to point outwards by default (for most objects). But of course it doesn't work for indoor scans for instance.

And that's silly, but currently there's no way to invert normals. I've added an option '-INVERT_NORMALS' to the command line of the latest 2.12.alpha version.

Re: Compute Normals on PTX

Posted: Tue Feb 23, 2021 6:49 pm
by PMDevine
Awesome, thanks so much, Daniel!

Re: Compute Normals on PTX

Posted: Thu Feb 25, 2021 9:35 pm
by daniel
The latest 2.12.alpha version is now online (previously, this new INVERT_NORMALS option was not active!)