<div dir="ltr">You can achieve this by creating two renderers and then for the second one just a smaller viewport (on top of the first one). I am assuming that you are showing two images / data at the same time. <div><br></div><div>There is no API (as far as I know) to help you with this task. </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 29, 2015 at 2:45 PM, Antonella Cascitelli <span dir="ltr"><<a href="mailto:lenlen1982@gmail.com" target="_blank">lenlen1982@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>Hi,<br></div>is it possible set the glScissor in vtk?<br></div>i.e. in vtkOpenGLCamera:<br><br>glViewport(lowerLeft[0], lowerLeft[1], usize, vsize);<br>glEnable(GL_SCISSOR_TEST);<br>glScissor(lowerLeft[0], lowerLeft[1], usize, vsize);<br><br></div>so seems that the scissor area is always the same of the viewport.<br></div>I want to render only a small rectangle area in the viewport like using scissor with opengl.<br><br></div>Thanks<span class="HOEnZb"><font color="#888888"><br><br></font></span></div><span class="HOEnZb"><font color="#888888">Antonella<br></font></span></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtk-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtk-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtk-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtk-developers</a><br>
<br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader         <br>| Kitware Inc.            <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div></div>
</div>