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 / sky spheres.............

Author
Message
HiveMind
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location:
Posted: 6th Jul 2003 01:41
I am having problems loading the sky spheres into DB off the enhancement pack all that seems to happen is the screen just goes the useual blue colour when nothing is on.
I was wondering if there is a specific skybox/sphere command or a size that is advised to be used with the scale object command due to draw distances.
Thanks in advance HiveMind.
ReD_eYe
22
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 6th Jul 2003 18:58
load image "Skyspheretexture.bmp",1
make object sphere 1,-5000
texture object 1,1

that will make you a decent sized sky sphere, remember to set the size to a minus value!!!
you could move the skysphere at the same time as the player as well meaning you won't have to have such a big sphere but it will affect how far you can see.

hi guys
HiveMind
21
Years of Service
User Offline
Joined: 1st Jul 2003
Location:
Posted: 7th Jul 2003 05:14
tThanks red eye my TBS is coming along nicely now, I'll let people know more when I get my site up fully.

Rabid Spatula
22
Years of Service
User Offline
Joined: 5th Mar 2003
Location:
Posted: 7th Jul 2003 08:03
Thanks from me too, I know have a great skysphere for my game But how do you make it so the skysphere moves with the player?

ReD_eYe
22
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 7th Jul 2003 11:10
assign the sky sphere object the same position variables as the player
position object skysphere,playerx,playery,playerz

hi guys

Login to post a reply

Server time is: 2025-05-19 16:05:25
Your offset time is: 2025-05-19 16:05:25