[vtkusers] Fwd: webgl output of VTKPolyData.py

Jian Cheng jian.cheng.1983 at gmail.com
Mon Jul 27 13:45:36 EDT 2015


Hi,

The webgl output of VTKPolyData.py has different color from the output
of vtk renderer.

The script VTKPolyData.py is from ITKExamples. See this blog by Matt.
http://www.kitware.com/blog/home/post/680
http://itk.org/gitweb?p=ITKExamples.git;a=blob;f=Utilities/Visualization/VTKPolyData.py

I would like to use VTKPolyData.py to visualize a vtk file test.vtk. The
file can be downloaded from
https://www.dropbox.com/s/asr05bdu67fttgl/test.vtk?dl=0

When I tried
VTKPolyData.py test.vtk
It showed


But when I enabled webgl, tried
VTKPolyData.py test.vtk --webgl abcde.html
The output abcd.html in firefox and chrome is


Is there anyone who can help me? Thanks.

best,
Jian



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150727/2612138c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 48387 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150727/2612138c/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 51585 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150727/2612138c/attachment-0001.png>


More information about the vtkusers mailing list