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 Discussion / Does anyone have the Terragen Skybox Script?

Author
Message
BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 10th Apr 2003 19:18
It is no longer available at GameDev Network

Thanks in advance, it's gonna save me a lot of time.

How do people make their skyboxes? I've found through experimenting that a 10% overlap with the ground, and a scenery level of about 20% of the total height produces realistic results.
Thanks in advance.
All the Best,
StevieVee
Pricey
23
Years of Service
User Offline
Joined: 22nd Feb 2003
Location:
Posted: 12th Apr 2003 21:21
there are really good sky boxes & sky spheres included in DarkMATTER

BatVink
Moderator
23
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 12th Apr 2003 21:34 Edited at: 12th Apr 2003 21:36
They are all too low resolution for my needs.

The good news is, I finally got my Skybox script working (thanks Rich for the pointers). It uses 6 plains, and is sized to be compatible with the camera clipping.

For anyone who wants it, here it is. To use it, #include skybox.dba, create a subdirectory called skybox for your 6 bitmaps, and call it with the object id you wish it to inherit, and the camera range. the code will do the rest for you.



This is my first contribution to the forums, after 2 weeks of DB programming. Any *constructive* criticism is appreciated. This code is intended to help those at a similar stage to myself in the learning process.

There is one hitch with the code at the moment, and that is the ceiling and floor planes are "missing". If anyone can spot the problem, let me know.

Thanks in advance.
All the Best,
StevieVee

Login to post a reply

Server time is: 2026-06-11 21:24:11
Your offset time is: 2026-06-11 21:24:11