[vtk-developers] Wiki example strangeness
Andrew Maclean
andrew.amaclean at gmail.com
Wed Sep 10 08:46:32 EDT 2014
The first image is generated on a windows machine and the second is done on
a Linux machine. The same random seed is used but the random number
generator is different for windows & Linux hence the different shaped
hills. Both images should be 800 x800.
Andrew
On Sep 10, 2014 10:30 PM, "David Cole" <dlrdave at aol.com> wrote:
> This example:
> http://www.vtk.org/Wiki/VTK/Examples/Cxx/Visualization/
> CurvatureBandsWithGlyphs
>
> Clearly contains:
> renWin->SetSize(800, 800);
>
> Why, then does the alternate valid image "Testing/Baseline/Visualization/
> TestCurvatureBandsWithGlyphs_1.png" [1] in the VTK wiki examples git
> repository have dimensions 800 x 771? Why is an image of a different size
> considered valid?
>
> And ..... why are the images so different? Shouldn't the randomly
> generated images seen in this example be identical because of random
> seeding? Compare to the primary baseline image at [2].
>
>
> Thanks for any insight,
> David C.
>
>
> [1] https://gitorious.org/vtkwikiexamples/wikiexamples/source/
> 09a4920a453052c36ad08d2994565dbec73a2107:Testing/Baseline/Visualization/
> TestCurvatureBandsWithGlyphs_1.png
> [2] https://gitorious.org/vtkwikiexamples/wikiexamples/source/
> 09a4920a453052c36ad08d2994565dbec73a2107:Testing/Baseline/Visualization/
> TestCurvatureBandsWithGlyphs.png
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20140910/55bc1142/attachment-0002.html>
More information about the vtk-developers
mailing list