PointPickingEvent depth test

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

PointPickingEvent depth test

alanwsx
This post was updated on .
Hi,

I am using PointPickingEvent() to get the picked index of a dense human-face mesh.

Yet it seems that PointPickingEvent() sometimes picks the index that is far from the camera plane (when there are dense points on the near human-face plane), which is not what I want.

That means, when I want to select one point on the left human face, PointPickingEvent() sometimes give me a point on the right plane.

Is there any methods to avoid this happening? I searched but didn't get answers.

Thanks!
Shangxuan
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: PointPickingEvent depth test

alanwsx
Solved. Please refer to this link (in Chinese):

http://blog.csdn.net/wokaowokaowokao12345/article/details/51318859
Loading...