[vtkusers] Cross platform rendering tests

Slaughter, Andrew E andrew.slaughter at inl.gov
Tue Jun 12 12:11:14 EDT 2018


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?

On Tue, Jun 12, 2018 at 7:43 AM, Ken Martin <ken.martin at kitware.com> wrote:

> To drive the testing take a look at testing with ctest
>
> To do image comparisons look at vtkRegressionTestImage.h and vtkTesting.h
> We typically invoke testing as
>
>   int retVal = vtkRegressionTestImage( renWin );
>
> 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.
>
>
>
>
>
>
>
>
>
>
>
> On Tue, Jun 12, 2018 at 9:28 AM, Slaughter, Andrew E <
> andrew.slaughter at inl.gov> wrote:
>
>> 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 (
>> https://www.vtk.org/Wiki/VTK/OpenGL
>> <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=>),
>> this should be possible with Mesa and software rendering.
>>
>> Could someone please point me to an example and/or current documentation
>> for doing this sort of work.
>>
>> Thanks,
>> Andrew
>>
>> _______________________________________________
>> Powered by www.kitware.com
>> <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=>
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>> <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=>
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>> <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=>
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>> <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=>
>>
>> Follow this link to subscribe/unsubscribe:
>> https://public.kitware.com/mailman/listinfo/vtkusers
>> <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=>
>>
>>
>
>
> --
> Ken Martin PhD
> Distinguished Engineer
> Kitware Inc.
> 101 East Weaver Street
> <https://maps.google.com/?q=101+East+Weaver+Street+Carrboro,+North+Carolina+%0D%0A27510+USA&entry=gmail&source=g>
> Carrboro, North Carolina
> <https://maps.google.com/?q=101+East+Weaver+Street+Carrboro,+North+Carolina+%0D%0A27510+USA&entry=gmail&source=g>
> 27510 USA
>
> 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.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtkusers/attachments/20180612/87392d5a/attachment.html>


More information about the vtkusers mailing list