Good morning everyone !
I am trying to pick all the cells of a poly data viewed from a camera viewpoint, and I managed to put something together with a vtkOpenGLRenderer & the vtkOpenGLHardwareSelector. When I actually render and display the output of the Renderer before calling the HardwareSelector, its output is correct and I do get the seen cells.
In my application however, I do not need to display anything, I basically have a scene made of a camera and a polydata and I want to get the set of seen cells (view frustum + occlusion culling somehow) … using the OpenGL tools to rely on hardware acceleration would be a dream, but I cannot figure out the strategy to make it work “offscreen”.
Would anyone by any chance have any idea about this ?
Thank you very much in advance !
Thibault