[vtkusers] python-vtk volume rendering issue
Aashish Chaudhary
aashish.chaudhary at kitware.com
Mon Jan 27 11:49:37 EST 2014
Dear Robert,
Have you tried different datasets? Also, what version of VTK you are using
(and what OS?). If no one beats me to it, I will have
a look at the test data in next 1-2 days.
Thanks,
On Sun, Jan 26, 2014 at 2:48 PM, Robert Thompson <rthompson at physics.unlv.edu
> wrote:
> Hi everyone,
>
> I'm having an odd issue volume rendering data with python-vtk. Everything
> seems to work fine when I use an isolated script, but when I try and
> implement the vtk calls in a function/class it produces some odd results.
> From what I can tell everything is happening in the same order between the
> two methods, but as you can see by this pic they don't come close to
> matching:
>
> http://i.stack.imgur.com/6vjM9.png
>
> I've uploaded a small dataset & the scripts I am using to produce the two
> above plots. The link below contains two scripts: n2vtk.py is the isolated
> rendering call (left pic), and volume.py is the script calling classes &
> methods from newvisualizer.py which produces the weird results (right pic).
>
> ~900kb:
> https://dl.dropboxusercontent.com/u/6920345/VTKquestion.tar.gz
>
> I've rendered point particles, spheres, and text with the method shown in
> newvisualizer.py before with great success so I'm not sure why the volume
> rendering is behaving differently. Any help would be greatly appreciated!
>
> -Robert Thompson
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
--
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140127/0845a7cd/attachment.html>
More information about the vtkusers
mailing list