You are not logged in.
Hi,
I have a 2 dimensional array ( grid[400][400] ), is it possible to draw to the screen a colour dependent on the value in that position....
ie
for(int x = 0; x<400; x++)
{
for(int y = 0; y<400 ; y++)
{
PIXEL_COLOUR[x][y] = grid[x][y]
}
}or something like that?
thanks
Offline
To read, try using GRRLIB_GetPixelFromFB OR GRRLIB_Screen2Texture with GRRLIB_GetPixelFromtexImg.
To draw a pixel on the screen use GRRLIB_Plot.
Offline