DRosemei / RoMe

214 stars 26 forks source link

On the normal vector direction of mesh results #55

Closed gwy0o0 closed 5 days ago

gwy0o0 commented 3 weeks ago

Dear author, hello, I trained rome to get the mesh file in obj format. When I opened it with meshlab software, I found that its normal vector was inverse. Is the normal vector set in the code inverse? Is there any way to change the direction of the normal vector in the code? I look forward to your reply! Mesh results of the paper scene0655 EY1425O_I@3{Q@E 9J$D}A This is the result of scene0655 opened by meshlab software. ![Uploading 5NKWN0MLFJH]OXW8IJARA.png…]()

gwy0o0 commented 3 weeks ago

This is the result of scene0655 opened by meshlab software. It can be seen that the normal vector of mesh is inverse. 5NKWN0ML`FJH OXW8IJAR`A

DRosemei commented 6 days ago

@gwy0o0 仓库上的代码对bev的转换和对应mesh的转换还是很早以前的实验版本,很多旋转会比较麻烦。如果你只是想要旋转normal,看看是否用一些库手动转下?

gwy0o0 commented 6 days ago

3 NV2MZT~{$ U%M U6V22_I 你好,我在geometry.py中将原本代码替换为红框所示代码,使得角点顺序翻转,重新训练后得到的mesh文件法向量与论文一致。