Page 1 of 1

Get mesh vertices and indices information from camera view

Posted: 08 Nov 2017, 01:32
by xbarc
I'm working on surface inspection via quadcopter. I need to determine which triangles on the mesh viewable by camera or inside of the camera view.

I do not have to use a camera especially. But I need to know which triangles (related vertices and indices information) on the mesh viewable like looking the mesh via camera from a certain point.

Is there any way to get this information?

Thanks.

Re: Get mesh vertices and indices information from camera view

Posted: 09 Nov 2017, 17:13
by coppelia
Hello,

you can't directly get that information. You would have to create a shape for each individual triangle in the original shape... which is practically slow and inconvenient. Then you'd have to render the scene with the render mode OpenGL, color coded handles.

Cheers