[osg-users] Strange Transparent effect [image provided]

Nan WANG nan.ccie at gmail.com
Thu Apr 7 10:38:46 PDT 2011


Hi, everyone~

I implemented GPU based MarchingCube algorithm in OSG 3D engine. But i have got something strange, here is the picture.

[Image: http://i56.tinypic.com/wvcv87.jpg ]

some dark gray levels disappear...

I just put the generated osg::Geometry object into transparent with function and give an alpha value in fragment shader(constant, e.g. 0.5).

sset->setmode(GL_BLEND)...


Anybody can help me to solve this problem?

the problem of DepthFunc?BlendFunc?AlphaFunc? how to fix this 

... 

Thank you!

Cheers,
Nan

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38300#38300








More information about the osg-users mailing list