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.

Author
Message
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 4th Oct 2006 06:39
ok guys hwo the heck do i use a skybox.. i meen whats a game without a sky..and the skybox is the thing i have no idea how to use. can someoen help me with this problem please. thanks

<img src="http://www.boomspeed.com/egraphics/75as4.gif" border="0" title="Adopt_one_today_from_pickle-green.com/egraphics!">
indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 4th Oct 2006 07:50
a skybox is basically a viewing limiter for your players
a skybox compliments the action as a background reference.
a skybox can be complex shapes moving in the sky
skyboxes can be cubes and or spheres or hemispheres or round shapes
skyboxes wont collide with anything so you can turn off collision with these unless
you have some weird game where clouds or something are toxic.

Usually a skybox is a cube with all the faces of the cube pointing inwards.
you can make a cube in DBC/DBP and invert it by scaling it with negative percentages.
sometimes the edges of the cube might be visible so creating your own in a 3d package is probably better.

rem place a large cube at the center of the universe (0,0,0) and invert it 100%
make object cube 1, 5000
position object cube 1,-2500,0,-2500
scale object 1,-100,-100,-100

you can replace the make object cube for load object
our example doesnt have any texture on the cube and its not within a runtime demo but if you were inside the cube you would see the grey walls.

you can cull objects to only show one side of the polygon faces.
look for set object cull etc...

This image basically shows it in a nutshell when it comes to a skybox texture.
follow the first link below to read that article.



some links
http://www.2dcgi.com/content/view/3/10/

http://wiki.beyondunreal.com/wiki/Building_A_SkyBox

http://www.gamedesign.net/node/777

DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 4th Oct 2006 17:07
wow... thank you very much for the help...it was very interesting and i think i just learned abit about skyboxes.. thank you so much indi.

<img src="http://www.boomspeed.com/egraphics/75as4.gif" border="0" title="Adopt_one_today_from_pickle-green.com/egraphics!">
NewKlear
20
Years of Service
User Offline
Joined: 5th Aug 2004
Location: Essex, England
Posted: 10th Oct 2006 16:26
Good reply Indi.

I too was looking in to Skyboxes and your post helped a lot with that. Only trouble I have now is that when the camera moves forward/backwards etc you can see that you are inside a box. Is there a way to always set the position of the cube to the position of the camera?

Steve

www.newklear.com

Login to post a reply

Server time is: 2024-11-26 09:29:40
Your offset time is: 2024-11-26 09:29:40