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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to