<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi, <br>
<br>
The webgl output of VTKPolyData.py has different color from the
output of vtk renderer. <br>
<br>
The script VTKPolyData.py is from ITKExamples. See this blog by
Matt. <br>
<a class="moz-txt-link-freetext" href="http://www.kitware.com/blog/home/post/680">http://www.kitware.com/blog/home/post/680</a><br>
I would like to use VTKPolyData.py to visualize a vtk file test.vtk.
The file can be downloaded from<br>
<a class="moz-txt-link-freetext" href="https://www.dropbox.com/s/asr05bdu67fttgl/test.vtk?dl=0">https://www.dropbox.com/s/asr05bdu67fttgl/test.vtk?dl=0</a><br>
<br>
When I tried <br>
VTKPolyData.py test.vtk <br>
It showed <br>
<img src="cid:part1.00060609.00030308@gmail.com" alt=""><br>
<br>
But when I enabled webgl, tried<br>
VTKPolyData.py test.vtk --webgl abcde.html <br>
The output abcd.html in firefox and chrome is<br>
<img src="cid:part2.01010707.04020803@gmail.com" alt=""><br>
<br>
Is there anyone who can help me? Thanks. <br>
<br>
best,<br>
Jian<br>
<br>
</body>
</html>