Re: [Paraview] Paraview 4.4.0 crashes when exporting scene without rasterization of 3D objects

2016-10-28 Thread David Lonie
On Fri, Oct 28, 2016 at 2:46 PM, Simon Couture 
wrote:

> I try to export scene with the cylinder source as I described in my first
> e-mail, I save it to .svg format, unchecking the Rasterize 3D geometry.
> This time Paraview does not crash, however upon opening the .svg file I
> find that the content is an embedded image, not a vector graphic, that is,
> unchecking the Rasterize 3D geometry option gives the same result as when
> this option is checked.
>

Yes, unfortunately this is correct. Currently, with the OpenGL2 backend,
all 3D geometry will be rasterized, and only things like text and 2D charts
are vectorized. It would be possible to fix this, but it's a significant
effort that hasn't found funding yet.

I think your best option at this point to get vectorized 3D geometry
exported is to try building ParaView yourself with the OpenGL1 backend
using the superbuild:

https://gitlab.kitware.com/paraview/paraview-superbuild/

This can be tricky to get right, and I'm not sure how well documented the
build process for the superbuild is on windows. Alternatively you could try
an older version of paraview than 4.4. I think the vector format export was
added around v4.0.

HTH,
Dave
___
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview 4.4.0 crashes when exporting scene without rasterization of 3D objects

2016-10-28 Thread Simon Couture
Hello Dave,


I appreciate your feedback. I was hesitant to try the newest version (5.2.0 
Windows 64 bit build for me) since I read that there was a new backend which 
changed the way the vector format was being output, I wanted to go for 
something more "proven" with 4.4 =D


Still I went ahead and downloaded Paraview 5.2.0 64 bit Windows build. 
Interestingly I was met with the following warning message


"ERROR: In 
C:\bbd\df0abce0\source-paraview\VTK\Rendering\OpenGL2\vtkWin32OpenGLRenderWindow.cxx,
 line 697 vtkWin32OpenGLRenderWindow (07F54CB0): We have determined 
that your graphics system is an Intel SandyBridge based system. These systems 
only partially  support VTK. If you encounter any issues please make sure your 
graphics drivers from Intel are up to date."


Thankfully I have the latest Intel graphics driver installed so I'm hoping for 
the best.


I try to export scene with the cylinder source as I described in my first 
e-mail, I save it to .svg format, unchecking the Rasterize 3D geometry. This 
time Paraview does not crash, however upon opening the .svg file I find that 
the content is an embedded image, not a vector graphic, that is, unchecking the 
Rasterize 3D geometry option gives the same result as when this option is 
checked.


Simon



From: David Lonie <david.lo...@kitware.com>
Sent: October 28, 2016 10:35 AM
To: Simon Couture
Cc: paraview@paraview.org
Subject: Re: [Paraview] Paraview 4.4.0 crashes when exporting scene without 
rasterization of 3D objects

I just grabbed the 4.4 release on linux and it works fine, so it sounds like 
something specific to the windows builds.

4.4 is quite dated at this point. Do you still see this issue on newer versions 
of paraview?

http://www.paraview.org/download/
Download | ParaView<http://www.paraview.org/download/>
www.paraview.org
Specific license information can be found here. This software may not be 
exported in violation of any U.S. export laws or regulations. For more 
information regarding ...




Dave

On Fri, Oct 28, 2016 at 12:27 AM, Simon Couture 
<wakeboa...@hotmail.com<mailto:wakeboa...@hotmail.com>> wrote:

Hello all,


I want to export a paraview scene to a vector graphic format but for some 
reason Paraview crashes during the operation.


The version that I am running is from the installation file 
ParaView-4.4.0-Qt4-Windows-64bit.exe. I have tried the export operation on two 
different machines, one with Windows 10, the other with Windows 7, with the 
same result.


The most straightforward way to reproduce my problem is the following: from the 
Sources menu I create a cylinder with default height 1 and radius 0.5. I then 
go to File -> Export scene..., I type a filename to save to, I tried selecting 
formats .eps, .svg and .pdf all with the same result, then in the "Export 
Options" window that pops up, I uncheck the Rasterize 3D geometry option, click 
save, and I get the "paraview.exe" has stopped working message (actually I just 
tried to save with the Rasterize 3D geometry option checked, and that also 
crashes paraview).


Has anyone encountered similar behavior? Any help is appreciated.


Simon

___
Powered by www.kitware.com<http://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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


___
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Paraview 4.4.0 crashes when exporting scene without rasterization of 3D objects

2016-10-28 Thread David Lonie
I just grabbed the 4.4 release on linux and it works fine, so it sounds
like something specific to the windows builds.

4.4 is quite dated at this point. Do you still see this issue on newer
versions of paraview?

http://www.paraview.org/download/

Dave

On Fri, Oct 28, 2016 at 12:27 AM, Simon Couture 
wrote:

> Hello all,
>
>
> I want to export a paraview scene to a vector graphic format but for some
> reason Paraview crashes during the operation.
>
>
> The version that I am running is from the installation file
> ParaView-4.4.0-Qt4-Windows-64bit.exe. I have tried the export operation
> on two different machines, one with Windows 10, the other with Windows 7,
> with the same result.
>
>
> The most straightforward way to reproduce my problem is the following:
> from the Sources menu I create a cylinder with default height 1 and radius
> 0.5. I then go to File -> Export scene..., I type a filename to save to, I
> tried selecting formats .eps, .svg and .pdf all with the same result, then
> in the "Export Options" window that pops up, I uncheck the Rasterize 3D
> geometry option, click save, and I get the "paraview.exe" has stopped
> working message (actually I just tried to save with the Rasterize 3D
> geometry option checked, and that also crashes paraview).
>
>
> Has anyone encountered similar behavior? Any help is appreciated.
>
>
> Simon
>
> ___
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>
>
___
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


[Paraview] Paraview 4.4.0 crashes when exporting scene without rasterization of 3D objects

2016-10-27 Thread Simon Couture
Hello all,


I want to export a paraview scene to a vector graphic format but for some 
reason Paraview crashes during the operation.


The version that I am running is from the installation file 
ParaView-4.4.0-Qt4-Windows-64bit.exe. I have tried the export operation on two 
different machines, one with Windows 10, the other with Windows 7, with the 
same result.


The most straightforward way to reproduce my problem is the following: from the 
Sources menu I create a cylinder with default height 1 and radius 0.5. I then 
go to File -> Export scene..., I type a filename to save to, I tried selecting 
formats .eps, .svg and .pdf all with the same result, then in the "Export 
Options" window that pops up, I uncheck the Rasterize 3D geometry option, click 
save, and I get the "paraview.exe" has stopped working message (actually I just 
tried to save with the Rasterize 3D geometry option checked, and that also 
crashes paraview).


Has anyone encountered similar behavior? Any help is appreciated.


Simon
___
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview