tile_rect2d - A simple demo of how to break up a large texture into smaller texture tiles that fit into Tmem. This demo scrolls horizontally through a map that is (virtually) 1024x256. The large map is made up of four 256x256 maps. The tiling allows bilinear interpolation without creating seams. You can toggle between bilinear interpolation and point-sample modes using the 'B' button. The 'A' button toggles between printing out tile information or not. Use the joy stick to move left or right. This demo creates 2D texture rectangles as the display primitive. See the demo tile_rect3d to see an example that creates triangles. Rob rmoore@sgi.com
Name |
Last commit
|
History
|
Last Update |
---|---|---|
.. | ||
CVS | ||
GNUmakefile | ||
Makefile | ||
PCmake | ||
README | ||
cfb.c | ||
controller.c | ||
controller.h | ||
cv01.rgb | ||
cv02.rgb | ||
cv03.rgb | ||
cv04.rgb | ||
dram_stack.c | ||
main.c | ||
rsp_cfb.c | ||
spec | ||
static.c | ||
tile_rect.h | ||
tile_rectangle.c |