[vtk-developers] Wiki example strangeness

Andrew Maclean andrew.amaclean at gmail.com
Wed Sep 10 09:12:37 EDT 2014


Continuing on ...
With respect to the first image, I suspect that this may be fixed in the
master by your submission: http://review.source.kitware.com/#/c/16872/
and/or http://review.source.kitware.com/#/c/16873/

As for the differences between the hill shapes in Windows and Linux, the
same RNG needs to be used in all machines. I'll look at using one of the
ones in vtkMath.h at some stage. There is an option to turn off random
generation and generate regular shaped hills, but it is pretty boring.

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/c763c676/attachment-0002.html>


More information about the vtk-developers mailing list