<div class="gmail_quote">On Fri, Jun 22, 2012 at 12:30 PM, Cory Quammen <span dir="ltr"><<a href="mailto:cquammen@cs.unc.edu" target="_blank">cquammen@cs.unc.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Sigh. Nothing like removing useful features from a widely used API for<br>
no good (in my mind) reason.<br>
<br>
This page has information about the ARB_compatibility extension as<br>
implemented by NVIDIA:<br>
<br>
<a href="http://developer.nvidia.com/opengl-driver" target="_blank">http://developer.nvidia.com/opengl-driver</a><br>
<br>
Perhaps VTK needs to load this extension to maintain the use of display lists?<br></blockquote><div><br></div><div>That might be. What is interesting that if driver load the core profile then I would expected that nothing shows up. In your app can you try to load this extension using vtkOpenGLExtensionManager?</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Cory<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Fri, Jun 22, 2012 at 11:58 AM, Oleg Koren <<a href="mailto:koren@curefab.com">koren@curefab.com</a>> wrote:<br>
> Hello,<br>
><br>
> I think, now I know the root of the problem. Great thanks for the suggestion<br>
> to run an OpenGL logger. My log boils down to the following:<br>
><br>
> glColor3f(1.0f, 0.0f, 0.0f);<br>
> glDeleteLists(1,1);<br>
> glGenLists(1);<br>
> glNewList(1,GL_COMPILE);<br>
> glDisable(GL_LIGHTING);<br>
> glBegin(GL_LINE_STRIP);<br>
>        glVertex3f(0.000000,0.000000,0.000000);<br>
>        glVertex3f(1.000000,0.000000,0.000000);<br>
>        glVertex3f(1.000000,1.000000,0.000000);<br>
>        glVertex3f(0.000000,1.000000,0.000000);<br>
>        glVertex3f(0.000000,0.000000,0.000000);<br>
> glEnd();<br>
> glEnable(GL_LIGHTING);<br>
> glEndList();<br>
> glCallList(1);<br>
><br>
> glColor3f(1.0f, 1.0f, 0.0f);<br>
> glDeleteLists(2,1);<br>
> glGenLists(1);<br>
> glNewList(2,GL_COMPILE);<br>
> glDisable(GL_LIGHTING);<br>
> glBegin(GL_LINE_STRIP);<br>
>        glVertex3f(0.000000,0.000000,0.000000);<br>
>        glVertex3f(0.000000,1.000000,0.000000);<br>
>        glVertex3f(0.000000,1.000000,1.000000);<br>
>        glVertex3f(0.000000,0.000000,1.000000);<br>
>        glVertex3f(0.000000,0.000000,0.000000);<br>
> glEnd();<br>
> glEnable(GL_LIGHTING);<br>
> glEndList();<br>
> glCallList(2);<br>
><br>
> and this actually doesn't work. Which is, I guess, because lists are<br>
> deprecated since OpenGL 3.0 and should receive very limited support by now,<br>
> if any. Removing all calls to list functions does the trick.<br>
><br>
> That means, one should always set ImmediateModeRenderingOn on a<br>
> vtkPolyDataMapper. Immediate rendering mode disables OpenGL lists.<br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://vtk.1045678.n5.nabble.com/Rendering-of-vtkPolyData-broken-on-Nvidia-systems-tp5714114p5714147.html" target="_blank">http://vtk.1045678.n5.nabble.com/Rendering-of-vtkPolyData-broken-on-Nvidia-systems-tp5714114p5714147.html</a><br>

> Sent from the VTK - Dev mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
><br>
<br>
<br>
<br>
</div></div><div class="im HOEnZb">--<br>
Cory Quammen<br>
Research Associate<br>
Department of Computer Science<br>
The University of North Carolina at Chapel Hill<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtk-developers" target="_blank">http://www.vtk.org/mailman/listinfo/vtk-developers</a><br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer         <br>| Kitware Inc.            <br>| <a href="http://www.kitware.com">www.kitware.com</a>    <br>