<br><div class="gmail_quote">On Tue, Jan 19, 2010 at 2:43 PM, Gerrick Bivins <span dir="ltr"><<a href="mailto:gbivins@objectreservoir.com">gbivins@objectreservoir.com</a>></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'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 class="h5">
<br><br><div class="gmail_quote">On Mon, Jan 18, 2010 at 12:49 PM, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com" target="_blank">dave.demarle@kitware.com</a>></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'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&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 <<a href="mailto:hassan.amin@nu.edu.pk" target="_blank">hassan.amin@nu.edu.pk</a>> wrote:<br>
> Hi,<br>
><br>
> I set up various options regarding rendering and offscreen rendering<br>
> in VTK, but it requires mangled mesa. I am using vtk 5.2.1 and ubuntu<br>
> 9.1. I was wondering which packages on ubuntu will provide appropriate<br>
> version of mesa for me. Currently, I am getting the following error<br>
> when compiling vtk :<br>
><br>
> [ 70%] Building CXX object<br>
> Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.o<br>
> /home/hassan/vision/VTK/Rendering/vtkOpenGLExtensionManager.cxx: In<br>
> member function ‘virtual void (*<br>
> vtkOpenGLExtensionManager::GetProcAddress(const char*))()’:<br>
> /home/hassan/vision/VTK/Rendering/vtkOpenGLExtensionManager.cxx:270:<br>
> error: ‘glXGetProcAddressARB’ was not declared in this scope<br>
> make[2]: *** [Rendering/CMakeFiles/vtkRendering.dir/vtkOpenGLExtensionManager.o]<br>
> Error 1<br>
> make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2<br>
> make: *** [all] Error 2<br>
><br>
> Any help in resolving this error will be appreciated.<br>
><br>
> Best Wishes,<br>
><br>
> --<br>
> Dr. Hassan Amin<br>
> Assistant Professor<br>
> Head of Computer Science Department<br>
> National University(NUCES)<br>
> Peshawar Campus<br>
> Pakistan<br>
> Phone:0092-(0)91-111-128-128<br>
> 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>Gerrick,<div><br>Yes, these are new, but so am I, so it doesn'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'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>David</div></div>