To do what you want, do Include, but set the "pointwise"
parameter to 1 (that avoids problems with including out any
connection elements with even a *single* invalid point, which
is, I imagine why you're doing the Refine?) Then pass the
resulting cloud of points to Glyph, setting type = cube, and
using the scale parameter to set the size (since the size will
be scale*datavalue, and datavalue is 1)

Have you alternatively tried an Isosurface at the value of 0.5?



_________________________________
Donna L. Gresh, Ph.D.
Visual Analysis Group
IBM T.J. Watson Research Center
(914) 784-5049
[EMAIL PROTECTED]


"Frederick R. Phelan Jr." <[EMAIL PROTECTED]>@opendx.watson.ibm.com
on 08/30/2000 04:16:24 PM

Please respond to [email protected]

Sent by:  [EMAIL PROTECTED]


To:   [email protected]
cc:
Subject:  [opendx-users] Rendering Porous Media




8/30/00

I have data an a rectangular grid with point ranging from (1,1,1) ->
(Nx,Ny,Nz). One of my data fields is an array whose values are either 1 or
0
which represent porous solids present in the flow field. At each point of
value
"1" I would like to draw a small cube centered on the point itself. Is
there
any way to do this in DX? Mind you I said centered on the point, so we are
not
talking about the cubic gridconnections, although I suppose a solution
based on
the gridconnections would be acceptable. I guess I am not sure how to
handle
cubes in which some vertexes have values of "1" and others have values of
"0".
ANY SUGGESTIONS??

Also, I should mention the I do have a two ways that I currently render the
media. The first which goes basically, AutoColor -> Image, is too fuzzy. A
second goes basically something like Refine -> Include -> ShowBoundary ->
SimplifySurface -> Color -> Image ... this works great, but is
*unbelievably*
slow and frequently runs out of memory on large media. I am willing to
sacrafice a little bit in appearance for the sake of speed. My thinking is
that
if you just rendered the points with a value of "1" as cubes, it would be
pretty fast, and not sacrafice to much in terms of quality.

Thanks,
Fred Phelan

----------
Frederick R. Phelan Jr., Ph.D.
Multiphase Materials Group
Polymers Division
National Institute of Standards and Technology

----------
NIST, Bldg. 224/Rm. B108
100 Bureau Dr., STOP 8543
Gaithersburg, MD 20899-8543
301.975.6761 (VOX)
301.975.4932 (FAX)
[EMAIL PROTECTED]
http://www.nist.gov/frederick_phelan



Reply via email to