
9.7. The Renderer module 359
completed the OpenGL color buffers (and the depth buffer) have to be copied
into the CPU buffers for writing to the outp u t files. This done in two of the
functions in the file “renergl.c”, CopyGLtoFSB() and CopyGLtoZdepth().
Irrespective of which output target is chosen, the scene is rendered from the
camera view in function RenderCameraView(...) in file “rendergl1.c”. As all
the vertices were transformed to match a camera located at (0, 0, 0) the s cen e
can be rendered without the need for any further transformations. However,
to be able to deliver an anti-aliased result, th e scene is drawn using a function
Draw3dScene()