How do I specify my OpenGL context to draw to an image array instead of a window

What I would like to know is how I would implement a camera instead of a window for my graphics drawings.
Your question doesn't really make sense to me if interpreted literally, but if you're asking about how to implement a camera/perspective projection in OpenGL, these sites have good tutorials:
http://www.opengl-tutorial.org/beginners-tutorials/tutorial-3-matrices/#the-model-view-and-projection-matrices
https://learnopengl.com/Getting-started/Camera
https://open.gl/transformations

You should know how to draw the "hello world" triangle before doing this.
Last edited on
Topic archived. No new replies allowed.