[vtkusers] GL2PSExporter

neok m4700 neok.m4700 at gmail.com
Fri Oct 7 08:46:09 EDT 2016


Hi David,

Thank you for this feedback. I am running Ubuntu 16.04.1

My cmake options when building vtk are roughly:

-DBUILD_DOCUMENTATION=ON
-DBUILD_TESTING=ON
-DBUILD_EXAMPLES=ON
-DBUILD_SHARED_LIBS=ON
-DVTK_WRAP_PYTHON=ON
-DVTK_PYTHON_VERSION=3
-DVTK_Group_Tk=ON
-DVTK_Group_Rendering=ON
-DVTK_Group_Views=ON
-DVTK_Group_MPI=ON
-DVTK_RENDERING_BACKEND=OpenGL2

-DModule_vtkRenderingMatplotlib=ON
-DModule_vtkIOExportOpenGL2=ON
-DModule_vtkgl2ps=ON
-DModule_vtkRenderingContextOpenGL2=ON
-DModule_vtkRenderingOpenGL2=ON
-DModule_vtkRenderingGL2PSOpenGL2=ON
-DModule_vtkRenderingParallel=ON
-DModule_vtkRenderingVolumeOpenGL2=ON


2016-10-06 17:11 GMT+02:00 David Lonie <david.lonie at kitware.com>:

> Strange, your python script works as expected for me (see attached output).
>
> Is there anything unusual about your setup? (Offscreen rendering, drivers,
> etc)
>
> On Wed, Oct 5, 2016 at 2:27 PM, neok m4700 <neok.m4700 at gmail.com> wrote:
>
>> Hi,
>>
>> I have some trouble with the test provided with the vtk sources.
>>
>> Take this one:
>> vtk/IO/Export/Testing/Cxx/TestGL2PSExporterRaster.cxx
>>
>> I have attached the exported pdf.gz file, the screenshot of the window
>> appearing on my screen and the source files used to build the example.
>>
>> What I can see is that the position of the vector data (text) is correct,
>> but the rasterized cone is not (we only see the upper left hand corner of
>> the cone on the .ps file).
>>
>> I've had the same experience with the python wrapping
>> (cone.{py,pdf.gz,png} attached).
>> Same is happening for eps, ps, compressed or not.
>>
>> Does anyone have a clue on how to fix this ?
>>
>> Thanks
>>
>> _______________________________________________
>> 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
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161007/d2195eee/attachment.html>


More information about the vtkusers mailing list