[Paraview] coloring by cell normals not preserved in undo stack

Moreland, Kenneth kmorel at sandia.gov
Tue Dec 2 11:41:57 EST 2008


Geoff,

The magnitude of the cell normals (which is what you are coloring by) should be 1 for all of them.  The different  colors you are seeing initially are simply due to numerical error.  As you are doing undo/redo, some (non-significant) precision must be lost.  I don't know why there is a change, but it should not be an issue.  When I try the undo/redo with color mapping with changes in the significant digits, the results are consistent.  Let us know if you come with a counterexample.

-Ken


On 12/2/08 9:13 AM, "Geoff Draper" <draperg at cs.utah.edu> wrote:

Hi all,

I'm not sure if this is a bug or not, but here's how to duplicate what I'm
seeing:

1. Create a basic object (Sources -> Sphere, then click Apply)
2. On the Display tab, change "Color by: Solid Color" to "Color by:
cellNormals". Notice the different colors on the faces of the sphere.
3. Click the Undo button. The sphere returns to the default color.
4. Click the Redo button. The sphere is now colored, but now each face has
the same color, instead of the mixture as before the Undo.

Is this expected/correct?  (I'm running yesterday's snapshot from CVS,
but have noticed this behavior in previous builds, too.  My OS is Windows
XP and my compiler is Visual C++ 2008 Express Edition.)

Thank you for any insight you could offer!
--Geoff
_______________________________________________
ParaView mailing list
ParaView at paraview.org
http://www.paraview.org/mailman/listinfo/paraview




   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: kmorel at sandia.gov
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20081202/913081cf/attachment-0001.htm>


More information about the ParaView mailing list