Talk About Network

Google





Graphics > OpenGL 3D API > Re: Opengl rend...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 8 Topic 4787 of 5061
Post > Topic >>

Re: Opengl rendering

by shreejanshrestha@[EMAIL PROTECTED] Jun 10, 2008 at 10:05 AM

Thanks for your reply fungus....

I want to try to capture by using

glReadBuffer(GL_BACK);
glReadPixels(...., ....., ...., pImageData);

Then OnDraw() or OnPaint() will use the pImageData of BYTE memory to
draw the image using windows api, which will eliminate the SwapBuffer.
Also OnDraw() or OnPaint() will not have any gl functions.

How do you think about this?

> You can use glCopyPixels() to copy back buffer to
> front buffer instead of calling SwapBuffers().

I will try this which seems to be a good choice. Also have you tried
this type of logic which will not corrupt the back buffer. Anyway
thanks I am gonna try it.

Thanks in advance.
 




 8 Posts in Topic:
Opengl rendering
shreejanshrestha@[EMAIL P  2008-06-10 03:43:42 
Re: Opengl rendering
fungus <openglMYSOCKS@  2008-06-10 04:58:27 
Re: Opengl rendering
shreejanshrestha@[EMAIL P  2008-06-10 10:05:29 
Re: Opengl rendering
Andy V <nobody@[EMAIL   2008-06-10 20:46:29 
Re: Opengl rendering
shreejanshrestha@[EMAIL P  2008-06-10 22:03:56 
Re: Opengl rendering
Andy V <nobody@[EMAIL   2008-06-11 19:03:38 
Re: Opengl rendering
fungus <openglMYSOCKS@  2008-06-11 18:28:14 
Re: Opengl rendering
fungus <openglMYSOCKS@  2008-06-11 18:30:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 16:56:11 PST 2009.