getTriArea may return -nan
Hello, I‘ve tried obj2pcd on ShapeNetSem and found a problem. The "getTriArea" function returned -nan only on one face among the 12k models. The model ID is wss.dba37de1080c048f4f32009f59473bea. I think this problem is due to the double precision. In sampler.h line 58, it is necessary to check the sign before applying sqrt.
Hi, Thank you for using the software, and the feedback! I just downloaded the models-OBJ.zip from ShapeNetSem website. But I cannot locate the obj file. Could you provide the file name of that obj file?
I see, it happened when 3 points of a triangle lies on the same line, which caused the area of the triangle become 0.
I see, it happened when 3 points of a triangle lies on the same line, which caused the area of the triangle become 0.
Sorry for the late reply. That's what I mean. The area is too tiny so that float number may be negative.