Octaviz is a very nice addition to Octave. However, I don't manage to get any nice images saved using vtk_print (http://jakob.malms.org/tmp/vtk_print.png). Images (all formats) turn out very strange. It seems like the pixels are mapped (?) wrong, as if the wrong dimensions or pixel depths are used.
I have tried using VTK directly, and I can produce ok images using vtkGL2PSExporter (http://jakob.malms.org/tmp/vtkGL2PSExporter_Write3DPropsAsRasterImageOff.eps), but when I try e.g. vtkPNGWriter or vtkGL2PSExporter with Write3DPropsAsRasterImageOn (http://jakob.malms.org/tmp/vtkGL2PSExporter_Write3DPropsAsRasterImageOn.eps), I have the same result as with vtk_print.
I am using Octaviz 0.4.0-15 from Ubuntu Dapper repositories and libvtk4c2a 4.4.2-10ubuntu2. Having the VTK window as frontmost window does not solve the problem. Any ideas on solutions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have experienced issues with GL2PS export where the shapes are drawn in the wrong locations. This seemed to be related to the opengl interface used the particular computer. PNG write (or vtk-print -dpng) almost always gives me the correct output.
Also, it is recommended that you use Octaviz from CVS. Version 0.4.0 is a little old.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Octaviz is a very nice addition to Octave. However, I don't manage to get any nice images saved using vtk_print (http://jakob.malms.org/tmp/vtk_print.png). Images (all formats) turn out very strange. It seems like the pixels are mapped (?) wrong, as if the wrong dimensions or pixel depths are used.
I have tried using VTK directly, and I can produce ok images using vtkGL2PSExporter (http://jakob.malms.org/tmp/vtkGL2PSExporter_Write3DPropsAsRasterImageOff.eps), but when I try e.g. vtkPNGWriter or vtkGL2PSExporter with Write3DPropsAsRasterImageOn (http://jakob.malms.org/tmp/vtkGL2PSExporter_Write3DPropsAsRasterImageOn.eps), I have the same result as with vtk_print.
I am using Octaviz 0.4.0-15 from Ubuntu Dapper repositories and libvtk4c2a 4.4.2-10ubuntu2. Having the VTK window as frontmost window does not solve the problem. Any ideas on solutions?
I have experienced issues with GL2PS export where the shapes are drawn in the wrong locations. This seemed to be related to the opengl interface used the particular computer. PNG write (or vtk-print -dpng) almost always gives me the correct output.
Also, it is recommended that you use Octaviz from CVS. Version 0.4.0 is a little old.