summaryrefslogtreecommitdiffstats
path: root/sdl/GL_notes.txt
blob: a370290fb7431459274028a4a8a435cb46e7041f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Performance
- Depth Testing, aka Z-buffer
- Culling: don't render what you can't see

Terms
- Winding: by default, primitives that follow in CCW fashion are front facing

Projections
- Orthographic: glOrtho(), define visibility in a *volume*
- Perspective: gluPerspective()

Transformations
- Viewing: specifies the location of the viewer or camera (must be specified first)
- Modeling: moves objects around the scene
- Modelview: describes the duality of viewing and modeling transformations
- Projection: sizes and reshapes the viewing volume (squishing 3D data down into 2D)
- Viewport: a pseudo-transformation that scales the final output to the window

Matrices
- Modelview
- Projection
- Texture

Buffers
- Color Buffer
- Depth Buffer, aka Z-buffer
- Stencil Buffer
- Multisampling Buffer
- Accumulation Buffer: this buffer allows you to render to the color buffer, and
  then instead of displaying the results in the window, copy the contents of the
  color buffer to the accu-mulation buffer.
- Front Buffer
- Back Buffer

Terms
 - Dithering: simulate displaying wider range of colors on on systems with small
   amount of colors
 - Texture Filtering: process of calculating color fragments from a stretched or
   shrunken texture map   
   
OBJ Loader
- glGenTextures()
- glBindTextures() 

Pipeline
- Display Lists: precompile series of OpenGL commands (static)
- Vertex Array: modifiable, gets rid of glBegin() and glEnd() ?