[Paraview] Unable to do Volume rendering on BOV file

Chourasia, Amit amit at sdsc.edu
Fri Dec 13 15:21:36 EST 2013


Burlen,

Yes the mesh is uniformly spaced.
Instead of going in round about way of using BOV format and bunch of other transforms in paraview.

What is the recommended way to doing things the paraview way for unigrid data
1) Is there a way to write a simple header like BOV for an existing dump of uniform 3d binary data?
2) Other format you recommend we can dump directly from the code, excluding ASCII VTK


Thanks
--Amit
PS: Thanks your mail got buried in my mail-list folder, so did not see this earlier.


On Dec 6, 2013, at 12:06 PM, Burlen Loring wrote:

> Hi Amit,
> 
> Is your mesh uniformly spaced?
> 
> If I'm not mistaken, PV does not currently support native volume rendering of stretched Cartesian meshes (ie vtkRectilinearGrid). However it does support volume rendering on uniform Carteisan meshes and other data types. There are quick and dirty ways to convert the stretched Cartesian meshes to a data type for which volume rendering is supported in the GUI. Obviously not ideal, but would let you render something quickly.
> 
> The default BOV reader in PV is the VisIt BOV reader which always generates a stretched Cartesian meshes even when the data is uniformly spaced. This is a VisIt issue. If you have uniform spacing then you should use a different reader. On the other hand if you really do have a stretched Cartesian grid then the quickest path to a volume rendering is to convert to an unstructured grid. You can do this in the GUI after you open the data apply a threshold filter (set the threshold so that all data is passed, the defaults should do it).
> 
> Burlen
> 
> On 12/06/2013 08:14 AM, Benson Muite wrote:
>> Hi Amit,
>> 
>> XDMF data format is a little better than BOV in ParaView for rectilinear
>> data. VisIt will also read XDMF.
>> 
>> An example code can be found here:
>> https://raw.github.com/openmichigan/PSNM/master/KleinGordon/Programs/KleinGordon3dMpiFFT/xdmfcreate.f90
>> 
>> The corresponding example program to create BOV header files is here:
>> https://raw.github.com/openmichigan/PSNM/master/KleinGordon/Programs/KleinGordon3dMpiFFT/bovcreate.f90
>> 
>> These programs take as input the number of grid points in each dimension
>> Regards,
>> Benson
>> 
>> On 06/12/2013 17:34, paraview-request at paraview.org wrote:
>>> Send ParaView mailing list submissions to
>>> 
>>> 
>>> 
>>> ----------------------------------------------------------------------
>>> 
>>> Message: 1
>>> Date: Fri, 6 Dec 2013 02:22:55 +0000
>>> From: "Chourasia, Amit" <amit at sdsc.edu>
>>> Subject: [Paraview] Unable to do Volume rendering on BOV file
>>> To: "paraview at paraview.org" <paraview at paraview.org>
>>> Message-ID: <8DD76694-38D8-4463-B716-BD3ADE5D36D8 at sdsc.edu>
>>> Content-Type: text/plain; charset="us-ascii"
>>> 
>>> Hello,
>>> 
>>> I am loading a BOV file into Paraview, however I do not get an option for volume representation.
>>> Do I need to add something else to the bov header file other than standard BOV specifications?
>>> 
>>> Alternatively is there a better way to load a rectilinear uniform grid data into paraview other than using BOV header files.
>>> 
>>> Help appreciated.
>>> 
>>> Cheers
>>> --Amit
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------
>>> 
>>> Message: 2
>>> Date: Thu, 5 Dec 2013 19:47:29 -0700
>>> From: Utkarsh Ayachit <utkarsh.ayachit at kitware.com>
>>> Subject: Re: [Paraview] Unable to do Volume rendering on BOV file
>>> To: "Chourasia, Amit" <amit at sdsc.edu>
>>> Cc: "paraview at paraview.org" <paraview at paraview.org>
>>> Message-ID:
>>> 	<CADHSJjDFw48kSsXOX+_FpjRGNWwQjEG4pizsG0QWC41Pg3Z6Kw at mail.gmail.com>
>>> Content-Type: text/plain; charset="iso-8859-1"
>>> 
>>> Amit,
>>> 
>>> Do you have sample dataset to share? Feel free to share it of the list if
>>> needed.
>>> 
>>> Utkarsh
>>> 
>>> 
>>> On Thu, Dec 5, 2013 at 7:22 PM, Chourasia, Amit <amit at sdsc.edu> wrote:
>>> 
>>>> Hello,
>>>> 
>>>> I am loading a BOV file into Paraview, however I do not get an option for
>>>> volume representation.
>>>> Do I need to add something else to the bov header file other than standard
>>>> BOV specifications?
>>>> 
>>>> Alternatively is there a better way to load a rectilinear uniform grid
>>>> data into paraview other than using BOV header files.
>>>> 
>>>> Help appreciated.
>>>> 
>>>> Cheers
>>>> --Amit
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> 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
>>>> 
>>>> Follow this link to subscribe/unsubscribe:
>>>> http://www.paraview.org/mailman/listinfo/paraview
>>>> 
>> _______________________________________________
>> 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
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
> 



More information about the ParaView mailing list