SFML community forums

Help => Graphics => Topic started by: Brodal on December 03, 2012, 02:01:31 pm

Title: Twitching graphics with tile based maps
Post by: Brodal 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
Title: Re: Twitching graphics with tile based maps
Post by: eXpl0it3r 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.
Title: Re: Twitching graphics with tile based maps
Post by: Brodal 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
Title: Re: Twitching graphics with tile based maps
Post by: eXpl0it3r 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. ;)
Title: Re: Twitching graphics with tile based maps
Post by: Brodal 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? ^^
Title: Re: Twitching graphics with tile based maps
Post by: Laurent on December 03, 2012, 03:06:37 pm
You can upload a screenshot of the problem directly on this forum, if you want.
Title: Re: Twitching graphics with tile based maps
Post by: Brodal 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.
Title: Re: Twitching graphics with tile based maps
Post by: eXpl0it3r 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. ;)