Re: [Paraview] Question on compiling external plugins with 5.2

2017-01-02 Thread Ben Boeckel
On Mon, Jan 02, 2017 at 21:36:51 +0100, Fabian Wein wrote:
> Then I do something wrong:
> 
> cmake ../paraview-superbuild -DCMAKE_BUILD_TYPE:STRING=Release 
> -DBUILD_TESTING=OFF -DENABLE_cxx11=ON -DENABLE_qt5=ON -DENABLE_boost:BOOL=ON 
> -DENABLE_hdf5:BOOL=ON -DENABLE_zlib:BOOL=ON -DENABLE_png:BOOL=ON 
> -Dsuperbuild_download_location=$HOME/code/cfsdepscache/paraview 
> -DCMAKE_OSX_SDK=macosx10.12 -DENABLE_paraviewexternalplugins:BOOL=ON 
> -Dparaview_PLUGINS_EXTERNAL:STRING=CFSReader 
> -Dparaview_PLUGIN_CFSReader_PATH:PATH=$METABUILD/../plugins/CFSReader
> 
> …
> CMake Warning:
>   Manually-specified variables were not used by the project:
> 
> ENABLE_paraviewexternalplugins
> …
> 
> I should have written, that I tried some variants before. 

Oops, something even more fundumental was wrong; it is actually:

ENABLE_paraviewpluginsexternal

MR updated. Thanks,

--Ben
___
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] Question on compiling external plugins with 5.2

2017-01-02 Thread Fabian Wein
Then I do something wrong:

cmake ../paraview-superbuild -DCMAKE_BUILD_TYPE:STRING=Release 
-DBUILD_TESTING=OFF -DENABLE_cxx11=ON -DENABLE_qt5=ON -DENABLE_boost:BOOL=ON 
-DENABLE_hdf5:BOOL=ON -DENABLE_zlib:BOOL=ON -DENABLE_png:BOOL=ON 
-Dsuperbuild_download_location=$HOME/code/cfsdepscache/paraview 
-DCMAKE_OSX_SDK=macosx10.12 -DENABLE_paraviewexternalplugins:BOOL=ON 
-Dparaview_PLUGINS_EXTERNAL:STRING=CFSReader 
-Dparaview_PLUGIN_CFSReader_PATH:PATH=$METABUILD/../plugins/CFSReader

…
CMake Warning:
  Manually-specified variables were not used by the project:

ENABLE_paraviewexternalplugins
…

I should have written, that I tried some variants before. 

Fabian



> Am 02.01.2017 um 20:01 schrieb Ben Boeckel :
> 
> On Fri, Dec 30, 2016 at 23:48:52 +0100, Fabian Wein wrote:
>> • enable_paraviewexternalplugins:BOOL=ON: Enables building using external 
>> plugins.
> 
> Sorry, that should be ENABLE_paraviewexternalplugins. PR pushed:
> 
>https://gitlab.kitware.com/paraview/paraview-superbuild/merge_requests/253
> 
> --Ben

___
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] Custom Glyph

2017-01-02 Thread David E DeMarle
Glyph with Custom source filter can do it. Note that it works in CPU/RAM
instead of in a GPU shader so memory can be an issue for all the replicated
geometry.

To use it, manufacture a mesh that appears the way you want it and save it
in a common mesh format. Load that into the pipeline and hide it, select
the object you want to apply glyphs to and apply the Glyph with Custom
Source filter. Choose the shape you read in as the "Glyph Type" input.




David E DeMarle
Kitware, Inc.
R Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909

On Mon, Jan 2, 2017 at 2:35 PM, Bob Flandard  wrote:

> Hi,
>
> Any links or advice on how to create a custom glyph?
>
> I'd like a sphere divided into 8 equal sized/shaped patches and colored
> alternate black and white, to represent the centroid of a point mass. I
> have lots of these, so a glyph would be best.
>
> Thanks, Bob
>
> ___
> 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


Re: [Paraview] Question on compiling external plugins with 5.2

2017-01-02 Thread Ben Boeckel
On Fri, Dec 30, 2016 at 23:48:52 +0100, Fabian Wein wrote:
> • enable_paraviewexternalplugins:BOOL=ON: Enables building using external 
> plugins.

Sorry, that should be ENABLE_paraviewexternalplugins. PR pushed:

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

--Ben
___
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] Error while launching Paraview (and Paraview Web) in Window 10

2017-01-02 Thread Sebastien Jourdain
Hi Debopam,

Do you see the orientation axis? Does it move when you rotate the scene?
What happen when you click on "+" and choose the Wavelet? Do you see
something?

I'm wondering if you still run into an invalid path issue due to / or \.

Seb

On Mon, Jan 2, 2017 at 6:38 AM, Debopam Ghoshal  wrote:

> Hi Seb,
>
> 1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. Now
> we can see the list of files in the data folder.
>
> However, there seems to be some problem with the ParaviewWeb Application
> (or may be with the graphics driver?). Because we cannot render the sample
> mesh files (eg: can.ex2) in the visualizer. When we tried to view the files
> in the desktop application they are displayed without any problems. A
> screenshot of the graphics driver is attached for your reference.
>
> 2. Ok.
>
>
> Cheers & Best Wishes,
> Debopam
> ---
>
> On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain <
> sebastien.jourd...@kitware.com> wrote:
>
>> Hi Debopam,
>>
>> 1) I'm not sure to know what is the issue with the path but try with
>> either:
>>
>> "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data"
>> or
>> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data"
>>
>> 2) paraview_console_error.jpg is not an error since you are not using the
>> launcher. So that part is actually expected.
>> For the second error when you try to delete the TimeAnnotation, I'm not
>> sure to know what is the issue. You should know more by looking at the
>> output of the command line.
>>
>> Seb
>>
>>
>> On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal 
>> wrote:
>>
>>> (Reposting for a larger audience)
>>>
>>> Hi Ken,
>>>
>>> When we start paraview web we noted two things:
>>>
>>> 1. In the Visualizer, the Files tab is not showing any files. Please
>>> refer to the attached screenshot (paraview_home.jpg)
>>> 2. There is an error showing up at the browser console
>>> (paraview_console_error.jpg, paraview_console_error2.jpg)
>>>
>>> The paraview startup messages are also given for your reference
>>> (paraview_log.jpg)
>>>
>>>
>>>
>>> Cheers & Best Wishes,
>>> Debopam
>>> ---
>>> Cell: +91 98304 10041 <+91%2098304%2010041>
>>>
>>> On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal 
>>> wrote:
>>>
 Hi Ken,

 We finally got a machine where Paraview 5.2 MPI is running without any
 issues. However, when we start paraview web we noted two things:

 1. In the Visualizer, the Files tab is not showing any files. Please
 refer to the attached screenshot (paraview_home.jpg)
 2. There is an error showing up at the browser console
 (paraview_console_error.jpg, paraview_console_error2.jpg)

 The paraview startup messages are also given for your reference
 (paraview_log.jpg)


 Cheers & Best Wishes,
 Debopam
 ---
 Cell: +91 98304 10041 <+91%2098304%2010041>

 On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin 
 wrote:

> ParaView with the old OpenGL backend should work on any windows
> machine. It may be slow and some of the advanced techniques may not work
> but the basics will all work.
>
> On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal 
> wrote:
>
>> Yes Ken, you are right. This is an older machine. So, will it be
>> possible to use ParaView (with the old OpenGL backend) on this machine? 
>> Or
>> we need to get a machine with better configuration to run ParaView?
>>
>> Additionally, will it be possible to run ParaView (and ParaViewWeb)
>> on a Windows 10 guest running in VirtualBox on a MacOS host?
>>
>> Cheers & Best Wishes,
>> Debopam
>> ---
>> Cell: +91 98304 10041
>>
>> On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin 
>> wrote:
>>
>>> So if I am reading this correctly the machine has a rv516 GPU which
>>> was released in 2007. That GPU does not support anything beyond OpenGL 
>>> 2.0
>>> which means you would need to use the old OpenGL backend with 
>>> VTK/ParaView.
>>>
>>> http://www.gpureview.com/ati-rv516-chip-135.html
>>>
>>>
>>>
>>> On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal >> > wrote:
>>>
 Hi Ken,

 This is a standard desktop PC running Window 10 Professional
 Edition. If there is something I need to install on this machine, 
 please
 let me know.

 Cheers & Best Wishes,
 Debopam
 ---
 Cell: +91 98304 10041

 On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin  wrote:

> Is this a server maybe? It seems like the system lacks any OpenGL
> support 

Re: [Paraview] difference in the output of co-processing

2017-01-02 Thread Andy Bauer
Hi Ufuk,

I'm not sure what is causing the difference. I'm guessing not all of the
information for the view is saved in the state. Any chance that you're
using different versions of ParaView for the GUI and Catalyst generated
images? I see that the Python script is specifying that it was generated in
a PV 5.2 release candidate.

If it's the same version of PV then you can test the state mechanism in PV
by saving the state as both a Python script as well as a pvsm file. After
that, try generating the image by loading the pvsm state file and running
the Python state file in the GUI.

Another possibility is that there are some config settings in the GUI that
aren't used in Catalyst. If you don't mind helping narrow down the cause of
the issue we can put in a bug report for this.

Thanks,
Andy


On Mon, Jan 2, 2017 at 5:27 AM, Ufuk Utku Turuncoglu (BE) <
u.utku.turunco...@be.itu.edu.tr> wrote:

> Hi,
>
> I am trying to use Paraview co-processing component to create
> visualization from custom model. The problem is that the color bars are
> misplaced and also smaller and thinner in the co-processing output (saved
> png file) if i compare it with direct visualization from Paraview. I am
> attaching sample png files for both case and also Python file that is used
> for the co-processing. I just wonder that is it possible to fix it easily?
> It might be a bug but i am not sure.
>
> Thanks,
> Regards,
>
> --ufuk
>
>
> ___
> 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


Re: [Paraview] How to start the Catalyst example: CxxFullExample

2017-01-02 Thread Andy Bauer
Hi,

The Catalyst examples have been moved to the ParaView source repo. I'd
recommend using the newest version of ParaView as well as Catalyst since
there have been a lot of improvements since PV 4.4.

For the  CxxFullExample, if you've built it with Catalyst enabled you can
run it as you've done as well as pass in Catalyst Python scripts to use
through command line arguments.

Andy

On Fri, Dec 30, 2016 at 10:08 PM, 张驭洲  wrote:

>
>
> Hello everyone,
>
> I'm learning the ParaView Catalyst by starting at the CxxFullExample,
> which is one of the Catalyst examples from https://github.com/Kitware/
> ParaViewCatalystExampleCode-MOVED-. I have compiled and built it and got
> the CxxFullExample executable. It is said that it's a full example of a
> simulation code interfacing with Catalyst, but I don't know how to execute
> it. I typed "./CxxFullExample" in the command line under the build
> directory of the example and nothing happened. I read the Chapter 2 of the
> Catalyst User's Guide and found what's  mainly discussed is about creating
> ParaView Catalyst scripts in ParaView. It is said that to create ParaView
> Catalyst scripts in ParaView, I must have a representative dataset, and the
> Appendix 7.1.2 of the guide has a script that can be used to create the
> dataset. I managed to get lots of files named "filename_x_x.vtu" and
> "filename_x.pvtu"(x is a number) by typing "./CxxFullExample ./pvpython
> python.py"(python.py i s the script from the appendix 7.1.2 of the user's
> guide) in the command line under the bin directory of ParaView 4.4.0. Then
> I followed the section 2.2 of the user's guide with one of the file I
> generated above, only to get another script. Actually, what I want is a
> condition shown at www.kitware.com/blog/home/post/722, but after read the
> section 2.3 of the user's guide, I'm still unable to implement it. How
> should I organize the Catalyst enabled simulation and ParaView? Can it work
> in the client-server mode? Can I get it to work without much knowledge of
> Python? Maybe I'm on the wrong way of learning Catalyst, if so, you can
> ignore my questions and just tell me the right way. Thanks a lot!
>
> -Zhang
>
>
>
>
>
> ___
> 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


Re: [Paraview] Error while launching Paraview (and Paraview Web) in Window 10

2017-01-02 Thread Debopam Ghoshal
Hi Seb,

1. "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data" works fine. Now
we can see the list of files in the data folder.

However, there seems to be some problem with the ParaviewWeb Application
(or may be with the graphics driver?). Because we cannot render the sample
mesh files (eg: can.ex2) in the visualizer. When we tried to view the files
in the desktop application they are displayed without any problems. A
screenshot of the graphics driver is attached for your reference.

2. Ok.


Cheers & Best Wishes,
Debopam
---

On Fri, Dec 30, 2016 at 9:02 PM, Sebastien Jourdain <
sebastien.jourd...@kitware.com> wrote:

> Hi Debopam,
>
> 1) I'm not sure to know what is the issue with the path but try with
> either:
>
> "C:/ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit/data"
> or
> "C:\\ParaView-5.2.0-Qt4-OpenGL2-MPI-Windows-64bit\\data"
>
> 2) paraview_console_error.jpg is not an error since you are not using the
> launcher. So that part is actually expected.
> For the second error when you try to delete the TimeAnnotation, I'm not
> sure to know what is the issue. You should know more by looking at the
> output of the command line.
>
> Seb
>
>
> On Fri, Dec 30, 2016 at 12:53 AM, Debopam Ghoshal 
> wrote:
>
>> (Reposting for a larger audience)
>>
>> Hi Ken,
>>
>> When we start paraview web we noted two things:
>>
>> 1. In the Visualizer, the Files tab is not showing any files. Please
>> refer to the attached screenshot (paraview_home.jpg)
>> 2. There is an error showing up at the browser console
>> (paraview_console_error.jpg, paraview_console_error2.jpg)
>>
>> The paraview startup messages are also given for your reference
>> (paraview_log.jpg)
>>
>>
>>
>> Cheers & Best Wishes,
>> Debopam
>> ---
>> Cell: +91 98304 10041 <+91%2098304%2010041>
>>
>> On Wed, Dec 28, 2016 at 10:35 AM, Debopam Ghoshal 
>> wrote:
>>
>>> Hi Ken,
>>>
>>> We finally got a machine where Paraview 5.2 MPI is running without any
>>> issues. However, when we start paraview web we noted two things:
>>>
>>> 1. In the Visualizer, the Files tab is not showing any files. Please
>>> refer to the attached screenshot (paraview_home.jpg)
>>> 2. There is an error showing up at the browser console
>>> (paraview_console_error.jpg, paraview_console_error2.jpg)
>>>
>>> The paraview startup messages are also given for your reference
>>> (paraview_log.jpg)
>>>
>>>
>>> Cheers & Best Wishes,
>>> Debopam
>>> ---
>>> Cell: +91 98304 10041 <+91%2098304%2010041>
>>>
>>> On Tue, Dec 13, 2016 at 7:03 PM, Ken Martin 
>>> wrote:
>>>
 ParaView with the old OpenGL backend should work on any windows
 machine. It may be slow and some of the advanced techniques may not work
 but the basics will all work.

 On Tue, Dec 13, 2016 at 5:57 AM, Debopam Ghoshal 
 wrote:

> Yes Ken, you are right. This is an older machine. So, will it be
> possible to use ParaView (with the old OpenGL backend) on this machine? Or
> we need to get a machine with better configuration to run ParaView?
>
> Additionally, will it be possible to run ParaView (and ParaViewWeb) on
> a Windows 10 guest running in VirtualBox on a MacOS host?
>
> Cheers & Best Wishes,
> Debopam
> ---
> Cell: +91 98304 10041
>
> On Mon, Dec 12, 2016 at 8:22 PM, Ken Martin 
> wrote:
>
>> So if I am reading this correctly the machine has a rv516 GPU which
>> was released in 2007. That GPU does not support anything beyond OpenGL 
>> 2.0
>> which means you would need to use the old OpenGL backend with 
>> VTK/ParaView.
>>
>> http://www.gpureview.com/ati-rv516-chip-135.html
>>
>>
>>
>> On Mon, Dec 12, 2016 at 9:21 AM, Debopam Ghoshal 
>> wrote:
>>
>>> Hi Ken,
>>>
>>> This is a standard desktop PC running Window 10 Professional
>>> Edition. If there is something I need to install on this machine, please
>>> let me know.
>>>
>>> Cheers & Best Wishes,
>>> Debopam
>>> ---
>>> Cell: +91 98304 10041
>>>
>>> On Mon, Dec 12, 2016 at 7:18 PM, Ken Martin 
>>> wrote:
>>>
 Is this a server maybe? It seems like the system lacks any OpenGL
 support beyond the default Microsoft implementation which is circa 
 OpenGL
 1.4 I believe.

 On Sun, Dec 11, 2016 at 11:51 PM, Debopam Ghoshal <
 debop...@gmail.com> wrote:

> Hi Ken,
>
> When I ran the command: vtkRenderingOpenGL2CxxTests.exe
> TestAppleBug there was an error. A screenshot of the error is 
> attached for
> your reference. Please let me know if you require any other details.
>