<div dir="ltr"><div>VTK uses OpenGL and Mesa is an OpenGL implementation. Building VTK is OpenGL agnostic and it can switch between mesa and native drivers by changing library paths, moving dlls, etc.</div><div><br></div>This page has information on building mesa for various use cases although generally you can find prebuilt packages/binaries on the web.<div><br></div><div><a href="https://blog.kitware.com/messing-with-mesa-for-paraview-5-0vtk-7-0/">https://blog.kitware.com/messing-with-mesa-for-paraview-5-0vtk-7-0/</a><br></div><div><br></div><div>Hope that helps</div><div>Ken</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 12, 2018 at 12:11 PM, Slaughter, Andrew E <span dir="ltr"><<a href="mailto:andrew.slaughter@inl.gov" target="_blank">andrew.slaughter@inl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks for the testing information, you mention that "We test nightly on OSX, Window, and Linux with both Mesa and native drivers from Intel, Nvidia, and AMD". I am interested in setting up VTK to use Mesa, are the instructions for building VTK to use Mesa?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 12, 2018 at 7:43 AM, Ken Martin <span dir="ltr"><<a href="mailto:ken.martin@kitware.com" target="_blank">ken.martin@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">To drive the testing take a look at testing with ctest<div><br></div><div>To do image comparisons look at vtkRegressionTestImage.h and vtkTesting.h We typically invoke testing as</div><div><br></div><div><div>  int retVal = vtkRegressionTestImage( renWin );</div></div><div><br></div><div>The typical approach uses argc and argv to extract the location of a valid image file to use as a comparison. Those two headers have some example code in them. We test nightly on OSX, Window, and Linux with both Mesa and native drivers from Intel, Nvidia, and AMD.</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></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"><div><div class="m_2325244808407538876h5">On Tue, Jun 12, 2018 at 9:28 AM, Slaughter, Andrew E <span dir="ltr"><<a href="mailto:andrew.slaughter@inl.gov" target="_blank">andrew.slaughter@inl.gov</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_2325244808407538876h5"><div dir="ltr"><div><div><div><div>I am working on a VTK based GUI and would like to test the rendered results across platforms (Linux and MacOS). Based on various sources of documentation, most of which seem to be quite old (<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__www.vtk.org_Wiki_VTK_OpenGL&d=DwMFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=ypxkVNBM_RLHR49knStOGS6wjz0LwknTxj1AkqJE2kM&s=J3G3b6Vf-0xU11ia1dCy7LumE6BeiIzFD6sPThphqCQ&e=" target="_blank">https://www.vtk.org/Wiki/VTK/<wbr>OpenGL</a>), this should be possible with Mesa and software rendering. <br><br></div>Could someone please point me to an example and/or current documentation for doing this sort of work.<br><br></div>Thanks,<br></div>Andrew<br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Powered by <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com&d=DwMFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=ypxkVNBM_RLHR49knStOGS6wjz0LwknTxj1AkqJE2kM&s=OswQMtDhHkXaumu330n9ryeIF9aUBMW945edtCtO0Hs&e=" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.kitware.com_opensource_opensource.html&d=DwMFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=ypxkVNBM_RLHR49knStOGS6wjz0LwknTxj1AkqJE2kM&s=DdtO3EdmV5v1WjY743NhRBDgrvNKtH-xwE7yt2hKp1Y&e=" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__www.vtk.org_Wiki_VTK-5FFAQ&d=DwMFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=ypxkVNBM_RLHR49knStOGS6wjz0LwknTxj1AkqJE2kM&s=409rNdUUvqUzbu_UyLDTRuwvMFccgva7dTH7AzKRRbM&e=" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
<br>
Search the list archives at: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__markmail.org_search_-3Fq-3Dvtkusers&d=DwMFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=ypxkVNBM_RLHR49knStOGS6wjz0LwknTxj1AkqJE2kM&s=EeJDDMbkheTpiF05HRJmUp6jkUeV2rjzEcOUIJyBrJ8&e=" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__public.kitware.com_mailman_listinfo_vtkusers&d=DwMFaQ&c=54IZrppPQZKX9mLzcGdPfFD1hxrcB__aEkJFOKJFd00&r=h7heP8xwI1i_HikChvhFbEBurKirgfOCdwgBxB9lM8c&m=ypxkVNBM_RLHR49knStOGS6wjz0LwknTxj1AkqJE2kM&s=CTAZ4wtdd_dDidbTon2E1zYv5S-uAV_AGxxakuudyoY&e=" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/vtkusers</a><br>
<br></blockquote></div><span class="m_2325244808407538876HOEnZb"><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_2325244808407538876m_-1431328255326274295gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div><a href="https://maps.google.com/?q=101+East+Weaver+Street+Carrboro,+North+Carolina+%0D%0A27510+USA&entry=gmail&source=g" target="_blank">101 East Weaver Street</a><br><a href="https://maps.google.com/?q=101+East+Weaver+Street+Carrboro,+North+Carolina+%0D%0A27510+USA&entry=gmail&source=g" target="_blank">Carrboro, North Carolina</a><br>
27510 USA<br><br><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></div></div></div>
</font></span></font></span></div>
</blockquote></div><br></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Ken Martin PhD<div>Distinguished Engineer<br><span style="font-size:12.8px">Kitware Inc.</span><br></div><div>101 East Weaver Street<br>Carrboro, North Carolina<br>
27510 USA<br><br><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></div></div></div>
</div>