c++ - can OpenGL do this? -


I am making an application that draws shapes and I use the camera to come to other places. Actually, suppose I have a 4x3 rectangle and want to use glagicsx to get all the pixels for 1024x768, but my monitor can not support that resolution. How can I render something bigger than the monitor? So I can save a picture of the figures on the arbitrary resolution of the user. Using glviewport will extend beyond frame so can i just make glgetpixels?

Thank you

By defining an FBO (frame buffer object) RTT (render-to-texture) can do. Check glBindFramebufferEXT ()

And after drawing the view, you can execute glGetTexImage () and retrieve the pixels for it.

RTT is a very well-established and documented technique.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -