[vtkusers] Can't transform a vtkVolume

Lorenzo oneiros.valente at gmail.com
Thu Mar 10 06:01:57 EST 2016


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?



More information about the vtkusers mailing list