[vtkusers] GL2PSExporter
David Lonie
david.lonie at kitware.com
Fri Oct 7 09:54:28 EDT 2016
I don't see anything there that would cause a problem. Can you report this
as a bug on the VTK bug tracker?
https://gitlab.kitware.com/vtk/vtk/issues
I'm not sure we'll be able to fix this unless we have a developer who can
reproduce it, but it'll be good to have a record of this.
As a work-around, maybe try out some different OpenGL drivers
(nvidia/ati/intel vs. mesa, etc). It might be a driver issue.
Dave
On Fri, Oct 7, 2016 at 8:46 AM, neok m4700 <neok.m4700 at gmail.com> wrote:
> 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/bdda7479/attachment.html>
More information about the vtkusers
mailing list