Phil Fugue wrote:
Paul Martz wrote:
Have you considered setting BlendColor at the parent Group node and using one of
the blend function parameters that use constant color?
-Paul
Thanks for your response.
No I havent considered this. I dont understand how it will accomplish what I'm
looking for. Can you elaborate? I'm looking for alpha, there's lots of
geometry in front of eaach other. Blending with a constant color wont simulate
transparency, if I'm understanding you correctly.
You should learn OpenGL, I suggest the red book (the programming guide). The
(IMO more useful) blue book is available online:
http://www.opengl.org/sdk/docs/man/
...and some browsers even display the formulas correctly. :-(
GL_CONSTANT_ALPHA,GL_ONE_MINUS_CONSTANT_ALPHA are the blending coefficients
you'd typically use for this, they will reference the alpha from your (one)
BlendColor, but the rgb components will come from your (multiple) primitives.
--
-Paul Martz Skew Matrix Software
http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org