VM Labs SDK Sample Code |
\vmlabs\sample\mml3d\walkthru |
Copyright © 2000-2001 VM Labs, Inc. All Rights Reserved |
April 11, 2001 |
To build the sample type
gmake
in the doc/sample/mml3d/walkthru directory.
To load the sample, type
gmake load
in
the doc/sample/mml3d/walkthru directory. You should
see a building and the nearby ponds and paths.
You can display interesting information, control the processing, and navigate through the demo using a game controller. The key mappings are as follows:
Controller button | Action |
up arrow
|
rotate camera around x axis, up |
down arrow
|
rotate camera around x axis, down |
right arrow
|
rotate camera around y axis, right |
left arrow
|
rotate camera around y axis, left |
Start
|
return to origin |
trigger
|
display rendering stats (number of polygons; number of frames per second) |
A
|
toggle edge anti-aliasing |
B
|
toggle bilerp filtering |
joystick up
|
translate camera z up |
joystick down | translate camera z down |
joystick left | rotate camera y left |
joystick right | rotate camera y right |
left trigger | add another copy of the model cube to the rendering list (use Start to recover) |
right trigger | toggle mipmap |