Warning - for use with old version of Maverik (5.4) click here for latest versions

Enabling Tile Rendering

Download tr-1.1.tar.gz from www.mesa3d.org, gunzip and untar.

Making tr-1.1

Edit the Makefile CC and CFLAGS lines:

	CC= gcc
	CFLAGS= -c

make

(you get 1 unused variable warning).

Changes to Maverik (no need to change anything if you have used my updates)

Edit the lop level Maverik Makefile:

add

	"TRINCL= -DMAV_TR -I/home/keatesm/tr-1.1"\
	"TRLIBS= /home/keatesm/tr-1.1/tr.o"\

to the "make libs" section (replace /home/keatesm with the directory where tr-1.1 is installed).

The file Maverik-5.4/src/extras/TR/mav_tr.c needs #include <windows.h> before the #include "mavlib_tr.h"

make

Changes to an application

Add -lmav_tr after -lmaverik on the application Makefile link line.

Add #include "mav_tr.h" after #include "maverik.h" in your application and a call to mav_TRModuleInit (); after mav_initialise ();

You should now be able to dump oversampled/oversized images using ctrl-F3.

Fixed mav_tr.c

Download my updated mav_tr.c.gz (and gunzip to src/extras/TR) which allows tiling of arbitrarily sized images and is fixed for cygwin (updated 18/10/00).