mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 15:55:29 +00:00
18 lines
724 B
Plaintext
18 lines
724 B
Plaintext
{\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
|
||
}
|
||
|