And why post for a third time when you quetstion has already been
answer twice by two different people.  Please learn how to use the
mailing list proper and DON'T respost the same question over and over
again.

On 11/3/06, Allen <[EMAIL PROTECTED]> wrote:
Hi all,

would someone please help me with setting the color or a SphereSegment?
I do not know nor does the documentation show what order these value
should be set or whether I'm setting RGB or HSV.

I need to know if the spheresegment uses RGB or HSV or whatever, and
then I need to know what the final argument is - I ASSUME it's the alpha
channel.  Below is the sample code I'm using.  Thanks for the help!

double r=49.0, g=85.0, b=32.0, d_alphaDepth=0.5;
<osgSim::SphereSegment *> surface = new osgSim::SphereSegment;
surface->setSurfaceColor( osg::Vec4( r, g, b, d_alphaDepth) );

--
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/

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

Reply via email to