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

Author Topic: have fast moving sprites without distortion?  (Read 13471 times)

0 Members and 1 Guest are viewing this topic.

Beernutts

  • Newbie
  • *
  • Posts: 17
    • View Profile
have fast moving sprites without distortion?
« Reply #15 on: December 21, 2011, 10:12:29 pm »
FYI, some older flat-screen LCD monitor's do have bad motion-blur, and it would look like a fast-moving object would leave a "trail"

nitrix

  • Newbie
  • *
  • Posts: 27
    • View Profile
have fast moving sprites without distortion?
« Reply #16 on: December 22, 2011, 02:32:00 pm »
Yeah on older monitors, the pixels appears still lit for few millisecond while its turning off I guess.

Maybe you can enable vertical sync and expect better results?
sf::Window::enableVerticalSync(bool);

Amelia

  • Newbie
  • *
  • Posts: 1
    • View Profile
have fast moving sprites without distortion?
« Reply #17 on: March 07, 2012, 09:53:17 am »
It seems that the monitor can not redraw fast enough and the sprites seem to leave a trail a few pixels, as it's not cleaning the old sprite position
« Last Edit: January 14, 2013, 12:20:48 pm by Amelia »

JayArby

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
have fast moving sprites without distortion?
« Reply #18 on: March 09, 2012, 05:02:15 am »
Quote from: "Amelia"
It seems that the monitor can not redraw fast enough and the sprites seem to leave a trail a few pixels, as it's not cleaning the old sprite position


You are calling RenderWindow::Clear(), right? It doesn't clear automatically...

 

anything