Thanks Chris - ShowBoundary was just what i needed to complete the picture! As well, your other advice about invalid connections (this is a nice tool that I could never get AVS to do) is greatly appreciated.

So, is there a "module repository" for those who write custom modules and would like to contribute them to the cause?

cheers,
Karl

Chris Pelkie wrote:
Welcome to DX-land, then!

I think you are looking for ShowBoundary which puts a polygonal face on a volumetric data set. You can fiddle with the opacity of the boundary by adding a Color module afterward and only changing the opacity (existing colors will be unaffected). Or add a Colormap, adjust the opacity curve and hook up the rightmost output of Colormap to the rightmost input of Color to drive the opacity by data.

To knock out blocks, create an "invalid connections" component. This can be done either via Color/Colormap where Colormap excludes values outside a range (automatically), or Include (also range-based), or by algorithmically (Compute) generating an array of bytes (1=invalid true, 0=invalid false), one per connection element (voxel, here). Make this array 'dep' 'connections' (use Options to add this attribute to your array), then Replace it onto your field as the "invalid connections".

You may find, as I did long ago, that volume rendering in DX leaves much to be desired. First and foremost to me, no perspective rendering (ugh). So, to "see" interior voxels, use Isolate followed by ShowBoundary and play with the Isolate value. In conjunction with the invalids, you should be able to get some interesting pics.


On Monday, May 24, 2004, at 20:51 America/New_York, Karl Pohlmann wrote:

    Hi,

    I'm new to OpenDX (though I've got a long history with AVS 5) and
    after going through all the tutorials and examples, I'm still having
    trouble visualizing my data set. I've got model results on a regular
    (finite difference) 3-D mesh and I'd like to visualize them as
    "voxels", that is as connection-dependent so that values are
    assigned to the entire cell, not to the vertices of the cell. In
    fact, the data are cell-based cubes so they should look like solid
    bricks in the visualization. Now, I've been able to generate
    visualizations that are pretty much want I want with the exception
    that the colors on the cell faces are not opaque. Therefore, when
    the looking at the visualization, there is enough transparency that
    one cannot discern the colors of cell faces closest to the viewer.

    Any thoughts on how best to treat these data? I'd also like to cut
    away at the mesh by removing bricks of a certain value (sort of like
    isosurface, but without interpolation.

    Thanks in advance,
    Karl


    Karl Pohlmann
    Associate Research Hydrogeologist
    Division of Hydrologic Sciences
    Desert Research Institute
    755 East Flamingo Road, Las Vegas, NV 89119
    Phone: 702-862-5485 Fax: 702-862-5427
    E-mail: [EMAIL PROTECTED]
    http://www.dri.edu/People/karl/
    - - - __o
    - - - - _`\<,_
    - - - - - (_)/ (_)



_______________________________
Chris Pelkie
Scientific Visualization Producer
622 Rhodes Hall, Cornell Theory Center
Ithaca, NY 14853


--
Karl Pohlmann
Associate Research Hydrogeologist
Division of Hydrologic Sciences
Desert Research Institute
755 East Flamingo Road, Las Vegas, NV  89119
Phone: 702-862-5485        Fax: 702-862-5427
E-mail: [EMAIL PROTECTED]
http://www.dri.edu/People/karl/
                                 - - - __o
                             - - - - _`\<,_
                         - - - - -  (_)/ (_)

Reply via email to