Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / How to make display wave like the mirage on roads

Author
Message
ThaiForce
14
Years of Service
User Offline
Joined: 8th Dec 2011
Location: Thailand
Posted: 8th Dec 2011 16:35
Please help me this is my first post.
I want to make a wave display like "hot ray" or"the mirage on roads".

For example : Do you know the "Tom clancy's H.A.W.X" when the planes are takeoff or fly on the sky. Behind of jet engine have a "hot ray".

If you understand what I want. Please give me some code for succeed.
Thank you very much....

nutthanonzadota
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 8th Dec 2011 17:21 Edited at: 8th Dec 2011 17:29
You could make a trick with images, but that slows down fps() . Have a look to this example.




Cheers.

I'm not a grumpy grandpa
ThaiForce
14
Years of Service
User Offline
Joined: 8th Dec 2011
Location: Thailand
Posted: 9th Dec 2011 12:58
I will be try. Thank you very much.chafari

nutthanonzadota
Virtual Nomad
Moderator
20
Years of Service
User Offline
Joined: 14th Dec 2005
Location: SF Bay Area, USA
Posted: 9th Dec 2011 16:52 Edited at: 9th Dec 2011 16:53
you should look at this heat haze shader by sixty squares .

i think it will deliver the effect you're looking for.

Virtual Nomad @ California, USA . DBPro V7.5
AMD Phenomâ„¢ X4 9750 Quad-Core @ 2.4 GHz . 8 GB PC2-6400 RAM
ATI Radeon HD 3650 @ 512 MB . Vista Home Premium 64 Bit
ThaiForce
14
Years of Service
User Offline
Joined: 8th Dec 2011
Location: Thailand
Posted: 10th Dec 2011 02:58
Thank for your tip. Virtual Nomad

nutthanonzadota

Login to post a reply

Server time is: 2026-07-09 17:41:44
Your offset time is: 2026-07-09 17:41:44