[vtkusers] Cross platform rendering tests

Ken Martin ken.martin at kitware.com
Tue Jun 12 09:43:32 EDT 2018


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), 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
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtkusers
>
>


-- 
Ken Martin PhD
Distinguished Engineer
Kitware Inc.
101 East Weaver Street
Carrboro, North Carolina
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/fea9a6db/attachment.html>


More information about the vtkusers mailing list