Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: 3D hexahedral mesh

Hi Thomas,

Gridded3DSets locate values at vertices, rather than over
whole grid cells. The fancy way to do what you want would
be to create a new Set subclass and a new DataRenderer
subclass - and that would be a lot of work. An easier way
to hack it would be to render your hexhedral grid cells
explicity, by creating a UnionSet of Gridded3DSets of
manifold dimension = 2, with each Gridded3DSet as the face
of a hexhedron. If you have a very large number of
hexhedra this will be slow.

Sorry we don't have a better answer.

Good luck, Bill

On Mon, 16 Aug 2004 Thomas.Poulet@xxxxxxxx wrote:

> Hi,
>
> I'm totally new to VisAD and I've got a few basic questions. I've been
> playing with some examples of  Ugo's (great!) tutorial just to see if
> VisAD would suit our purposes and I'd like to know a bit more how a
> structured hexahedral meshes could look like.
> I started from the example 4.08 to visualize some rgb value in 3D and
> replaced the Linear3Dset by a Gridded3DSet, but now I see my rgb values
> as points instead of the whole voxel being coloured (like it was for the
> Linear3DSet). Could anyone tell me how to visualize one value per
> hexahedron with the whole hexahedron coloured?
>
> Thanks
>
> Thomas.
>


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690