Hi,

I'm trying to use the setSurfaceColor of the SphereSegment and the ONLY colors that work are Red, Blue, and Green, all denoted by 1.0 w/in the osg::vec3d(r,g,b, a) -- a is the alpha channel.

When I attempt to use fractional portions for red, blue, *or *green, I either
a: get Red, Blue, or Green,
b: black.

I can not seem to get OSG to properly "mix" these basic colors to get the color I expect. Also, I am ASSUMING that the color values are to be between 0.0 & 1.0 for each, including the alpha channel. Am I right?

Thanks so much!

--
Sincerely, Allen

Gene Allen Saucier, Jr
Senior Software Engineer
CAS, Inc
100 Quality Circle
Huntsville, AL  35806
or
PO Box 11190
Huntsville, AL  35814
(256) 922-6453 (w)
"As for I and my house, we shall follow the Lord"  Joshua 25:14

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to