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 Professional Discussion / Sky boxes and sky spheres

Author
Message
Mucky Muck Ninja
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: im not entirely sure
Posted: 19th Mar 2004 21:27
how exactly do i create a sky box or sphere? Just making a sphere and texturing it doesn't work.

Am I an Idiot...or is everyone else just really smart?
ReD_eYe
22
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 19th Mar 2004 22:14
you have to turn culling off on your skysphere/box, that lets you see inside it.
set object cull sky,0

although it still won't looks great, best way is to model and texture one yourself.

In the beginning, the universe was created...
This made alot of people very angry and it has been widely regarded as a bad idea...
Visit http://redeye.dbspot.com
Dark Mecha
22
Years of Service
User Offline
Joined: 4th May 2003
Location:
Posted: 19th Mar 2004 22:16
Ok. Fisrt make a sphere that about 5000 in size. Then set object to cull. Texture it. In you do/sync/loop position the sphere at you players position so Position object 1,object poisition x(player object number or camera),object poisition y,player object number or camera),object poisition z(player object number or camera)

Hoped that helped
Chaos
P.S BTW the code is in the code base. You should check it out.

I DO NOT EXIST
Mucky Muck Ninja
21
Years of Service
User Offline
Joined: 4th Sep 2003
Location: im not entirely sure
Posted: 19th Mar 2004 23:07
thanks

Am I an Idiot...or is everyone else just really smart?
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 20th Mar 2004 00:41
always position the sphere at the camera level, not objects...

also, turn off object lighting so that you don't see any shadows on the sphere/box

The Unofficial DarkBASIC Magazine : http://www.dbspot.com/j2dstudios/

Login to post a reply

Server time is: 2025-06-04 18:54:00
Your offset time is: 2025-06-04 18:54:00