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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -