Cory, Please let us know when the better handling of zero variation is available in a ParaView release, I'll be pretty happy about that. The epsilon thing has bugged me for a while now, although I can keep working with it.
Thanks, Dan ________________________________________ From: Cory Quammen <cory.quam...@kitware.com> Sent: Tuesday, April 11, 2017 8:48 AM To: Bauer, Andy (External Contacts) Cc: Ibanez, Daniel Alejandro; Granzow, Brian N (External Contacts); paraview@paraview.org Subject: Re: [Paraview] [EXTERNAL] NaN coloring on non-NaN component Andy, Yes, that's the expected behavior for now in 5.3. That's because we are adding an epsilon to the maximum in this case to avoid division-by-zero error in the color mapping math. Soon, ParaView will set the lookup table range so that the min and max are the same and handle the division-by-zero issue better. The color legend will also show the min and max as the same value in this case. Thanks, Cory On Tue, Apr 11, 2017 at 10:43 AM, Andy Bauer <andy.ba...@kitware.com> wrote: > Hi Cory, > > What's the behavior supposed to be in PV 5.3 when pseudo-coloring by a > variable which has 0 variation? When I look at this in PV 5.3 the lookup > table range goes from 0 to 3.4e38. Is that what it's supposed to be? > > Thanks, > Andy > > On Tue, Apr 11, 2017 at 10:39 AM, Cory Quammen <cory.quam...@kitware.com> > wrote: >> >> Hi Dan, >> >> I believe you are encountering this bug in 5.2: >> https://gitlab.kitware.com/paraview/paraview/issues/17127 >> >> It has been fixed in ParaView 5.3.0 and I verified that it works with >> the dataset you provided. >> >> Best regards, >> Cory >> >> On Tue, Apr 11, 2017 at 10:30 AM, Ibanez, Daniel Alejandro >> <daib...@sandia.gov> wrote: >> > Installing the ParaView 5.0.1 binary made this go away. >> > >> > ________________________________ >> > From: ParaView <paraview-boun...@paraview.org> on behalf of Ibanez, >> > Daniel >> > Alejandro <daib...@sandia.gov> >> > Sent: Tuesday, April 11, 2017 8:15 AM >> > To: paraview@paraview.org >> > Cc: Granzow, Brian N (External Contacts) >> > Subject: [EXTERNAL] [Paraview] NaN coloring on non-NaN component >> > >> > >> > Hello, >> > >> > >> > I'm using the ParaView 5.2.0 binary download for Mac. >> > >> > I've attached an unstructured grid VTK file, using binary encoding. >> > >> > When I open this file, and try to color by the Y component >> > >> > of nodal velocity, I get the NaN color. >> > >> > I've checked the data right before it goes into the file >> > >> > and am pretty certain there are no NaN or infinity values >> > >> > (by std::isnan, std::isinf, and writing to std::cerr in C++). >> > >> > >> > Could someone take a look at this and confirm whether >> > >> > its a bug or something is actually wrong with my data ? >> > >> > >> > Much appreciated, >> > >> > >> > Dan Ibanez >> > >> > >> > _______________________________________________ >> > 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 >> > >> >> >> >> -- >> Cory Quammen >> Staff R&D Engineer >> Kitware, Inc. >> _______________________________________________ >> 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 > > -- Cory Quammen Staff R&D Engineer Kitware, Inc. _______________________________________________ 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