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

Pages: [1]
1
Graphics / (SOLVED) Sf::Image.CopyScreen() returns a lossy format?
« on: January 19, 2012, 09:08:07 pm »
Excellent suggestion.

SetSmooth(false) solved my problems - I don't know how long that would have taken me to discover on my own; thank you.

I'll try to ask future questions with some reduced code examples - I'm a rotten communicator in non-formal language X(

2
Graphics / (SOLVED) Sf::Image.CopyScreen() returns a lossy format?
« on: January 19, 2012, 08:32:33 pm »
Thanks for writing such a great library.

In my program I update the display by calling the CopyScreen() function, assigning the image to a sprite, and Y flipping the sprite. It's a simple board game, so I designed it this way to reduce the number of sf::sprite objects I need to keep track of - once an object is drawn on the board, it is there for the rest of the program's life.

I get some image corruption (blurring) every turn, which makes me think CopyScreen() or FlipY() is degrading the image. Is there a way to make the returned image from CopyScreen() (or FlipY()) non-lossy?

I can provide some code if this doesn't make sense.

Pages: [1]