Get mesh vertices and indices information from camera view

Typically: "How do I... ", "How can I... " questions
Post Reply
xbarc
Posts: 11
Joined: 01 Apr 2016, 06:06

Get mesh vertices and indices information from camera view

Post 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.

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: Get mesh vertices and indices information from camera view

Post 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

Post Reply