Colors are handled as any other data -- a 3-vector array, which is the colors component as opposed to positions or data. You can read in the colors as some field and then use Replace to swap the values with those of colors for the data field. The colors component is an array of floats with normalized RGB (0-1).
Having said that, you still have to assign opacity. Otherwise, you'll go to the expense of volume rendering yet only see the boundary. "Nicholas Yue" <[EMAIL PROTECTED]>@opendx.watson.ibm.com on 03/28/2001 03:32:57 AM Please respond to [email protected] Sent by: [EMAIL PROTECTED] To: "Opendx-Users \(E-mail\)" <[email protected]> cc: Subject: [opendx-users] Explicit RGB data Hi, I have a set of points in the following format TimeStep X-Grid Y-Grid Z-Grid R G B -------- ------ ------ ------ -- -- -- t0 x0 y0 z0 r0 g0 b0 t0 x1 y1 z1 r1 g1 b1 t0 x2 y2 z2 r2 g2 b2 : : : : : : : tn xn yn zn rn gn bn I'd like to visualize the above as a volume, how do I group the RGB as explicit colours rather than the AutoColor method. Cheers -- Nicholas Yue | [EMAIL PROTECTED] Analyst Programmer | http://www.ermapper.com Earth Resource Mapping | Voice +61 8 9388-2900 Level 2, 87 Colin Street, | Fax +61 8 9388-2901 West Perth, Western Australia,| Australia 6005 How can the Image Web Server benefit your organisation? Read a case study! http://www.EarthEtc.com
