2013-10-10 23:58:54 +00:00
|
|
|
|
{\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 use of texture matrices to animate textures.\par
|
|
|
|
|
\b\fs28\par
|
|
|
|
|
Controls\par
|
|
|
|
|
\b0\fs22\par
|
|
|
|
|
Press Esc or click the close button to exit.\par
|
|
|
|
|
Move the mouse to rotate the camera.\par
|
|
|
|
|
\par
|
|
|
|
|
\b\fs28 Implementation\par
|
|
|
|
|
\b0\fs22\par
|
|
|
|
|
1. The OnLoad event handler loads the wormhole texture and builds a display list for a "wormhole" object.\par
|
|
|
|
|
\par
|
|
|
|
|
2. The OnRenderFrame event handler modifies the texture matrix to give the illusion of animation and renders the wormhole.\par
|
|
|
|
|
}
|
2010-10-02 18:52:34 +00:00
|
|
|
|
|