Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

avoid flickering (c++/opengl/sdl)

4: Adsense

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   

345
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.


#2 Kimmi   Members   

686
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.