On 1/3/07, <b class="gmail_sendername">Jeff Lee</b> &lt;<a href="mailto:jeff@cdnorthamerica.com">jeff@cdnorthamerica.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div><span class="q"><span class="gmail_quote">On 1/2/07, <b class="gmail_sendername">Berk Geveci</b> &lt;<a href="mailto:berk.geveci@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
berk.geveci@kitware.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I haven&#39;t looked at/used mangled mesa in a while. I used to enable it<br>on all my builds for testing but eventually gave it up. As Brian<br>mentioned, having a separate mesa build is more practical. There are<br>two maintenance issues with mangled mesa: 1. mangling support in the
<br>mesa library itself, 2. mangled mesa support in VTK. (2) is not too<br>much of a burden although as Randall found out, it is not being tested<br>(therefore it may be considered broken). (1) is more of a problem<br>since Mesa folks are not really interested in it and do not test
<br>mangled mesa. The last time I tried, the latest mesa could not be<br>built mangled. I think there are some users of mangled mesa out there<br>but I am not sure how many. Jeff Lee may be one of them.</blockquote></span>
<div><br>
Hi All,<br>Yes, we are using it to do offscreen rendering in an interactive client.&nbsp; The nice thing is that the same version of our rendering libraries work both in batch and interactive, but the same thing could be accomplished by having 2 builds of the rendering libs, as Berk said above (it would be nice if cmake produced the 2 different versions, instead of having completely separate builds).&nbsp; In batch, osmesa seems to be the only real choice for rendering without an xserver, but interactive we can use glxpixmap, pbuffer, or fbo, so no real need to do mangled mesa when interactive to get higher resolution hardcopy.
</div></div></blockquote><div><br>I think that&#39;s part of the point here, you can do this without Mangling, just using standard OSMesa.&nbsp; Am I Wrong?<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div>On another note, for what we&#39;re trying to do (and probably most people), it would be much more convenient to have an offscreen context in the renderwindow that we can just make current and use, instead of the SetOffscreenRendering() call.&nbsp; The two scenarios I commonly see are you are either always rendering offscreen, or you are making a high-res hardcopy and don&#39;t want the current context to be messed with, but you don&#39;t really need to go through all that SetOffscreenRendering() does to accomplish that.&nbsp; Lets say you were creating an animation and wanted to save the animation as a higher resolution than the onscreen context - basically every frame you have to call SetOffscreenRendering to get your offscreen context to render to, and then you have to throw it away when you update the onscreen context - why not just add the ability for a vtkRenderWindow to have an additional (or many) context(s) to render into.
<br><span class="sg">-J<br></span></div><div><span class="e" id="q_10fe849db452e61f_5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-berk<br><br>On 1/2/07, Moreland, Kenneth &lt;<a href="mailto:kmorel@sandia.gov" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
kmorel@sandia.gov</a>&gt; wrote:<br>&gt;<br>&gt;<br>&gt;<br>&gt; I&#39;m pretty sure the current use of this feature at Sandia is zero.&nbsp;&nbsp;All of<br>&gt; our distributions of ParaView use either a hardware driver or straight Mesa,
<br>&gt; not both.&nbsp;&nbsp;As several other members of these lists have just testified, it&#39;s<br>&gt; much easier.<br>&gt;<br>&gt; Concerning the maintenance overhead of maintaining the mangled Mesa stuff, I<br>&gt; would rather have someone from Kitware speak to that since they are really
<br>&gt; the ones doing that.&nbsp;&nbsp;I recall Berk grumbling about it in the past.&nbsp;&nbsp;Perhaps<br>&gt; he can elaborate.<br>&gt;<br>&gt; I also cannot speak for any other organizations that may be using<br>&gt; VTK/ParaView.&nbsp;&nbsp;If any of you out there use the vtkMesa* classes or otherwise
<br>&gt; compile with the mangled Mesa features, now would be a really good time to<br>&gt; chime in.<br>&gt;<br>&gt; -Ken<br>&gt;<br>&gt;&nbsp;&nbsp;________________________________<br>&gt;&nbsp;&nbsp;From: paraview-bounces+kmorel=<a href="mailto:sandia.gov@paraview.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

sandia.gov@paraview.org</a> on behalf of James P.<br>&gt; Ahrens<br>&gt; Sent: Sat 12/30/2006 4:35 PM<br>&gt; To: <a href="mailto:paraview@paraview.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
paraview@paraview.org</a><br>&gt; Cc: <a href="mailto:ahrens@lanl.gov" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ahrens@lanl.gov</a><br>&gt; Subject: [Paraview] Re: ParaView Digest, Vol 32, Issue 23<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; &gt; Message: 1<br>&gt; &gt; Date: Fri, 29 Dec 2006 09:05:35 -0600<br>&gt; &gt; From: &quot;Randall Hand&quot; &lt;
<a href="mailto:randall.hand@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">randall.hand@gmail.com</a>&gt;<br>&gt; &gt; Subject: Re: [Paraview] RE: [vtkusers] MangledMesa &amp; VTK<br>&gt; &gt; To: &quot;Sean Ziegeler&quot; &lt;
<a href="mailto:seanzig@users.sourceforge.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
seanzig@users.sourceforge.net</a>&gt;<br>&gt; &gt; Cc: <a href="mailto:paraview-developers@public.kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">paraview-developers@public.kitware.com
</a>, VTK Users<br>&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;<a href="mailto:vtkusers@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
vtkusers@vtk.org</a>&gt;,&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:paraview@paraview.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">paraview@paraview.org</a><br>&gt; &gt; Message-ID:<br>&gt; &gt;<br>&gt; &lt;<a href="mailto:b02264720612290705h54bc20a6yf45d6b335f1f644e@mail.gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">

b02264720612290705h54bc20a6yf45d6b335f1f644e@mail.gmail.com</a>&gt;<br>&gt; &gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>&gt; &gt; &gt;<br>&gt; &gt; So maybe mangling isn&#39;t really necessary anymore, except for those times
<br>&gt; &gt; where you need to switch between Hardware OpengL &amp; Mesa on the fly..<br>&gt; &gt; Anyone<br>&gt; &gt; actually doing that tho?<br>&gt; &gt;<br>&gt;<br>&gt; The original purpose of the mangled mesa extension was a heterogeneous
<br>&gt; configuration with hardware acceleration and OS rendering at the same<br>&gt; time. It was a long time ago, so I&#39;ve forgotten the exact configuration. I<br>&gt; know SGI pipes were part of the mix. This was in the parallel VTK days;
<br>&gt; ParaView did not exist, therefore no client/server architecture etc...<br>&gt;<br>&gt; One application is rendering extremely large offscreen imagery using<br>&gt; mangled Mesa (limited by memory)&nbsp;&nbsp;and hardware accelerated rendering
<br>&gt; smaller imagery for onscreen interactive use. This requires both libraries<br>&gt; in the same executable.<br>&gt;<br>&gt; Brian, what is the maintainence issue? What is the current cost etc.?<br>&gt;<br>&gt; --Jim
<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; ParaView mailing list<br>&gt; <a href="mailto:ParaView@paraview.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
ParaView@paraview.org</a><br>&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.paraview.org/mailman/listinfo/paraview</a><br>&gt;<br>&gt;<br><br><br>--<br> Berk Geveci<br> Kitware Inc.<br> 28 Corporate Drive<br> Clifton Park, NY, 12309<br></blockquote></span></div></div><br>

<br>_______________________________________________<br>This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">
http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers
</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>----------------------------------------<br>Randall Hand<br>Visualization Scientist<br>ERDC MSRC-ITL