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 - alex_aramian

Pages: [1]
1
Graphics / Speed up SFML runing
« on: October 27, 2019, 11:18:21 am »
I really like SFML, I use it very frequent. But today I wrote a code that generates a color gradient. Before that I had no idea how can I make so except drawing pixel by pixel on an sf::Image. Once I've finished I ran the code. It did run but first I saw a black window (not console) and after the gradient came up. I understood why do I see such an effect, the code running speed is kinda slow. But I think there's no way faster to do this task, so I think SFML should be speeded up (not only for this project). Please correct me if I'm wrong!

Pages: [1]
anything