<div dir="ltr">Hi Jian,<div><br></div><div>The VTK mailing list might have better help for this issue.</div><div><br></div><div>Thanks,</div><div>Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jul 27, 2015 at 12:30 PM, Jian Cheng <span dir="ltr"><<a href="mailto:jian.cheng.1983@gmail.com" target="_blank">jian.cheng.1983@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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 href="http://www.kitware.com/blog/home/post/680" target="_blank">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 href="https://www.dropbox.com/s/asr05bdu67fttgl/test.vtk?dl=0" target="_blank">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>
</div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.php" rel="noreferrer" target="_blank">http://www.kitware.com/products/protraining.php</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/insight-users" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br></div>