1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
4<head>
5    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6    <meta http-equiv="Content-Style-Type" content="text/css" />
7    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
8</head>
9
10<body>
11<h1>gx - ProcTexEditor - ProcTexEditor Demo</h1>
12
13<h2>Description</h2>
14
15<div class="section">
16<p>This sample edits the parameters of procedural textures</p>
17</div>
18
19<h2>Required Environment</h2>
20
21<div class="section">
22<p>None.</p>
23</div>
24
25<h2>How to Use</h2>
26
27<div class="section">
28    <table>
29        <thead>
30        <tr>
31<th>Input</th>
32<th>Operation</th>
33        </tr>
34        </thead>
35        <tr>
36<td>+Control Pad Left/Right</td>
37<td>Changes the edit position (In) in the lookup table.<BR>Holding down the L or R buttons increases the speed.</td>
38        </tr>
39        <tr>
40<td>+Control Pad Up/Down</td>
41<td>Changes the edit position (Out) in the lookup table.<BR>Holding down the L or R buttons increases the speed.</td>
42        </tr>
43        <tr>
44<td>X Button.</td>
45<td>Changes the value (Out) in the lookup table to 128.</td>
46        </tr>
47        <tr>
48<td>Y Button.</td>
49<td>Changes the value (Out) in the lookup table to 0.</td>
50        </tr>
51        <tr>
52<td>B Button.</td>
53<td>Switches the color lookup table filter between NEAREST and LINEAR.</td>
54        </tr>
55        <tr>
56<td>A Button.</td>
57<td>Saves the captured image to SD Card if an SD Card is inserted.</td>
58        </tr>
59        <tr>
60<td>Circle Pad</td>
61<td>Changes the cameras' position. Refer to the log displayed in debug output.</td>
62        </tr>
63        <tr>
64<td>Touch panel</td>
65<td>Changes various procedural texture settings. <br />The lookup table can be edited directly using the touch pen in the upper-left graph window.<BR>The band below the graph shows a sample of the color that will be output.</td>
66        </tr>
67   </table>
68</div>
69
70
71</div>
72
73<h2>Notes</h2>
74
75<div class="section">
76    <ul>
77<li>If an SD Card is inserted, the procedural texture will be loaded and saved, and you can capture photos of the screen. These operations are performed on the touch panel.</li>
78    </ul>
79</div>
80
81<h2>Execution Procedure</h2>
82
83<div class="section">
84<p>The following screens are displayed when you run the demo. Adjust the stereoscopic image with the 3D slider.</p>
85
86    <p><img src="Fig/ProcTexEditor.PNG"></p>
87
88<p>Images can be moved using the Circle Pad in combination with the L and R Buttons.<br/>Each procedural texture setting can be changed using the touch panel.</p>
89    <ul>
90<li>LUT size: Lookup table width selection (2, 4, 8, 16, 32, 64, or 128)</li>
91<li>S (Min side): Polygon left edge texture coordinate (to 0.0)</li>
92<li>S (Max side): Polygon right edge texture coordinate (0.0 and up)</li>
93<li>T (Min side): Polygon bottom edge texture coordinate (to 0.0)</li>
94<li>T (Max side): Polygon top edge texture coordinate (0.0 and up)</li>
95    </ul>
96    <ul>
97<li>Save: Saves parameters</li>
98<li>Load: Loads parameters saved using the Save button</li>
99<li>Capture: Saves captured images to SD Card</li>
100    </ul>
101    <ul>
102<li>Fc: Change the lookup table being edited to F function (color)</li>
103<li>Fa: Changes the lookup table being edited to F function (alpha) (only in alpha separate mode)</li>
104<li>R: Changes the lookup table being edited to Red Component Table</li>
105<li>G: Changes the lookup table being edited to Green Component Table</li>
106<li>B: Changes the lookup table being edited to Blue Component Table</li>
107<li>A: Changes the lookup table being edited to Alpha Component Table</li>
108<li>Nz: Changes the lookup table being edited to Noise Function</li>
109    </ul>
110    <ul>
111<li>Preset: Selects the preset function (name displayed on the right) using the &lt; and &gt; controls below, and overwrites the lookup table with Copy</li>
112<li>Unified/Separate: Switches between unified mode and alpha separate mode</li>
113<li>Gc(x): Selects the G function (color)</li>
114<li>Ga(x): Selects the G function (alpha) (alpha separate mode)</li>
115    </ul>
116    <ul>
117<li>Color: Switches whether to apply lookup tables to each component (R, G, B, and A)</li>
118<li>BG: Changes the background color of the upper screen (from 0.0 to 1.0 in steps of 0.1)</li>
119    </ul>
120    <ul>
121<li>Noise: Changes the set of noise parameters (same operation for both U and V components)</li>
122<li>ON/OFF: Enables and disables noise</li>
123<li>F, P, A: Enables and disables the noise parameters (F, P, and A) (Parameters are adjusted using the + and - controls)</li>
124<li>Stop/0.XXX: Sets the value to be added each frame when the noise parameter P varies each frame (no change when stop is used)</li>
125<li>Clamp: Switches the texture clamp mode</li>
126<li>Shift: Switches the texture shift mode</li>
127    </ul>
128
129
130
131<p>The following log is also displayed in debug output.</p>
132    <pre class="code">
133Initialize Memory
134Initialize Memory
135    Main   : 0x08800000 - 0x09C00000
136    Device : 0x14000000 - 0x16000000
137Translate object -X/+X : Slide pad left/right .
138Translate object -Y/+Y : Slide pad down/up    .
139Translate object -Z/+Z : Slide pad down/up    + L .
140Rotate object    -X/+X : Slide pad down/up    + R .
141Rotate object    -Y/+Y : Slide pad left/right + R .
142Rotate object    -Z/+Z : Slide pad left/right + L .
143Scale object     -X/+X : Slide pad left/right + L + R .
144Scale object     -Y/+Y : Slide pad down/up    + L + R .
145[Status] SD card found.
146[Status] Read procedure parameter files from SD card .</pre>
147
148</div>
149
150<h2>Revision History</h2>
151
152<div class="section">
153    <dl class="history">
154        <dt>2011/03/14</dt>
155<dd>Added a screenshot of the program running.</dd>
156        <dt>2011/02/02</dt>
157<dd>Initial version.</dd>
158    </dl>
159</div>
160
161
162<hr><p>CONFIDENTIAL</p></body>
163</html>