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.

Newcomers DBPro Corner / How to make a sky?

Author
Message
ZioNz
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 15th Nov 2003 03:21
I have to make a sky, i tryed with a huge box in the air but that looks very bad..., another problem i have is a shadow that's always in the bottom of the screen:


Any idea and help would be appreciated.

-
treedomordeath
21
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 15th Nov 2003 04:53
you need to leave some code so someone can look at it....as for a sky i suggest "fog on",i think that is your only choice outside if placing a textured box overhead.

"...the only thing we have to fear is fear itself."-JFK
ZioNz
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 15th Nov 2003 04:58
I added here the code im using

-
treedomordeath
21
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 15th Nov 2003 15:21
it just hit me,you can "make matrix ..." and position that matrix above your ground matrix (atleast 200). with some intution on your part it could work and look great.

"...the only thing we have to fear is fear itself."-JFK
BB9 Brad
21
Years of Service
User Offline
Joined: 6th Oct 2003
Location:
Posted: 15th Nov 2003 18:34
What a kool idea! treedomordeath

DB RULES!
hexGEAR
22
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Naytonia
Posted: 15th Nov 2003 19:12
oooh but you gotta watch those poly's and using a 1*1 matrix will require a v.large texture that could slow the game down, using a 2*2 or more would require seemless textures and believe me, that ain't good for the sky your best bet is a sky box/sphere with really cool textures or fog to cover-up problems.

treedomordeath
21
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 15th Nov 2003 20:10
if the matrix is high enough the the details won't show...and i did say he would have to use some imagination, a sphere is a better than a box but he would have the same problem as a box, either low rez(because the pic got streched or a x-treamly high rez pic that take up resources that can be used else where).

"...the only thing we have to fear is fear itself."-JFK
ZioNz
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location:
Posted: 16th Nov 2003 08:44
Hi, thanks all for helping. I finally was able to make a decent skybox using good textures. Anyone knows what's that shadow (in picture)???

-
IanM
Retired Moderator
22
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 16th Nov 2003 12:38
I haven't tried your code, but I think it could be something to do with this line:

set camera range 10,11000

Change it to the following, and see if things get better:

set camera range 1, 11000
treedomordeath
21
Years of Service
User Offline
Joined: 13th Nov 2003
Location:
Posted: 16th Nov 2003 15:50
i think it is the lighting, try "set ambeint light value" the value should be between 0 (complete darkness to 100 (very bright).

"...the only thing we have to fear is fear itself."-JFK

Login to post a reply

Server time is: 2024-11-25 17:28:42
Your offset time is: 2024-11-25 17:28:42