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

Author Topic: Twitching graphics with tile based maps  (Read 2721 times)

0 Members and 1 Guest are viewing this topic.

Brodal

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Twitching graphics with tile based maps
« on: December 03, 2012, 02:01:31 pm »
I'm having a weird problem when im using tiles to render my map. Every now and then i get vertical twitching. Like thicker vertical lines that gro through the tiles. I have tried enabling vertical sync so that is not the problem and i can not figure out what is causing this. So if anyone know what the problem is and how to fix it please tell me. I'm also posting a link to a video showing what the problem is. The problem is the thicker lines that appear for a couple of milliseconds every now and then so watch the video for a while to spot them. http://www.youtube.com/watch?v=nqXuB80V5aQ&feature=youtu.be
« Last Edit: December 03, 2012, 02:06:58 pm by Brodal »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10823
    • View Profile
    • development blog
    • Email
Re: Twitching graphics with tile based maps
« Reply #1 on: December 03, 2012, 02:18:43 pm »
Really sounds like tearing. Vsync should fix this, just make sure that you don't force it to off by your driver (i.e. you can set it in SFML but it has no effect since the driver forces it to off).

As for the video, I get:
Quote
This video contains content of FFT. The partner blocked the video because of copyright reasons.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Brodal

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Re: Twitching graphics with tile based maps
« Reply #2 on: December 03, 2012, 02:23:59 pm »
I will try that thing and see if Vsync is forced to off. What the hell is FFT? >_< I'm not using anything called FFT :E

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10823
    • View Profile
    • development blog
    • Email
Re: Twitching graphics with tile based maps
« Reply #3 on: December 03, 2012, 02:28:39 pm »
What the hell is FFT? >_< I'm not using anything called FFT :E
Well I guess your run into some faulty YouTube filter, that thought your content is connected to FFT, whatever that is...
Go to the video manager and file a complaint. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Brodal

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Re: Twitching graphics with tile based maps
« Reply #4 on: December 03, 2012, 02:58:01 pm »
Seems like it was the drivers that caused the thick lines, though I'm still having small graphic glitches from time to time that i don't know where they come from. It's like a twitching thing :/... I just removed the video instead of complaining. They won't do anything if i just remove the video right? ^^

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Twitching graphics with tile based maps
« Reply #5 on: December 03, 2012, 03:06:37 pm »
You can upload a screenshot of the problem directly on this forum, if you want.
Laurent Gomila - SFML developer

Brodal

  • Newbie
  • *
  • Posts: 35
    • View Profile
    • Email
Re: Twitching graphics with tile based maps
« Reply #6 on: December 03, 2012, 04:55:48 pm »
I have tried to record the problem now so that i can take a screenshot of it, but the weird thing is that my recording program is not picking up the graphical glitch. It is just visible to me when I am playing the game. Anyone have any ideas about that?. I have changed my vertical synchronization settings on my gfx card so that it lets the application decide wether to use vsync or not. I have tested this game on three different computes and they all experience the same thing.
« Last Edit: December 03, 2012, 05:05:02 pm by Brodal »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10823
    • View Profile
    • development blog
    • Email
Re: Twitching graphics with tile based maps
« Reply #7 on: December 03, 2012, 05:15:14 pm »
I have changed my vertical synchronization settings on my gfx card so that it lets the application decide wether to use vsync or not. I have tested this game on three different computes and they all experience the same thing.
The cut the problem down to a minimal but complete example that reproduces the problem and post it here, so we can find out where your problem is. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/