Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Painting per pixel  (Read 1921 times)

0 Members and 1 Guest are viewing this topic.

sgthale

  • Newbie
  • *
  • Posts: 9
    • View Profile
Painting per pixel
« on: December 08, 2010, 12:38:49 am »
Is there any ways of painting pixels individualy with a color?

Groogy

  • Hero Member
  • *****
  • Posts: 1469
    • MSN Messenger - groogy@groogy.se
    • View Profile
    • http://www.groogy.se
    • Email
Painting per pixel
« Reply #1 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.
Developer and Maker of rbSFML and Programmer at Paradox Development Studio

Fierce_Dutch

  • Full Member
  • ***
  • Posts: 138
    • View Profile
Re: Painting per pixel
« Reply #2 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...

 

anything