From: aNt <an...@to...> - 2001-06-18 11:28:47
|
gezza's. > >is it right using the accumulation buffer is really _slow_ ? > arrr indeed. but then I set up my GeForce2Ultra to OpenGL and it flys. > >I'm trying to use the accum buffer because I need to set an alpha value to= a >fixed display list with glColor's in it. With the accum buffer I should be >able to add an already rendered display list with any alpha by glAccum >(GL_ADD, alpha), right ? that=B9s the one. u could also do the hack it to make things faster. make 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 :) >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 them there docs :). tops aNt |