<div dir="ltr">Hmm something is really odd there. 16600 points/normals is trivially small. Even if you had 100 actors each with 16600 points that would be small. There are a couple ways to debug something like this. One is to go old school and sprinkle<div><br></div><div><div> vtkOpenGLCheckErrorMacro("failed after something");</div></div><div><br></div><div>throughout the code to see where the issue is. Another option on windows is to use </div><div><br></div><div><a href="https://github.com/dtrebilco/glintercept">https://github.com/dtrebilco/glintercept</a><br></div><div><br></div><div>which produces a log showing the specific call that caused the problem and when run in the debugger it will break on opengl errors. There are other tools with similar capabilities available as well. </div><div><br></div><div>If you can boil it down to something smaller I could try it out, my dev systems are all Qt4 though...</div><div><br></div><div>Ken</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 23, 2016 at 11:37 AM, Richard Frank <span dir="ltr"><<a href="mailto:rickfrank@me.com" target="_blank">rickfrank@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>There are 16600 points and 16600 normals in each model, I'm using Qt 5.5 and there are four of these models - 1 in each renderview - (Sagital, Axial, Coronal, etc). Each model is composed of surfaces created with triangle strips.</div><div><br></div><div>Each model contains a number of actors for each surface, (variable, depends on anatomy) put together into an assembly.</div><div><br></div><div>It's a medical application. Works fine in VTK 6.3.0 </div><div><br></div><div>NVidia quadro K5200<br>Graphics Card should be beefy enough.</div><div><br></div><div>Rick</div><div><br></div><div><br>On Feb 22, 2016, at 09:44 PM, Ken Martin <<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>> wrote:<br><br></div><div><blockquote type="cite"><div><div dir="ltr">Out of memory is an unusual one. Maybe the mesh is too big to load all at once in the new backend. How big is the mesh you are trying to render (number of points, number of triangles) and does it use cell colors or cell normals? That would help me get a feel if it is really just exceeding what the card can handle.<div><br></div><div>Thanks</div><div>Ken</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 22, 2016 at 6:50 PM, Richard Frank <span dir="ltr"><<a href="mailto:rickfrank@me.com" target="_blank">rickfrank@me.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 0.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br> <br> I get the following errors ( and my fairly complex polygon mesh fails to render ) when using VTK 7.0.<br> ERROR: In<br> <br> \vtk770\Rendering\OpenGL2\vtkOpenGLPolyDataMapper.cxx, line 1440<br> vtkOpenGLPolyDataMapper (0000016618EFD490): failed after UpdateShader 1 OpenGL errors detected<br> 0 : (1282) Invalid operation<br> <br> <br> <br> ERROR: In \vtk770\Rendering\OpenGL2\vtkOpenGLActor.cxx, line 91<br> vtkOpenGLActor (0000016619E228B0): failed after Render 1 OpenGL errors detected<br> 0 : (1285) Out of memory<br> <br> <br> This is code is " works " fine in 6.3.0.<br> <br> I'm using an NVidia quadro K5200 with 8G.<br> <br> Any tips on how to debug this?<br> Thanks<br> <br> Rick<br> <br> <br> Sent from my iPad<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> Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br> <br> Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=vtkusers</a><br> <br> Follow this link to subscribe/unsubscribe:<br> <a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br></blockquote></div><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div>Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br><a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971</a><div><br></div><div><span style="font-size:10pt;font-family:'tahoma',sans-serif">This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message. Thank you.</span></div></div></div></font></span></div></div></blockquote></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Ken Martin PhD<div>Chairman & CFO<br>Kitware Inc.<br>28 Corporate Drive<br>Clifton Park NY 12065<br>518 371 3971<div><br></div><div><span style="font-size:10pt;font-family:Tahoma,sans-serif">This communication,
including all attachments, contains confidential and legally privileged
information, and it is intended only for the use of the addressee. Access to this email by anyone else is
unauthorized. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken in reliance on it is prohibited and may be
unlawful. If you received this communication in error please notify us
immediately and destroy the original message.
Thank you.</span></div></div></div>
</div>