OpenGL accumulator issue
OpenGL accumulator issue
- Subject: OpenGL accumulator issue
- From: Mark Woollard <email@hidden>
- Date: Fri, 17 Sep 2004 12:29:23 +0100
I'm trying to write some OpenGL code within an NSOpenGLView derived
class. I have implemented my OpenGL drawing code and call it from
drawRect then issue [[self openGlcontext] flushBuffer] to output to
screen. My first pass at this worked fine. I'm now trying to use the
accumulator buffer to do anti-aliasing and am finding that sometimes I
get the anti-aliased output and sometimes the un refined output. I
assume the raw output is coming from the last pass of my jitter loop
and for some reason glAccum(GL_RETURN,..) isn't always putting its
output into the right place. I'm sure that I am generating an
anti-aliased image in the accumulator buffer and copying it out with
glAccum(GL_RETURN... each time drawRect is called so why is it going
wrong sometimes?
Thanks
Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden