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
Kevin
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: Glasgow, Scotland
Posted: 11th Nov 2005 17:20
How do you load the Sky Sphers from dark basic into your program???

KH
HWT
20
Years of Service
User Offline
Joined: 1st Apr 2005
Location: Earth
Posted: 11th Nov 2005 22:29
Hi there

What exactly do you mean by that? Do you want to load a sky sphere into your world ?

HelloWorld Tommorrow
Gowmars
21
Years of Service
User Offline
Joined: 26th Sep 2003
Location: United States
Posted: 12th Nov 2005 13:09 Edited at: 12th Nov 2005 13:13
If you want to load the sky sphere into your program just use the load object command. Treat it like any other 3D model that you would load in to the game. You also may have to do some resizing to get it the size you want, so if you don’t see it after you load it, it may be too big or small. If you need it big you may have to make the range that the camera can see bigger.

TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 12th Nov 2005 19:13
Normally you would place your sky sphere/box at the same 3D location as your player/camera so as you move around, you never ever reach it's extremities.

This places your player inside the sphere/box object which renders it invisible.

So, you also have to remember to alter the cull flag using the Set Object command to make the texture visible from inside the sphere/box.

TDK_Man

Login to post a reply

Server time is: 2025-05-22 13:12:08
Your offset time is: 2025-05-22 13:12:08