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
_GTP
21
Years of Service
User Offline
Joined: 16th Sep 2003
Location:
Posted: 22nd Oct 2003 10:40
Hi, i searched for sky boxes and found some pretty valuable information.

however, i'm confused about the size parameter used with 'make object cube'

i've used 20, 200, 1000 and the box pretty much looks the same on the screen. Then, when i use -1000, -2000, -5000 i seem to be in the box, to partly out of the box to completely out of the box.

I need a pretty big box but using -1000 i'm still able to see the sides and corners.

What is the size parameter expect and how can i make a box big enough for me to manuevre in? something where the edges and corners are not easily visible.

this is the code i'm using.



thanks
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 22nd Oct 2003 12:28
Your are always in the cube but when you make number -5000 it is so big that DB culls it because it is outside the camera range. See SET CAMERA RANGE for details. This allows you to set how far in the distance to draw objects.

Then once you get that working, you will realise that it still looks awful and look like you are in a big box!

Have a look at Terragen (http://www.planetside.co.uk). It will generate lovely skies. You then have to find a script on the net that makes terragen generate 6 different views that you paste on each side of a cube. They are generated in such a way that sky looks like it goes on for ages.

If your mansion house needs haunting, just call Rentaghost!
_GTP
21
Years of Service
User Offline
Joined: 16th Sep 2003
Location:
Posted: 22nd Oct 2003 19:59
So if i'm using -1000, -2000, -5000 as the size? Am i looking at the inside of the box?

Also, if that is the case, do i need to not bother with texturing the inside of the box.

how is that done by the way? inverting the box so the texture is on the inside.

thanks
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 22nd Oct 2003 20:16
Correct! you are inside the box. Normally when you create a box, the texture is on the outside only. If you travel inside the box you will see nothing because DB uses a system of culling faces you normally dont see. The idea of inverting the scale is that the texture is now on the inside.

Alternatively you can texture cube normally and use a command called SET OBJECT CULL to tell DB not to cull hidden faces. This then lets you see texture on both sides. Also it doesnt make the texture back to front.

Also look at SET OBJECT LIGHT to make the object not react to light, otherwise you will find one side of box will be in shade because it is too far from the default light 0

If your mansion house needs haunting, just call Rentaghost!
spooky
22
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 22nd Oct 2003 20:21
Once you start looking at things like terragen you get good results like a game idea I'm playing with:



If your mansion house needs haunting, just call Rentaghost!
Bruno
21
Years of Service
User Offline
Joined: 8th Oct 2003
Location: Costa rica
Posted: 23rd Oct 2003 19:47
Can you put a code please??
UnderLord
21
Years of Service
User Offline
Joined: 2nd Aug 2003
Location:
Posted: 24th Oct 2003 18:03
oh that isent to hard to do i just wonder a guy gave me some desert skybox and its in .x format but i was wondering if i could load the whole skybox or if i had to load all the sides first befor i can load the full skybox.

http://www.freewebs.com/ingamers
qwe
21
Years of Service
User Offline
Joined: 3rd Sep 2003
Location: place
Posted: 25th Oct 2003 06:06
"i'm still able to see the sides and corners"
just in case u dont kno, turn off the filter and light for the skybox model, to make it look nice. ( set object 1, 1, 1, 1, 1, 0, 0 )
those last 2 parameters are filter and lighting

Login to post a reply

Server time is: 2024-11-25 14:38:53
Your offset time is: 2024-11-25 14:38:53