当前位置:网站首页>Open3d surface normal vector calculation

Open3d surface normal vector calculation

2022-07-04 21:44:00 dayuhaitang_ galaxy

One 、 brief introduction

In computer graphics 3D surface , Strictly speaking, there is no surface structure defined on the mathematical level , Because the surface graphics in the computer are generally composed of triangles or polygons , Therefore, the so-called normal vector of the surface is actually calculating the normal vector of each triangle or polygon . Besides , A great use of surface normal vector is to adjust the light intensity at different positions of the surface , So that the object is more real ( For more information, please refer to :OpenGL Learning notes —— light ( One )), This can be said to be common in many surface displays .

Two 、 Implementation code

For the related configuration process, please refer to the previous article :https://blog.csdn.net/dayuhaitang1/article/details/125269607?spm=1001.2014.3001.5502, Here is only the relevant source code .

原网站

版权声明
本文为[dayuhaitang_ galaxy]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207042046352875.html