SFML community forums

Help => Graphics => Topic started by: sgthale on December 08, 2010, 12:38:49 am

Title: Painting per pixel
Post by: sgthale on December 08, 2010, 12:38:49 am
Is there any ways of painting pixels individualy with a color?
Title: Painting per pixel
Post by: Groogy on December 08, 2010, 01:02:30 am
If it's SFML2 then you could look at sf::RenderImage. Otherwise look at http://www.sfml-dev.org/documentation/1.6/classsf_1_1Image.htm#623f2379b30307b4ee4eb08d517d9584

You can render everything to an image by setting the images pixel per pixel and then render it to the window.

If you are looking for Fragment/Pixel Shaders then it is sf::PostFX(1.X) or sf::Shader(2.0) you are interested in.
Title: Re: Painting per pixel
Post by: Fierce_Dutch on December 08, 2010, 06:49:40 am
Quote from: "sgthale"
Is there any ways of painting pixels individualy with a color?


Well You could use Opengl... Along with SFML of course. You can draw points with that...