How to remove hidden points from point cloud using normal vectors (in matlab)?

谁说我不能喝 提交于 2019-12-25 01:56:17

问题


I have text file with point cloud data. This document contains six columns: x,y,z coordinates of points and nx,ny, nz - normal vector coordinate i.e.,

-2.27535 2.33442 12.8694 0.492013 -0.866115 -0.0881364 

Could anyone tell me how can I remove hidden points (which are located in the back surface or are not visible in the view) using normal vector? I'm using Matlab.I will appreciate every helpful tip.


回答1:


You probably refer to back face culling: you can determine, using dot product between the normal vector and the view direction whether the normal faces the viewer (negative dot-product) or faces away from the viewer (positive dot product).



来源:https://stackoverflow.com/questions/22645876/how-to-remove-hidden-points-from-point-cloud-using-normal-vectors-in-matlab

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!