Ok, so I have an sfImage and an sfSprite (which has its Image set to my image), and an array likes this : "sfUint8 pixels[ScreenHeight][ScreenWidth]" ? Then every frame I calculate as many points as I want, set their colour in the pixels array, load those into the image, draw the Sprite into the window?
One question: how come I have to use 1-byte integers? Won't this limit me to 8 bpp color depth?
UPDATE: Just realized it says it assumes RGBA colour. So does this mean my pixels array will have to be malloc(ScreenHeight * ScreenWidth * 4 * sizeof(sfUint8)) ?
Also, I didn't realize the circles always use 40 points. Why not have SFML calculate how many are necessary?
BTW I'm using csfml 2.0.