Opentk/Source/Examples/OpenGL/1.x/DisplayLists.rtf
thefiddler 8dcb8601a2 Normalized line endings
Hopefully this is the first and last time we have to do this.
2013-10-11 01:58:54 +02:00

23 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{\rtf1\ansi\ansicpg1253\deff0{\fonttbl{\f0\fnil\fcharset0 Arial;}}
{\colortbl ;\red163\green21\blue21;}
{\*\generator Msftedit 5.41.21.2509;}\viewkind4\uc1\pard\cf1\lang1033\b\fs28 Introduction\b0\fs22\par
\par
This sample demonstrates the concept of "display lists", which was introduced in OpenGL 1.1.\par
\par
Display lists provide the fastest way to display static geometry (even faster than vertex buffer objects in some cases). On the other hand, geometry built into a display list cannot be modified after the fact.\par
\par
Please note that display lists are not supported in OpenGL 3.1 or higher.\par
\b\fs28\par
Controls\par
\b0\fs22\par
Press Esc or click the close button to exit.\par
\par
\b\fs28 Implementation\par
\b0\fs22\par
1. The OnLoad event handler builds the display lists. OpenGL commands placed within a GL.NewList()-GL.EndList() region are recorded into the display list. (Note that some OpenGL commands cannot be recorded - consult the OpenGL reference for more information).\par
\par
2. The OnRenderFrame event handler uses GL.CallLists() to render the display lists. This command takes an array of valid display list ids and "replays" the commands recorded in each list.\par
\par
3. The OnUnload event handler uses GL.DeleteLists() to clean up the display lists.\par
}