[vtk-developers] Scissor in vtkOpenGLCamera

Antonella Cascitelli lenlen1982 at gmail.com
Thu Oct 29 14:45:30 EDT 2015


Hi,
is it possible set the glScissor in vtk?
i.e. in vtkOpenGLCamera:

glViewport(lowerLeft[0], lowerLeft[1], usize, vsize);
glEnable(GL_SCISSOR_TEST);
glScissor(lowerLeft[0], lowerLeft[1], usize, vsize);

so seems that the scissor area is always the same of the viewport.
I want to render only a small rectangle area in the viewport like using
scissor with opengl.

Thanks

Antonella
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20151029/fcabfdd2/attachment.html>


More information about the vtk-developers mailing list