Thanks Chris.
More detail - the data value in question is being imported from a netcdf data file as float xxx(y,x) and is being pushed through Transform, Rotate, Selector and Compute before it gets to the BandColors stage. I'm relatively new to DX and am still trying to get the hang of the data flows and what exactly shows up in and out of the common controls, so I haven't got it all figured out.
I tried your suggestion of moving a band in between my data and the BandColors and got the error 'Invalid data: the data must be depenent on positions' within the BandColors module at the Band.  One other thing to note, if I send the Compute to an Isosurface and go through Colormap/Color, I get appropriate coloring, only in a gradient rather than in the discrete banded nature desired. I've messed with Colormap editor enough to know using named colors is far preferable in this situation. 8)

Again, I appreciate the assistance.
j.b.

Chris Pelkie wrote:

>I have a data element described by DX as follows:
>
>Object Description:
>Input object is a Transformed object, meaning that a transformation will
>be applied to the final object before rendering.
>Each item data type is float (4-byte or real*4).
>The positions are enclosed within the box defined by the corner points:
>[ 0 0 0 ] and [ 159 119 1.45728e-14 ]
>Data range is:
>minimum = 0.000366211, maximum = 16.9998, average = 8.17395
>Input is not ready to be rendered because the Field does not have colors
>yet.
>Use the `AutoColor', `AutoGreyScale', or `Color' modules to add colors.
>
>I am attempting to send this to bandcolors to render it as discrete
>color sections. Although the colorbar shows up with the colors defined
>in the bandcolor, no color reaches the image (through a collect). Any
>assistance on this would be greatly appreciated. Thanks in advance.
>
>j.b.

BandedColors is a sample net with a couple macros also in samples.
Therefore, there are Application Comments accessible from the Help Menu
within these nets.

I see that Band (and therefore BandedColors) requires 2D connectivity
(triangles or quads), but can't tell from the Object Description you
provide if the field is 2D or 3D (since you could have a 2D surface in a 3D
bounds box). So first be sure you are sending Band a "surface" not a
"volume".

But since the Field is Transformed, you've Scaled, Translated, or Rotated
upstream of the Band attempt. Try doing the Band before the transformation
to see if that helps. Transformations are only somewhat benign: some
modules just can't deal with them, so they are often best left to the last
operations before Image.

Also, substitute Color ("red") in place of the BandedColors and be sure you
are getting your object through as all red. You may simply have a Scaling
or Translation problem and the BandedObject is somewhere else in space than
in front of the camera. In Image, hit Ctrl-F to bring all current objects
into the camera view. If everything is way zoomed out, that's your problem
(you moved the BandedObject badly).

Chris Pelkie
Vice President/Scientific Visualization Producer
Conceptual Reality Presentations, Inc.
30 West Meadow Drive
Ithaca, NY 14850
[EMAIL PROTECTED]


--

Homegrown Music at Jibby's Music Fresh Cuts Made Regularly

Reply via email to