Sven,<br>Could you please give me instruction on how to use of your patch in order to export vector images?<br><br>Thanks,<br>Nima<br><br><div class="gmail_quote">On Wed, Apr 13, 2011 at 5:57 PM, Nima Emadi <span dir="ltr"><<a href="mailto:deeepsky@gmail.com">deeepsky@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Apparently Paraview does not generate vectorial images at the moment.<br>
<br>
Would it be possible to generate such an image by first exporting to a<br>
3D format (like POV or X3D) and then converting the scene to a<br>
vectorial format using another application? any suggestion ...?<br>
<br>
Best,<br>
<font color="#888888">Nima<br>
</font><div><div></div><div class="h5"><br>
On Thu, Mar 31, 2011 at 3:51 PM, David E DeMarle<br>
<<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>> wrote:<br>
> Sven,<br>
><br>
> Despite the limitations, would you please push that patch to github?<br>
> Once there distribution, upkeep and maintenance will be easier.<br>
><br>
> thanks,<br>
><br>
> David E DeMarle<br>
> Kitware, Inc.<br>
> R&D Engineer<br>
> 28 Corporate Drive<br>
> Clifton Park, NY 12065-8662<br>
> Phone: <a href="tel:518-371-3971" value="+15183713971">518-371-3971</a> x109<br>
><br>
><br>
><br>
> On Thu, Mar 31, 2011 at 8:23 AM, Sven Buijssen<br>
> <<a href="mailto:sven.buijssen@tu-dortmund.de">sven.buijssen@tu-dortmund.de</a>> wrote:<br>
>> Hi,<br>
>><br>
>> I happen to have a small patch for the git master branch that adds vector<br>
>> graphics output (EPS, PS and SVG) to the Save Screenshot dialog and uses<br>
>> vtkGL2PSExporter as a backend, too. Actually, it's just an updated version of<br>
>> the patch for this matter I posted on this list back in 2007. But as holds for<br>
>> the Python approach it has a few drawbacks:<br>
>><br>
>> * Only 3D View support<br>
>> * Builtin mode and client/server mode support (but using merely 1 server<br>
>> process, empty file when using more)<br>
>> * No support for Manta/EyeDom/other views<br>
>> * No multi-view support<br>
>> * No support for mandelbrot source<br>
>> * No support for text/annotate time source (a rectangular box is drawn instead),<br>
>> one can resort to a 3D Text source, though<br>
>> * No support for Volume rendering<br>
>> * No support for Slice representation (try Surface representation of a slice<br>
>> filter output)<br>
>> * No support for PointSprite representation<br>
>> * No support for SurfaceLIC representation, even crashes ParaView on export<br>
>> * In display tab of object inspector, "Interpolate scalars" needs to be ticked<br>
>> off for every visible object; otherwise object is rendered gray<br>
>> (see <a href="http://www.vtk.org/Bug/view.php?id=1630" target="_blank">http://www.vtk.org/Bug/view.php?id=1630</a>)<br>
>> * Requires an old version of the colorbar implementation or colorbar will be<br>
>> rendered gray<br>
>><br>
>> So, don't get your hopes up too much about vtkGL2PSExporter.<br>
>><br>
>> Sven<br>
>><br>
>><br>
>> Hom Nath Gharti wrote, On 03/31/11 14:05:<br>
>>> You might try to run the script below to see if your image quality is good<br>
>>> enough to use vtkGL2PSExporter<br>
>>><br>
>>> rw=GetActiveView().GetRenderWindow()<br>
>>> exp=paraview.vtk.vtkInstantiator.CreateInstance('vtkGL2PSExporter')<br>
>>> exp.SetRenderWindow(rw)<br>
>>> exp.SetDrawBackground(0)<br>
>>> exp.SetSortToSimple()<br>
>>> exp.SetFileFormatToEPS()<br>
>>> exp.SetFilePrefix("test")<br>
>>> #exp.Write3DPropsAsRasterImageOn()<br>
>>> exp.Write()<br>
>>><br>
>>> On Wed, Mar 30, 2011 at 6:41 PM, David E DeMarle <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a><br>
>>> <mailto:<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>>> wrote:<br>
>>><br>
>>> Sorry, ParaView doesn't have true vector graphics output. Please add<br>
>>> your vote to the existing user voice request for it.<br>
>>><br>
>>> (<a href="http://paraview.uservoice.com/forums/11350-general/suggestions/313565-add-vector-graphics-output-i-e-postscript-?ref=title" target="_blank">http://paraview.uservoice.com/forums/11350-general/suggestions/313565-add-vector-graphics-output-i-e-postscript-?ref=title</a>)<br>
>>><br>
>>> The pdf writer in ParaView uses Qt to write a raster image. VTK's<br>
>>> vtkGL2PSExporter is not exercised by ParaView at all and it is likely<br>
>>> not to support many of our rendering techniques if it was added as an<br>
>>> new exporter option. 2D views are more likely to be supported, but we<br>
>>> haven't yet had the time to do so.<br>
>>><br>
>>> David E DeMarle<br>
>>> Kitware, Inc.<br>
>>> R&D Engineer<br>
>>> 28 Corporate Drive<br>
>>> Clifton Park, NY 12065-8662<br>
>>> Phone: <a href="tel:518-371-3971" value="+15183713971">518-371-3971</a> <tel:<a href="tel:518-371-3971" value="+15183713971">518-371-3971</a>> x109<br>
>>><br>
>>><br>
>>><br>
>>> On Fri, Mar 25, 2011 at 10:00 AM, Nima Emadi <<a href="mailto:deeepsky@gmail.com">deeepsky@gmail.com</a><br>
>>> <mailto:<a href="mailto:deeepsky@gmail.com">deeepsky@gmail.com</a>>> wrote:<br>
>>> > Dear all,<br>
>>> > I'd like to export a paraview vector field plot into a vectorial image<br>
>>> > format (e.g. eps) to generate high quality images which are not huge<br>
>>> > in size for publication purposes.<br>
>>> > I already compiled paraview 3.10 with gl2ps=on. So according to old<br>
>>> > messages in the email list I should be able to save vectorial images.<br>
>>> > Could anybody give me instructions how to do that?<br>
>>> ><br>
>>> > Thanks,<br>
>>> > Nima.<br>
>><br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
</div></div></blockquote></div><br>