X3D color question

Michael Katz-Hyman (michaelk@jlab.org)
Fri, 23 Jul 1999 15:35:36 -0400 (EDT)


I am defining at set of detector elements, they all should be gray(12).
Below them I am defining a "base" which should be color yellow(5).

In the TCanvas they look fine...in x3d they are all green and blue.

I have two screenshots avaiable on the web at <a
href="http://www.jlab.org/~michaelk/canvas.jpg">
http://www.jlab.org/~michaelk/canvas.jpg</a> which is the correct colors.
And at <a href="http://www.jlab.org/~michaelk/x3d.jpg">
http://www.jlab.org/~michaelk/x3d.jpg</a> which is the same geometry
viewed in x3d, bad colors.

I am setting each TBRIK's color with

hms->GetShape(name_of_shape_in_quotes)->SetLineColor(12 or 3)

is x3d just bad at colors?

Mike

P.S. - I know these are big that is why i didn't port them