c++ - OpenGL transparent effects displayed quite awful on Meego -
we've been creating several half-transparent 3d cubes in scene opengl displays on windows 7 , fedora 15, become quite awful on meego system.
this looks on fedora 15 system:
this looks on meego. color of line has been changed us, otherwise cubes see more pathetic:
the effects implemented using normal glcolor4f function, , made transparent setting value of alpha. how that?
both freeglut , openglut have been tried on meego system , failed display better.
i've tried use engine irrlicht implement instead there nothing black on screen when zbuffer argument of beginscene method set false (and normal when it's true, not want).
this should not problem of display card or driver, because we've seen 3d game transparent ball involved on same netbook , system.
we failed find reason here. 1 give on why happening please?
it sounds if may relying on default settings (or behavior), may different between platforms.
are explicitly setting of opengl's blend properties, such glblendfunc? if are, may post relevant code this.
one of comments mentioned sorting transparent objects. if aren't, that's might want consider achieve more accurate results. in either case, behavior should same platform platform have guessed that's not issue.
edit:
one other thought. setting glcullface? transparent faces being culled because of vertex winding.
Comments
Post a Comment