Did you do something like Import->Color or (AutoColor)->Image?  If so, you
volume rendered it (i.e., you gave the rendering a volume with colors at
vertices).  If you want a "solid" cube, your really just want to render the
surface of the cube.  Use ShowBoundary.

FYI, you can also use Glyph or AutoGlyph to generate cubes at specific
points in space.  That make make your work a little easier.  These cubes
are defined just as surfaces not volumes.



Stamatogiannakis Manolis <[EMAIL PROTECTED]>@opendx.watson.ibm.com on
02/07/2001 08:03:11 AM

Please respond to [email protected]

Sent by:  [EMAIL PROTECTED]


To:   <[email protected]>
cc:
Subject:  [opendx-users] solid blue cube



Hi,
I want to visualize a number of cubes, each one having a single color.
An example qube is described as:

###################################################################
object "nodes" class array type float rank 1 shape 3 items 8 data follows
    1   1   1  #0
    -1  1   1  #1
    -1  -1  1  #2
    1   -1  1  #3
    1   1   -1 #4
    -1  1   -1 #5
    -1  -1  -1 #6
    1   -1  -1 #7

object "edge list" class array type int rank 1 shape 8 items 1 data
follows
    5   6   4   7   1   2   0   3
attribute "element type" string "cubes"
attribute "ref" string "positions"

object "color list" class array type float rank 0 items 1 data follows
    1
attribute "dep" string "connections"

object 0 class field
component "positions" value "nodes"
component "connections" value "edge list"
component "data" value "color list"
###################################################################

When I visualize this cube, I get the image I attach.
Why do I get this light blue color on the cube and not a solid blue color?
Is it because I do not order the edges correctly, or is it because of
the visualization method I use?

I want the cube to be solid blue. Is there any way to achieve that?

Thanks in advance,
  Manolis

Reply via email to