Debian Codegraph @

examples/00-README

raw
1 This directory contains OpenGL example programs from various sources:
2
3 * BOGLP: Contains some examples from the book "Beginning OpenGL Game
4 Programming", 2nd ed., by Benstead/Astle/Hawkins.
5
6 * Misc: Contains a few random examples from e.g. the Mesa sources.
7
8 * OrangeBook: Contains an example from the book "OpenGL Shading Language",
9 3rd ed, by Rost/Licea-Kane/Ginsburg/Kessenich/Lichtenbelt/Malan/Weiblen.
10
11 * RedBook4: Contains all examples from the book "OpenGL Programming Guide:
12 The Official Guide to Learning OpenGL, Version 1.4", 4th ed., by
13 Shreiner/Woo/Neider/Davis.
14
15 * RedBook8: Contains various examples from the book "OpenGL Programming
16 Guide: The Official Guide to Learning OpenGL, Version 4.3", 8th ed., by
17 Shreiner/Sellers/Kessenich/Licea-Kane.
18
19 If you have 'make' and 'ghc' installed, you can just issue 'make' at any
20 directory level to compile the examples. 'make clean' cleans up afterwards, and
21 you can use '-j [N]' for parallel builds. Directly loading the examples into
22 e.g. ghci is possible, too, just ':load' an example and run it via 'main'. For
23 some examples, you might have to extend the search path like '-i../common', see
24 the corresponding Makefile.