[Paraview-developers] FW: [EXTERNAL] [Paraview] Rendering problem with the Streamline Representation plugin

Joachim Pouderoux joachim.pouderoux at kitware.com
Tue Oct 3 07:35:00 EDT 2017


Scott,

Streamlines are green by default as this is the default "Solid color" we
set for this representation. You can change the coloring with any other
array as usual.
Doesn't this work on your machine? I just tried Wavelet+Gradient and it
works as expected (eg. I can color with RTData or a component of
RTDataGradient).
With wich version of ParaView did you test?
The line width is set to 1 by default but this can be changed, changing the
usual "Line Width" property.
I toggled the orientation axis on and off but didn't see any change. If
they grew on your machine this is clearly a bug.

Regarding Dave's small CTH dataset, I resampled it to image. It works
without applying the gradient but you need to reduce the Step Length to get
something meaningful.
Not sure why you would apply a Gradient here as the data comes with a
velocity field but when applying a gradient filter (by default on the Mass
array), the
Stream Lines representation hangs - I guess because vector field is null.
So clearly we should add a check to avoid this issue.

Best,


*Joachim Pouderoux*, PhD

*Technical Expert - Scientific Computing Team*
*Kitware SAS <http://www.kitware.fr>*


2017-09-12 14:04 GMT-04:00 Scott, W Alan <wascott at sandia.gov>:

> I played around with this plugin/filter a bit this morning, and am pretty
> confused.  Let’s start with a question – what does this plugin do?
>
>
>
> Lets start with my observations.
>
>
>
> I loaded the plugin, and then tested with Wavelet/ Gradient filter/ Stream
> Lines.
>
>
>
> Streamlines are green.  Color can’t be changed.  Is this a bug, or by
> design?
>
> Streamlines default to really, really small.
>
> As I toggled the orientation axis on and off, the streamlines grew.
> Huh?  Is this a bug, or by design?
>
> I tried Dave’s Small CTH dataset, then Resample to Image, then Gradient.
> This crashed.  This shouldn’t crash, should it?
>
>
>
>
>
> Thanks for any insight,
>
>
>
> Alan
>
>
>
> *From:* ParaView [mailto:paraview-bounces at paraview.org] *On Behalf Of *Wilhelm
> Lionel
> *Sent:* Tuesday, September 12, 2017 8:19 AM
> *To:* Paraview at paraview.org
> *Subject:* [EXTERNAL] [Paraview] Rendering problem with the Streamline
> Representation plugin
>
>
>
> Dear Paraviewers,
>
>
>
> I found sevral rendering issues in the Streamline Representation plugin.
> In order the issue to be reproducible, I followed the "How to test ?"
> section on this page https://blog.kitware.com/new-animated-stream-lines-
> representation-for-paraview-5-3/. In order to see what I'm talking about,
> one can open Paraview (GUI) tools -> Python Shell -> run script ->
> PVstateSurfRepBug.py (I load the plugin in the script)
>
>
>
> 1. The streamlines appear in green as default color. If I try to set their
> color to white in the GUI it does not work (Gradient proxy -> Coloring ->
> edit color map). The user must first set the color as some other preset and
> then the GUI sets the DiffuseColor attribute to whatever the user choose.
>
> 2. In addition to the gradient filter, if a slice filter is attached to
> the wavelet source, even if the streamlines should be displayed (because
> the slice plane is behind the streamlines) they do always show. If the
> representation type of the slice is Point Gaussian, Surface or Surface
> with edges, they do not show but the other representation types work well
>
> 3. If I want to record an animation of the streamlines, the "Transparent
> Background" option leads to strange animation (with AVI format but not with
> OGG/Theora).
>
>
>
> Despite these little bugs, I'd like to thank the developpers for this
> awsome plugin !! It realy helps to understand and interpret CFD results :)
>
>
>
> Kindly,
>
>
>
> Lionel Wilhelm
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=
> Paraview-developers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20171003/b65feffb/attachment.html>


More information about the Paraview-developers mailing list