1
Graphics / Working with LoadFromPixels
« on: April 15, 2010, 01:37:21 am »
All Im doing right now is taking my SFML Image and calling LoadFromPixels on my image buffer. Then Im setting the sprite's source to that image. Then Im drawing it into my RenderWindow instance and calling display.
As you point out, Im definitely spending the the vast amount of time on the actually 3D. Theres things I can do (not related to SFML) to improve that and Im looking into those.
However, I'd also want to make sure that Im not wasting time doing something obviously wrong when getting my image up onto the screen.
As you point out, Im definitely spending the the vast amount of time on the actually 3D. Theres things I can do (not related to SFML) to improve that and Im looking into those.
However, I'd also want to make sure that Im not wasting time doing something obviously wrong when getting my image up onto the screen.