OpenCores
URL https://opencores.org/ocsvn/theia_gpu/theia_gpu/trunk

Subversion Repositories theia_gpu

[/] [theia_gpu/] [branches/] [gpu_8_cores/] [examples/] [shaders/] [example1/] [Params.mem] - Rev 131

Go to most recent revision | Compare with Previous | Blame | View Log

//Configuration octect count
43 //2A
//Configuration Packet I:
//<Environment Light>,<Number of Lights in scene>,<Configuration Packet Count>
0 20000 9

//Configuration Packet II:
//<Camera X>,<Camera Y>, <Camera Z>
0 40000 20000

//Configuration Packet III:
//<Projection Window Xmin>,<Projection Window Ymin>, <NULL>
fff80000 fff80000 0

//Configuration Packet III:
//<Projection Window Xmax>,<Projection Window Ymax>, <NULL>
80000 80000 0

//<Width>, <Height>,<NULL>
1900000 1900000 0       //200x200

//The texture widht /height
2000000 2000000 0
//---------------------------------------------------
//From here it depends on the number of cores
//Core0
//Pixel 2D Initial Position (Row/Col)
0 0 0

//Pixel 2D Final Position (Row/Col)
1900000  320000 0               //200 25 0

//Core1
//Pixel 2D Initial Position (Row/Col)
0 320000 0              //0 25 0

//Pixel 2D Final Position (Row/Col)
1900000  640000 0                       //200 50 0

//Core2
//Pixel 2D Initial Position (Row/Col)
 0 640000 0                     //0 50 0



//Pixel 2D Final Position (Row/Col)
 1900000  960000 0                      //200 75 0

//Core3
//Pixel 2D Initial Position (Row/Col)
0 960000 0                      //0 75 0


//Pixel 2D Final Position (Row/Col)
1900000 C80000 0 //200 100 0

//Core4
//Pixel 2D Initial Position (Row/Col)
0 C80000 0

//Pixel 2D Final Position (Row/Col)
1900000  FA0000 0               //200 125 0

//Core1
//Pixel 2D Initial Position (Row/Col)
0 FA0000 0              //0 125 0

//Pixel 2D Final Position (Row/Col)
1900000  12C0000 0                      //200 150 0

//Core2
//Pixel 2D Initial Position (Row/Col)
 0 12C0000 0                    //0 150 0


//Pixel 2D Final Position (Row/Col)
 1900000  15E0000 0                     //200 175 0

//Core3
//Pixel 2D Initial Position (Row/Col)
0 15E0000 0                     //0 175 0


//Pixel 2D Final Position (Row/Col)
1900000 1900000 0 //200 200 0


//---------------------------------------------------



//Light 0 Position:
40000 0 a0000
//Light 0 Diffuse:
20000 20000 20000

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.