From: Thorsten R. <tho...@iv...> - 2001-06-19 09:33:17
|
Hi *, > >is it right using the accumulation buffer is really _slow_ ? > > arrr indeed. but then I set up my GeForce2Ultra to OpenGL and it flys. grrrrrr ... ;-) > >I'm trying to use the accum buffer because I need to set an alpha valu= e to > > a fixed display list with glColor's in it. With the accum buffer I sh= ould > > be able to add an already rendered display list with any alpha by glA= ccum > > (GL_ADD, alpha), right ? > > that=B9s the one. u could also do the hack it to make things faster. ma= ke a > plain object and put it in front of your camera. make the plain object = 30% > transparent. don=B9t clear the back buffer. and u will have the 30% > transparent shape do the clearing for u. > > simple uh :) work's well... thanx! > >Is there a way to set the color (r,g,b) without setting the alpha too = ? > > theres: gl.glColor3f(r, g, b); and gl.glColor4f(r, g, b, a); all in the= m > there docs :). But gl.glColor3f (r,g,b) sets the alpha to 1f. I need the alpha value=20 unchanged... ciao, Thorsten |