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.

Code Snippets / random heightmap and cloudy sky generator for DBP5.8

Author
Message
Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 2nd Jan 2006 22:02
Might be of use to someone. It contains various settings you can play with.

Let me know if you need help with the settings.

Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 6th Jan 2006 02:31
That is beautiful! Great work. Can't wait to try this out on a terrain.

(Beware of the concatenation needed to make this code work though - goto 'system options' and set '...' as the concatenation symbol)

Green Gandalf
VIP Member
19
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 12th Jan 2006 22:21
The code below produces a scrolling random cloudy sky which continually changes. The main code is based on my first post but some details had to be changed to make the clouds scroll smoothly while changing the images.

On my machine I was able to get smooth scrolling with n=8 (i.e. 256x256 bitmaps) giving a screen fps of about 50.

The program displays the first two cloud images and them performs the scrolling.


Zotoaster
19
Years of Service
User Offline
Joined: 20th Dec 2004
Location: Scotland
Posted: 14th Jan 2006 15:04
incredible!

x1b
20
Years of Service
User Offline
Joined: 19th Sep 2004
Location:
Posted: 14th Jan 2006 19:28 Edited at: 14th Jan 2006 19:28
very cool

- Do it, Do it Right, Do it right now..

Login to post a reply

Server time is: 2024-11-23 07:43:40
Your offset time is: 2024-11-23 07:43:40