Currently browsing tag

cube

36. OpenGL Framebuffers

OpenGL Framebuffer Tutorial Preview
If you want to use any type of off screen rendering process, then frame buffers are probably the go for you. They allow you to render an entire scene, directly to a texture.

6. OpenGL Cube (Version 2.0)

OpenGL Cube Tutorial PreviewFrom basic 2D shapes, 3D shapes are built. And whilst complex, there are some which are provided to us by GLUT, one of those being your standard cube, made up of 12 triangles and 8 vertices, why hand code it yourself?