<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<div class="moz-forward-container">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 moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.kitware.com/blog/home/post/680">http://www.kitware.com/blog/home/post/680</a><br>
<a class="moz-txt-link-freetext" href="http://itk.org/gitweb?p=ITKExamples.git;a=blob;f=Utilities/Visualization/VTKPolyData.py">http://itk.org/gitweb?p=ITKExamples.git;a=blob;f=Utilities/Visualization/VTKPolyData.py</a>
<br>
I would like to use VTKPolyData.py to visualize a vtk file
test.vtk. The file can be downloaded from<br>
<a moz-do-not-send="true" 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:part3.07000100.06050504@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:part4.06030607.09060206@gmail.com" alt=""><br>
<br>
Is there anyone who can help me? Thanks. <br>
<br>
best,<br>
Jian<br>
<br>
<br>
</div>
<br>
</body>
</html>