[vtkusers] Can't transform a vtkVolume

Aashish Chaudhary aashish.chaudhary at kitware.com
Thu Mar 10 07:18:45 EST 2016


It is weird, your code is useful. Let me know have a look at it.

Thanks,


On Thu, Mar 10, 2016 at 6:01 AM, Lorenzo <oneiros.valente at gmail.com> wrote:

> Aashish Chaudhary <aashish.chaudhary <at> kitware.com> writes:
>
> Ok, so I upgraded to OpenGL2 (still VTK 6.3). I had to add:
>
> #include <vtkAutoInit.h>
> VTK_MODULE_INIT(vtkRenderingOpenGL2);
> VTK_MODULE_INIT(vtkRenderingContextOpenGL2);
> VTK_MODULE_INIT(vtkRenderingVolumeOpenGL2)
> VTK_MODULE_INIT(vtkRenderingFreeType);
> VTK_MODULE_INIT(vtkInteractionStyle);
>
> Before any other includes (the rest of the code is the same as before).
>
> Now my output is... this: http://i.imgur.com/ccGVjoM.png
>
> As you can see, the cube is not purple anymore, the blue cube is visible in
> the bottom left corner of it... even more weird.
> Do you have any explanation?
>
> _______________________________________________
> 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>



-- 



*| Aashish Chaudhary | Technical Leader         | Kitware Inc.            *
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160310/bf19e739/attachment.html>


More information about the vtkusers mailing list