Hi,
Did you tried to set Blending Function ?
osg::BlendFunc class, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA is always a good
starting point.
Cheers,
Filip
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=44390#44390
Hi,
I just understood that the problem is about releasing the object and also other
primitives that i've added into pyramidGeometry. Because reusing and updating
the pyramidGeometry(i.e rotating about some axis in a simulation) each time the
drawing methods were releasing and creating a new
Hi,
when i'm drawing a transparent pyramid it is ok; but while i rotating via
transformation matrix this pyramid outside this updating makes distortions in
the pyramid just like the triangle primitives have patterns. I tried other
blending modes else than GL_BLEND and mede stateattr protected
3 matches
Mail list logo