Installing Pixel Blaster
Downloading and Compiling
Download the tar file here.Extract it with:
tar -xzf npb-1.2.tar.gzand enter the directory.
Open the Makefile and set WALL_COLS and WALL_ROWS to 3, TILE_RES_X to 1280 and TILE_RES_Y to 1024:
CFLAGS = -g -O2 -DWALL_COLS=3 -DWALL_ROWS=3 -DTILE_RES_X=1280 -DTILE_RES_Y=1024Now compile using:
makeThe executable npb will be made.
Configuring
Remember that Pixel Blaster runs best with Chromium 1.2. So you will need to download version 1.2 and compile it following these steps.After that is done, you can make the configuration file that Chromium will use to run npb. To make the .conf file, you can simply edit the test_wall.conf that was made to run Chromium on the display wall. We'll call it test_npb.conf.
test_npb.conf
All that needs to be added is a 'dist_texture' spu before each 'render' spu.Right before the line node.AddSPU( renderspu ), add these 2 lines:
texturespu = SPU( 'dist_texture' )Now we can use this file when starting Chromium with npb.
node.AddSPU( texturespu )






