View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011065ParaViewFeaturepublic2010-07-29 20:062015-01-11 08:37
ReporterAlan Scott 
Assigned ToUtkarsh Ayachit 
PriorityhighSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version3.98.0 
Summary0011065: Enhanced background
DescriptionI have a user that would like to add a background 3d grid around objects. This particular person wants this functionality around CTH data. I have added a screenshot that shows one example of this functionality. I did it as follows:

Load Dave's small CTH dataset. Wireframe, then cull front faces.
Load Dave's small CTH dataset.
Cell to Point data.
isoVolume the upper sphere.
isovolume the lower block.
isovolume the pressure as 1e9.

Notice how 3d the object looks!
TagsNo tags attached.
ProjectSandia
Topic Name11065_enhanced_amr_outline
Type
Attached Filespng file icon cthGrid.png [^] (124,580 bytes) 2010-07-29 20:06


png file icon bug11065.png [^] (14,917 bytes) 2012-09-01 20:48


png file icon Screenshot-ParaView 3.14.1-1757-g76e4970 64-bit.png [^] (134,604 bytes) 2012-09-11 16:55

 Relationships
related to 0011067closedUtkarsh Ayachit surface with blocks 

  Notes
(0022062)
Utkarsh Ayachit (administrator)
2010-09-01 11:23

Well this is very dicey. Note that in the attached image, you are only seeing the refinement at the outer most parts of the CTH data. Now if we project the highest refinement available in the interior to the background, then that can be misleading too, since it may lead the user to believe that that entire extruded volume has that high resolution.

It may be easier to provide a python macro, in this case.
(0022229)
Utkarsh Ayachit (administrator)
2010-09-15 14:01

Merge topic 'bug_11065'

770af22 Added a new demo script for showing grid background.
---------------

A new demo script show_grid_as_background has
been added. One can go to the Python shell and make this script a Macro. After
that, once you've loaded your AMR dataset done IsoVolume (or whatever), simply
click on the reader (make it active) and then choose "show_grid_as_background"
from the "Macro" menu or toolbar.

We need to make it simpler to distribute macros with ParaView, but that's another bug.
(0022247)
Alan Scott (manager)
2010-09-15 21:59

Let me bounce this by the user, and I will reopen if necessary. At this time, lets assume the feature is resolved.
(0025223)
Alan Scott (manager)
2011-02-01 20:20

I have talked to my user, and also tried the suggested macro. I have been unclear as to what I want/need.

If I have an object, such as a car or a sphere, I want to place this object into a space with a grid pattern on the furthest three planes, formed by planes perpendicular to the X axis, Y axis and Z axis. This would be like drawing a grid on the wall of the garage.

I am sending a set of screenshots to Utkarsh, showing what I want. These screenshots also show bug number 11067.

Screenshot 000000 - This shows the desired background functionality - a regular grid pattern. Notice that the foreground pattern shows the AMR block pattern.

Screenshot 000713 - shows the desired background functionality, on background and foreground.

Screenshot 000450 - shows the desired background only. Note how clear the numbers and labels are. Note that the labels are not on top of the numbers.

(0029097)
Utkarsh Ayachit (administrator)
2012-09-01 20:47

A partial fix is on its way to "git-mater". The missing part is the ability to hide the front or back faces on outlines.
(0029098)
Utkarsh Ayachit (administrator)
2012-09-01 20:47

commit 0c1121d78bf9136f3686f91d5d7f93b68660324e
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Sat Sep 1 20:40:07 2012 -0400

    BUG 0011065. Added support for "enhanced outline" for AMR.
    
    For AMR, instead of showing merely the outer outline, we now show the outer
    outline etched with the dataset outlines. Unlike in past, the internal block
    outlines are not shown, merely those on the outer surface.
    
    Also for overlapping AMR, outline doesnt' need any heavy data. It merely uses
    the AMR box information.
(0029171)
Utkarsh Ayachit (administrator)
2012-09-11 16:55

commit 76e49705184ee7a1c50c7b56c6b808be017e3ed8
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Tue Sep 11 16:17:03 2012 -0400

    Updating test to include amr outline with front face culling.

commit 6b47a997212fc6f809ac563e378f577758d6a1b9
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Tue Sep 11 15:41:58 2012 -0400

    BUG 0011065. Adding face culling support for outline for AMR.
    
    To add support for face culling for outlines, we make vtkOutlineRepresentation a
    vtkGeometryRepresentationWithFaces subclass. vtkOutlineRepresentation now
    overrides certain methods in vtkGeometryRepresentation to ensure that the
    representation always generates outlines. Cleaning up the xml for
    "OutlineRepresentation" by being the same as the "SurfaceRepresentation". It
    will have a few extra properties like "Representation", "SuppressLOD", etc. that
    have no effect, but the XML ends up being much cleaner.

commit 150d8db57821799ef62d9ca236135c98664fe0f8
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Tue Sep 11 15:37:51 2012 -0400

    Generate faces for outlines of AMR dataset.
    
    For BUG 0011065, we need to enable culling of front faces. For that its
    essential that the outlines have front/back faces to begin with. Hence, making
    vtkPVGeometryFilter generate faces for outlines for AMR datasets. Since
    vtkOutlineRepresentation is anyways set to show "wireframe", the resulting
    visualization remains unchanged.
    
    This can be theoretically done for all data types, but leaving that for a later
    date.
(0029172)
Utkarsh Ayachit (administrator)
2012-09-11 16:57

To test, simply show the outline of the CTH dataset and then in the "advanced view", select "Backface Representation" type to be "Cull Frontface".

Attached is an image with cube-axes (with "Fly Mode" set to "Outer Edges").
(0029205)
Utkarsh Ayachit (administrator)
2012-09-14 11:09

merged in master, if applicable.
(0029220)
Alan Scott (manager)
2012-09-18 22:26

Lets call this "close enough" until I get very specific feedback from the users. This closes this feature request for 4.0.

Tested remote server, Linux, master.

 Issue History
Date Modified Username Field Change
2010-07-29 20:06 Alan Scott New Issue
2010-07-29 20:06 Alan Scott File Added: cthGrid.png
2010-09-01 11:23 Utkarsh Ayachit Note Added: 0022062
2010-09-01 11:23 Utkarsh Ayachit Target Version 3.10 => 3.10.shortlist
2010-09-15 14:01 Utkarsh Ayachit Note Added: 0022229
2010-09-15 14:01 Utkarsh Ayachit Status backlog => @80@
2010-09-15 14:01 Utkarsh Ayachit Fixed in Version => 3.10
2010-09-15 14:01 Utkarsh Ayachit Resolution open => fixed
2010-09-15 14:01 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2010-09-15 21:59 Alan Scott Note Added: 0022247
2010-09-15 21:59 Alan Scott Status @80@ => closed
2011-02-01 20:20 Alan Scott Note Added: 0025223
2011-02-01 20:20 Alan Scott Status closed => backlog
2011-02-01 22:18 Alan Scott Priority normal => high
2011-02-01 22:18 Alan Scott Status backlog => tabled
2011-06-16 13:10 Zack Galbreath Category Feature Request => Feature
2011-06-24 14:21 Alan Scott Status backlog => todo
2011-06-27 08:32 Utkarsh Ayachit Project => Sandia
2012-05-31 10:23 Utkarsh Ayachit Status todo => backlog
2012-05-31 10:26 Utkarsh Ayachit Assigned To Utkarsh Ayachit =>
2012-05-31 10:26 Utkarsh Ayachit Status backlog => todo
2012-09-01 20:47 Utkarsh Ayachit Note Added: 0029097
2012-09-01 20:47 Utkarsh Ayachit Note Added: 0029098
2012-09-01 20:48 Utkarsh Ayachit File Added: bug11065.png
2012-09-01 20:50 Utkarsh Ayachit Relationship added related to 0011067
2012-09-11 16:55 Utkarsh Ayachit File Added: Screenshot-ParaView 3.14.1-1757-g76e4970 64-bit.png
2012-09-11 16:55 Utkarsh Ayachit Topic Name => 11065_enhanced_amr_outline
2012-09-11 16:55 Utkarsh Ayachit Note Added: 0029171
2012-09-11 16:55 Utkarsh Ayachit Status todo => gatekeeper review
2012-09-11 16:55 Utkarsh Ayachit Fixed in Version 3.10 => git-next
2012-09-11 16:55 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2012-09-11 16:57 Utkarsh Ayachit Note Added: 0029172
2012-09-14 11:09 Utkarsh Ayachit Fixed in Version git-next => git-master
2012-09-14 11:09 Utkarsh Ayachit Status gatekeeper review => customer review
2012-09-14 11:09 Utkarsh Ayachit Note Added: 0029205
2012-09-18 22:26 Alan Scott Note Added: 0029220
2012-09-18 22:26 Alan Scott Status customer review => closed
2012-10-29 17:04 Utkarsh Ayachit Fixed in Version git-master => 3.98.0
2015-01-11 08:34 Utkarsh Ayachit Source_changeset_attached => ParaView master 697b9e2f
2015-01-11 08:36 Utkarsh Ayachit Source_changeset_attached => ParaView master b3c8ba78
2015-01-11 08:36 Utkarsh Ayachit Source_changeset_attached => ParaView master ad2f27ea
2015-01-11 08:36 Utkarsh Ayachit Source_changeset_attached => ParaView master 0c1121d7
2015-01-11 08:37 Utkarsh Ayachit Source_changeset_attached => ParaView master 6b47a997


Copyright © 2000 - 2018 MantisBT Team