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 / SkySpheres?

Author
Message
Ub3rS0ldAt Patriot of War
20
Years of Service
User Offline
Joined: 8th Dec 2003
Location: United States! Support the Soldiers!
Posted: 25th Jan 2004 03:39
How do I make a skysphere to follow the player, and not be effected by fog or camera range distance?


.:Leader of BoX-Softare Gaming Company:.
TKF15H
21
Years of Service
User Offline
Joined: 20th Jul 2003
Location: Rio de Janeiro
Posted: 25th Jan 2004 04:31
in every loop do this:
position object sky, camera position x(), camera position y(), camera position z()

and at the beginning of the program do this:
sky=1
create object sphere sky,6000
set object collision off sky
set object fog sky,0
set object light sky,0
fade object sky,50
set object sky,1,1,0


You may have to adjust a few things...

Why do programmers always mix up Christmas and Halloween?
Because DEC 25 = OCT 31
Ub3rS0ldAt Patriot of War
20
Years of Service
User Offline
Joined: 8th Dec 2003
Location: United States! Support the Soldiers!
Posted: 25th Jan 2004 05:27
It worked perfectly. Thanks.

.wner of BoX-Softare Gaming Company:.

Login to post a reply

Server time is: 2024-09-21 18:23:56
Your offset time is: 2024-09-21 18:23:56