Re: X3D color question

From: Rene Brun (Rene.Brun@cern.ch)
Date: Tue Jul 27 1999 - 10:10:37 MEST


Hi Michael,
The problem you are reporting with bad colors appears on displays
with more than 8 color planes. Colors are OK with OpenGL.
We will look into this problem.

Rene Brun

Michael Katz-Hyman wrote:
> 
> 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> which is the correct colors.
> And at <a href="http://www.jlab.org/~michaelk/x3d.jpg">
> http://www.jlab.org/~michaelk/x3d.jpg> 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



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:36 MET