Re: [Paraview] Optimus and Windows 10

2017-12-05 Thread Jonathan Borduas
Was the laptop running with the intel gpu ? If so, it might be related to an 
Intel driver bug that was reported on the QT and Intel websites.

https://bugreports.qt.io/browse/QTBUG-40485

https://software.intel.com/en-us/node/744153

Jonathan Borduas

_
From: Paul Melis <paul.me...@surfsara.nl<mailto:paul.me...@surfsara.nl>>
Sent: Tuesday, December 5, 2017 04:16
Subject: [Paraview] Optimus and Windows 10
To: <paraview@paraview.org<mailto:paraview@paraview.org>>


Hi,

In our paraview course two weeks ago we had a student that had trouble
running Paraview 5.4.1 (official windows 64-bit binaries) under windows
10. The symptoms were that the main menu bar was invisible and that the
mouse cursor did not match up with the position of the click event,
making it very hard to do anything. It seemed the menu bar somehow had
shifted under the window title bar, causing the misalignment.

As this laptop was an optimus system we figured it might have something
to do with that. After some fiddling we found that right-clicking on
paraview.exe and picking Run with graphics processor -> High-performance
NVIDIA processor solved the problem.

Is this a known issue?

Regards,
Paul

--

Paul Melis
| Visualization group leader & developer | SURFsara |
| Science Park 140 | 1098 XG Amsterdam |
| T 020 800 1312 | paul.me...@surfsara.nl<mailto:paul.me...@surfsara.nl> | 
www.surfsara.nl<http://www.surfsara.nl> |
___
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] Rendering/Screenshot with "deep color" (REPOST)

2017-08-30 Thread Jonathan Borduas
Hi Utkarsh,

Thank you for your answer

I have created Issue 
#17678<https://gitlab.kitware.com/paraview/paraview/issues/17678>

Jonathan Borduas

CTO, Caboma inc.


From: Utkarsh Ayachit <utkarsh.ayac...@kitware.com>
Sent: Thursday, August 24, 2017 5:43:54 PM
To: Jonathan Borduas
Cc: paraview@paraview.org
Subject: Re: [Paraview] Rendering/Screenshot with "deep color" (REPOST)

Jonathan,

As far as I know, no such a setting is not available in ParaView
currently. It's not on our todo list. Feel free to report an issue at
`https://gitlab.kitware.com/paraview/paraview/issues` so that it can
be tackled in the future.

Utkarsh

On Wed, Aug 9, 2017 at 12:52 PM, Jonathan Borduas
<jonathan.bord...@caboma.com> wrote:
> Dear Paraviewers,
>
> As seen in the attached image, we can see the transitions between the
> different grays that occur with a 24bits-per-pixel screenshot export of
> ParaView.
> While most image editing software and printer support 32bits-per-pixel such
> as Ms Paint and Photoshop.
>
> Most GPU manufacturers call that “deep color”. Some display already have
> 30bpp/10bpc.
>
>
> Is there a setting available to configure the image bit depth (Bit Per
> Pixel, Bit Per Channel) in ParaView ?
> If no, is there any short time plans to integrate the control over the bit
> depth ?
>
> Best regards,
>
> Jonathan Borduas
>
>
>
>
> ___
> 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


[Paraview] Rendering/Screenshot with "deep color" (REPOST)

2017-08-09 Thread Jonathan Borduas
Dear Paraviewers,

As seen in the attached image, we can see the transitions between the different 
grays that occur with a 24bits-per-pixel screenshot export of ParaView.
While most image editing software and printer support 32bits-per-pixel such as 
Ms Paint and Photoshop.

Most GPU manufacturers call that "deep color". Some display already have 
30bpp/10bpc.

Is there a setting available to configure the image bit depth (Bit Per Pixel, 
Bit Per Channel) in ParaView ?
If no, is there any short time plans to integrate the control over the bit 
depth ?

Best regards,

Jonathan Borduas

___
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 handling in a programmable filter.

2017-07-07 Thread Jonathan Borduas
Added as Issue #17591<https://gitlab.kitware.com/paraview/paraview/issues/17591>

Thanks

From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
Sent: Friday, July 7, 2017 10:19 AM
To: Jonathan Borduas <jonathan.bord...@caboma.com>
Cc: paraview@paraview.org
Subject: Re: [Paraview] Error handling in a programmable filter.

We would like to block the updating of the pipeline upon an error in the 
programmable filter (just like a C++ filter).


Raising an exception in the Python script should a interupt your script, 
however from the code I see that that wouln't exactly do what `return 0` in 
RequestData for C++ filter would. Please feel to report a bug on the issue 
tracker. Should be fairly easy to address in  a future release of ParaView.

Utkarsh
___
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] Error handling in a programmable filter.

2017-07-07 Thread Jonathan Borduas
Hi Everybody,

Is there a equivalent of "Return 1" in the python programmable filter ?

We would like to block the updating of the pipeline upon an error in the 
programmable filter (just like a C++ filter).

Jonathan Borduas
___
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] Filter guidelines and Frequent pitfalls

2017-04-13 Thread Jonathan Borduas
Hi to all paraviewers

My team is creating custom filters inside paraview (c++ and python). We 
recently discovered that it's really not a good idea to use paraview.simple 
inside a filter (a developper was updating the panel of the filter with 
paraview.simple.setproperties, creating weird behaviors).

I saw some in the "plugins howto" page, but I guess it isn't complete.

A more exhaustive list of pitfalls could help a lot of people out there. I was 
wondering if somebody has a guideline on the frequent pitfalls, or a kind of 
checklist in a Definition of Done.

Best regards

Jonathan Borduas

___
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] Pipeline not respecting the arrow of time after changing the inputs of a filter

2017-04-03 Thread Jonathan Borduas
Hi Utkarsh,

I was wondering if there is a way to contribute to ParaView in terms of UI 
design and features propositions. I would really like to see ParaView evolve 
not just in term of performance/capabilities, but also in usability.

I understand the requirements are often aligned with performance and bug fixes, 
but maybe to see an actual UI design proposition would convince your customers 
and contributors to go forward with a redesign.

I could definitely help in making that ParaView UI 2.0 proposition, and I am 
sure other users would too.

Best regards,

Jonathan Borduas

From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com]
Sent: Friday, March 31, 2017 8:28 PM
To: Jonathan Borduas <jonathan.bord...@caboma.com>
Cc: ParaView <paraview@paraview.org>
Subject: Re: [Paraview] Pipeline not respecting the arrow of time after 
changing the inputs of a filter

Totally agreed. The pipeline browser hasn't been updated since early ParaView 
3.0 days, I'd guess a 2009. It surely can be made better. In the end, it boils 
down to the need and time availability. Since it works well for 80/90% of the 
cases, we (and our customers and contributors) often end up prioritizing other 
features and bug fixes. We do offer various consulting 
options<https://www.kitware.com/what-we-offer/#consulting>, if you're keen on 
getting it updated .

Utkarsh

On Fri, Mar 31, 2017 at 6:00 PM, Jonathan Borduas 
<jonathan.bord...@caboma.com<mailto:jonathan.bord...@caboma.com>> wrote:
Hi Utkarsh,

Thank you for your answer. As a user, especially with a complex tree, I found 
this unpractical. I have the reflex when searching for a filter to scroll down 
if the filters is "afterward".

I do prefer the GitTree representation of ParaViewWeb. My opinion is that a 
GitTree could be the optimal representation of the pipeline.

The GitKraken GitTree could be a good inspiration for a redesigned pipeline 
browser .

Best regards

Jonathan Borduas

-Original Message-
From: Utkarsh Ayachit 
[mailto:utkarsh.ayac...@kitware.com<mailto:utkarsh.ayac...@kitware.com>]
Sent: Friday, March 31, 2017 2:25 PM
To: Jonathan Borduas 
<jonathan.bord...@caboma.com<mailto:jonathan.bord...@caboma.com>>
Cc: paraview@paraview.org<mailto:paraview@paraview.org>
Subject: Re: [Paraview] Pipeline not respecting the arrow of time after 
changing the inputs of a filter

Jonathan,

The arrow is not intended to have a "top/down" direction, just a "back-to-root" 
direction. It can be interpreted as "ProgrammableFilter1" can be found 
somewhere on the main trunk.

On Thu, Mar 30, 2017 at 11:21 PM, Jonathan Borduas 
<jonathan.bord...@caboma.com<mailto:jonathan.bord...@caboma.com>> wrote:
>
> Dear ParaViewers,
>
>
> I came across some weird behaviour in ParaView: We have a custom
> BooleanOperation filter that have two outputs (custom ParaView build).
> If both outputs are the inputs of an Append Geometry and we update the
> inputs of the BooleanOperation Filter, the Append Geometry will be
> moved before the BooleanOperation Filter.
>
>
> I always though that if there was any dependencies in a pipeline, the
> representation would respect the "arrow of time" that goes from top to
> bottom.
> Please look at the picture here attached (same behaviour with a
> ProgrammableFilter instead of a Append Geometry).
>
>
> Is my comprehension at fault here or is it a bug ?
>
>
> Thank you,
>
>
> Jonathan Borduas
>
>
>
> ___
> 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] Pipeline not respecting the arrow of time after changing the inputs of a filter

2017-03-31 Thread Jonathan Borduas
Hi Utkarsh,

Thank you for your answer. As a user, especially with a complex tree, I found 
this unpractical. I have the reflex when searching for a filter to scroll down 
if the filters is "afterward". 

I do prefer the GitTree representation of ParaViewWeb. My opinion is that a 
GitTree could be the optimal representation of the pipeline. 

The GitKraken GitTree could be a good inspiration for a redesigned pipeline 
browser . 

Best regards

Jonathan Borduas

-Original Message-
From: Utkarsh Ayachit [mailto:utkarsh.ayac...@kitware.com] 
Sent: Friday, March 31, 2017 2:25 PM
To: Jonathan Borduas <jonathan.bord...@caboma.com>
Cc: paraview@paraview.org
Subject: Re: [Paraview] Pipeline not respecting the arrow of time after 
changing the inputs of a filter

Jonathan,

The arrow is not intended to have a "top/down" direction, just a "back-to-root" 
direction. It can be interpreted as "ProgrammableFilter1" can be found 
somewhere on the main trunk.

On Thu, Mar 30, 2017 at 11:21 PM, Jonathan Borduas 
<jonathan.bord...@caboma.com> wrote:
>
> Dear ParaViewers,
>
>
> I came across some weird behaviour in ParaView: We have a custom 
> BooleanOperation filter that have two outputs (custom ParaView build).
> If both outputs are the inputs of an Append Geometry and we update the 
> inputs of the BooleanOperation Filter, the Append Geometry will be 
> moved before the BooleanOperation Filter.
>
>
> I always though that if there was any dependencies in a pipeline, the 
> representation would respect the "arrow of time" that goes from top to 
> bottom.
> Please look at the picture here attached (same behaviour with a 
> ProgrammableFilter instead of a Append Geometry).
>
>
> Is my comprehension at fault here or is it a bug ?
>
>
> Thank you,
>
>
> Jonathan Borduas
>
>
>
> ___
> 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] Pipeline not respecting the arrow of time after changing the inputs of a filter

2017-03-30 Thread Jonathan Borduas

Dear ParaViewers,


I came across some weird behaviour in ParaView: We have a custom 
BooleanOperation filter that have two outputs (custom ParaView build).
If both outputs are the inputs of an Append Geometry and we update the inputs 
of the BooleanOperation Filter, the Append Geometry will be moved before the 
BooleanOperation Filter.


I always though that if there was any dependencies in a pipeline, the 
representation would respect the "arrow of time" that goes from top to bottom.
Please look at the picture here attached (same behaviour with a 
ProgrammableFilter instead of a Append Geometry).


Is my comprehension at fault here or is it a bug ?


Thank you,

Jonathan Borduas

___
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] Programmable filter - script for mean of two input PointSources

2016-05-25 Thread Jonathan Borduas
Hi, 

What is the best way to proceed if someone wants to use the new coordinate 
(mean of the two dots) in another filter using a Link. For instance, I would 
like to use the coordinate as the Origin of a Clip filter. 

Thank you,


-Message d'origine-
De : ParaView [mailto:paraview-boun...@paraview.org] De la part de Utkarsh 
Ayachit
Envoyé : 24 mai 2016 09:17
À : Thomas Faribault-Ménard 
Cc : paraview@paraview.org
Objet : Re: [Paraview] Programmable filter - script for mean of two input 
PointSources

Here's a simple trick:

1. Select both point sources in pipeline browser and then create the "Python 
Calculator".
2. Use the expression "(inputs[0].Points + inputs[1].Points)/2.0", and hit 
"Apply"
3. Next, create the "Calculator" filter connect to the "Python Calculator" with 
expression "result" and also check the "Coordinate Results" checkbox. Hit 
"Apply".

That should do it.

Example state file attached.



On Mon, May 23, 2016 at 10:19 PM, Thomas Faribault-Ménard 
 wrote:
> Hi,
>
> I’m a beginner in ParaView. I have two Point Source as my inputs. My 
> output is a third point source that has to be located at the mean of 
> the coordinates of my inputs.
>
> I would prefer the solution to be in the form of a programmable python 
> filter but I need a little help.
>
> Could you point me in the right direction please ?
>
>
> ___
> 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