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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tumlee

Pages: [1]
1
Hello, I am giving a SFML a test run to in preparation for migrating from using SDL for my games. Right now I am getting myself familiar with all the classes and functions. Something that is crucial thing I took advantage of in SDL was being able to directly modify the pixels on the screen as well as on sprites that would be drawn to the screen almost immediately (An example where I use this is for drawing an image with a "TV static" effect, or a sky full of stars that constantly shift hue in the background)

It appears that the only class where this is possible in SFML is the sf::Image class, which apparently can't be drawn directly to an sf::RenderWindow. So would I have to copy it to an sf::Texture first, or would that be too slow to do rapidly? Is there a better method I'm not thinking of?

Pages: [1]
anything