Ha!<div> ;)<br><div>I don&#39;t know how to do it in VTK with OpenGL.</div><div><br></div><div>I went to the examples to see how to do it after reading David DeMarle&#39;s earlier post in this thread!</div><div>Maybe he can shed some light on it.</div>

<div>Gerrick<br><div><br><div class="gmail_quote">On Tue, Jan 19, 2010 at 1:55 PM, David Doria <span dir="ltr">&lt;<a href="mailto:daviddoria%2Bvtk@gmail.com">daviddoria+vtk@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div></div><div class="h5"><br><div class="gmail_quote">On Tue, Jan 19, 2010 at 2:43 PM, Gerrick Bivins <span dir="ltr">&lt;<a href="mailto:gbivins@objectreservoir.com" target="_blank">gbivins@objectreservoir.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Dave,<div>Are you suggesting that we don&#39;t need to use mesa for offscreen rendering if our graphics cards support it?</div><div>This is what I thought but the example for this (these are pretty new, correct?) still uses Mesa:</div>




<div>(<a href="http://www.vtk.org/Wiki/VTK_Examples_Off_Screen_Rendering" target="_blank">http://www.vtk.org/Wiki/VTK_Examples_Off_Screen_Rendering</a>)</div><div><br></div><div><br></div><div>Gerrick<div><div></div><div>


<br><br><div class="gmail_quote">On Mon, Jan 18, 2010 at 12:49 PM, David E DeMarle <span dir="ltr">&lt;<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I recommend against venturing down the mangled mesa path. First, its<br>
main use, that of providing offscreen rendering to supplement GPUs<br>
that lack it, is mostly obviated by recent GPUs. If your cards still<br>
lack support, it is far better to use Mesa&#39;s own OSMesa library.<br>
Secondly, neither the mesa nor VTK communities have supported it in<br>
several years.<br>
<font color="#888888"><br>
David E DeMarle<br>
Kitware, Inc.<br>
R&amp;D Engineer<br>
28 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-371-3971 x109<br>
</font><div><div></div><div><br>
<br>
<br>
On Mon, Jan 18, 2010 at 1:41 PM, Hassan Amin &lt;<a href="mailto:hassan.amin@nu.edu.pk" target="_blank">hassan.amin@nu.edu.pk</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt;  I set up various options regarding rendering and offscreen rendering<br>
&gt; in VTK, but it requires mangled mesa. I am using vtk 5.2.1 and ubuntu<br>
&gt; 9.1. I was wondering which packages on ubuntu will provide appropriate<br>
&gt; version of mesa for me. Currently, I am getting the following error<br>
&gt; when compiling vtk :<br>
&gt;<br>
&gt; [ 70%] Building CXX object<br>
&gt; Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.o<br>
&gt; /home/hassan/vision/VTK/Rendering/vtkOpenGLExtensionManager.cxx: In<br>
&gt; member function ‘virtual void (*<br>
&gt; vtkOpenGLExtensionManager::GetProcAddress(const char*))()’:<br>
&gt; /home/hassan/vision/VTK/Rendering/vtkOpenGLExtensionManager.cxx:270:<br>
&gt; error: ‘glXGetProcAddressARB’ was not declared in this scope<br>
&gt; make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.o]<br>
&gt; Error 1<br>
&gt; make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2<br>
&gt; make: *** [all] Error 2<br>
&gt;<br>
&gt; Any help in resolving this error will be appreciated.<br>
&gt;<br>
&gt; Best Wishes,<br>
&gt;<br>
&gt; --<br>
&gt; Dr. Hassan Amin<br>
&gt; Assistant Professor<br>
&gt; Head of Computer Science Department<br>
&gt; National University(NUCES)<br>
&gt; Peshawar Campus<br>
&gt; Pakistan<br>
&gt; Phone:0092-(0)91-111-128-128<br>
&gt; Email: <a href="mailto:hassan.amin@nu.edu.pk" target="_blank">hassan.amin@nu.edu.pk</a><br>
</div><div></div></div></blockquote></div></div></div></div></blockquote></div><div><br></div></div></div>Gerrick,<div><br>Yes, these are new, but so am I, so it doesn&#39;t mean they are correct/current :)<br><div><br></div>

<div>If you find a better/newer way to do it, please modify the example to reflect it. I wasn&#39;t trying to demonstrate using mesa, just using offscreen rendering. That was the only way I found how to do it. If mesa is no longer supported, we should definitely demonstrate how to do offscreen rendering without it.</div>


<div><br></div><div>Thanks,</div><div><br><font color="#888888">David</font></div></div>
<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>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div></div></div>