Jump to content

  • Log In with Google      Sign In   
  • Create Account

avoid flickering (c++/opengl/sdl)


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 FGFS   Members   -  Reputation: 214

Like
0Likes
Like

Posted 28 February 2014 - 01:09 AM

HI

my rain effect is ok but wildly flickering for drops that run down. How to avoid that? I guess I need to draw in the background? Currently I only do a simple c++ function to draw

with Opengl and load the images with sdl.

Also I would want to create some kind of rain streaks running down.

Thanks

 

PS: it's a X-Plane plugin...


Edited by FGFS, 28 February 2014 - 01:16 AM.


Sponsor:

#2 Kimmi   Members   -  Reputation: 565

Like
1Likes
Like

Posted 28 February 2014 - 09:07 AM

Are you using bouble-buffering with OpenGL? If now: you should. You can check this in your SDL-configuration for your OpenGL-Context: just check the SDL-doc for this feature.

 

With best regards,

Kimmi


A complicate solution may indicate a not understood problem.


@KimKulling




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS