[Paraview] Displaying volume outside of mesh as solid

Moreland, Kenneth kmorel at sandia.gov
Mon Nov 27 15:25:04 EST 2017


It looks like the email to the list at large is awaiting moderator approval for the attachment. In the meantime, here is the response without the referenced attachment.

-Ken

From: Moreland, Kenneth
Sent: Monday, November 27, 2017 10:05 AM
To: Quammen, Cory (External Contacts) <cory.quammen at kitware.com>; sergey <scharnyi at gmail.com>
Cc: ParaView <paraview at paraview.org>
Subject: Re: [Paraview] Displaying volume outside of mesh as solid

Sergey,

What Cory said is true that ParaView cannot directly render empty spaces. However, you might be able to get something close enough with the backface styling rendering controls. These controls let you render surfaces whose “outside” is facing you different than surfaces whose “inside” is facing you. They are an advanced property under “Display” in the properties panel. The easiest way to get to them is to type “backface” in the search box on the properties panel (as shown in the attached screenshot).

Try changing the “Backface Representation” to “Cull Frontface”. That tells ParaView to not render any part of the surface where the outside is facing to you. That should remove the outer surface in the front and instead show the inner surface that should be facing your hollow volume. The attached screenshot shows me using this to show a sphere clipped out of the center of a grid. You will note that you also see the back faces of the larger grids. That is inevitable. There is no way for ParaView to know the difference between the faces of your mesh that are on the interior hollow region and those that are on the external empty space.

(Note, that if “Cull Frontface” does not seem to show anything different, try “Cull Backface”. That might work if your surfaces are for some reason inward facing. That shouldn’t be the case, though, when ParaView is rendering the surface of a volume.)

I hope that helps.

-Ken


From: ParaView <paraview-bounces at paraview.org<mailto:paraview-bounces at paraview.org>> on behalf of Cory Quammen <cory.quammen at kitware.com<mailto:cory.quammen at kitware.com>>
Date: Monday, November 27, 2017 at 9:18 AM
To: sergey <scharnyi at gmail.com<mailto:scharnyi at gmail.com>>
Cc: ParaView <paraview at paraview.org<mailto:paraview at paraview.org>>
Subject: [EXTERNAL] Re: [Paraview] Displaying volume outside of mesh as solid

There isn't anything in ParaView to view empty volumes. At some stage, the volume you are talking about needs to be represented by a grid or mesh for it to be visualized with ParaView. If you can generate a volumetric mesh outside of ParaView, then you could use all the visualization techniques in ParaView that apply to volume meshes. As a post-processing application, ParaView has essentially no built-in functions for generating volume meshes.

Hope that helps,
Cory

On Mon, Nov 20, 2017 at 7:42 PM, sergey <scharnyi at gmail.com<mailto:scharnyi at gmail.com>> wrote:
Hello,

I am looking for a way to display a volume that is not covered by mesh
(its located somewhere in the middle of mesh).

By default such volumes (without mesh) are shown as empty area, and
meshed area is shown as solid.

I need to reverse the solid and empty areas, so that non-meshed volume
is shown as solid, and meshed volume as empty.

Mesh is in 3D.

Is there a way to do this?

Thank you very much.

Best,

Sergey

_______________________________________________
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



--
Cory Quammen
Staff R&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171127/e3edcb28/attachment.html>


More information about the ParaView mailing list