Baron of Hell
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Skyboxes
 
Author
All times are GMT. The time now is 04:57. Post New Thread    Post A Reply
DooMBoy
Heh
(but Stupidity still cannot be concealed)


Posts: 8509
Registered: 12-00


Well, I've tried to get a skybox up and running and when I load up my level, the sky just displays a lot of HOM and stuff. How exactly do I set a skybox up?

__________________
Heh

Old Post 08-28-02 14:58 #
DooMBoy is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Fredrik


Posts: 11685
Registered: 05-00


Check the example level.

I don't know what you're doing wrong, but it could be that you're using a sky in the skybox.

Old Post 08-28-02 16:05 #
Fredrik is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
VileSlay
Senior Member


Posts: 1591
Registered: 05-02


I've been seeing the term skybox being thrown around lately. what exactly is a skybox? what are they used for?

__________________
"I only wish that you, the peons, the lowly zit ridden scum of outcast prepubescence so recklessly misspending the treasure of youth could truly understand my utter disdain for you as I look out from my lofty perch of immeasurable fame and opulence." beefcake the mighty of GWAR

Old Post 08-28-02 17:35 #
VileSlay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Fredrik


Posts: 11685
Registered: 05-00


Why not simply play the example level to find out? :)

Old Post 08-28-02 17:52 #
Fredrik is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ichor
The Mysterious Red Square


Posts: 6937
Registered: 07-02


A skybox is basically an attempt to make the sky as realistic as possible. In Doom all the way to Quake, the sky is essentially a big, flat surface which uses the same texture all around.

Heretic 2 was the first time that I saw a skybox, but I really didn't pay much attention to it at the time. A skybox is like a large cube, with each side containing a section of the sky (and the ground when looking straight down). It's sort of like a Doom map using a sky with a size of 1024, except with a unique top and bottom section included.

__________________
0.666 - The number of the Millibeast

Old Post 08-28-02 18:14 #
Ichor is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
VileSlay
Senior Member


Posts: 1591
Registered: 05-02



Fredrik said:
Why not simply play the example level to find out? :)


the reason why I asked is cuz I didn't get the point from playing the example. btw, thanks for the explanation ichor. I'm gonna try it out and if I can do it myself.

__________________
"I only wish that you, the peons, the lowly zit ridden scum of outcast prepubescence so recklessly misspending the treasure of youth could truly understand my utter disdain for you as I look out from my lofty perch of immeasurable fame and opulence." beefcake the mighty of GWAR

Old Post 08-28-02 20:07 #
VileSlay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT


Posts: 6382
Registered: 12-00


You can get HOM style effects from a skybox if you don't pay too much attention to where you place the skybox camera, and if you have certain effects in your level.

eg, if you have created a level where the edges of outside areas are surrounded by low walls (effectively lowering the edges of the sky) or you have high platforms that let you look down towards some areas using F_Sky, then you may get a HOM type effect if your camera is sitting on the ground in the sky box.

Remember, the sky is drawn from the viewpoint of the camera. If the player is in such a position as he can look down towards a sky area, the camera view is essentially looking down into the floor (at least thats how it seems).

Give your skybox camera a zcoordinate to lift it slightly and see if that helps.

Once you get the hang of sky boxes, you can do all sorts of fancy things with them, including multiple skies in the same level, animated skies, varying the appearance and brightness of the sky, scrolling clouds over fixed mountains or buildings, fake teleport portals that let you see your destination, and to my mind one the cleverest, Gooberman's starbox example showed the illusion of being in a flying space craft that flies into the superstructure of a space station using a moving camera.

__________________
Meek

Old Post 08-28-02 21:32 #
Enjay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Cadman
I'm not supposed to be here...no really


Posts: 454
Registered: 07-02


Dadealus: Alien Defense is making alot of use of sky boxes and it looks very cool.


Cadman - Member TeamTNT

__________________
Cadman - Member TeamTNT
Doom2 GrandMaster (DHT5 Standards)
I did it on a 486 DX2 50mhz man!
I'm a DoomGod! (Yeah, right!!)

Old Post 08-28-02 22:30 #
Cadman is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
GooberMan
Scripting Nut


Posts: 1170
Registered: 02-01


teh starbox

__________________
Say what?

Old Post 08-29-02 13:45 #
GooberMan is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
GooberMan
Scripting Nut


Posts: 1170
Registered: 02-01



Ichor said:
Heretic 2 was the first time that I saw a skybox
IIRC Heretic 2 used the same skybox code that came with the Q2 engine. Surely you played Q2 before Heretic 2 :P
ZDoom's skyboxes are similar to the ones used in Unreal-engined games (and what I'll be using in my own engine) - a section of the level is set aside to be used as the sky viewed from a specified point. The great thing about this is that you can specify the point to be wherever, even inside the map itself (one person on the ZDoom forums was inspired by my starbox example to use skyboxes to make teleporters where you could see the destination).

__________________
Say what?

Old Post 08-29-02 13:53 #
GooberMan is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Ichor
The Mysterious Red Square


Posts: 6937
Registered: 07-02


I don't have Quake 2 and I haven't played the demo for more than a few minutes.

__________________
0.666 - The number of the Millibeast

Old Post 08-29-02 15:34 #
Ichor is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
VileSlay
Senior Member


Posts: 1591
Registered: 05-02


I got the sky box going with SKY2 background, but the F_SKY ceiling isn't scrolling. do I have to use something else that isn't in the doom2 iwad?

I made the litte triangle sector, but I'm curious as to what the function of that is.

::edit:: I put a cyberdemon in the skybox. its huge looking. now if I could get a gojira sprite and have him walking around in the city that would look awesome. ::end of edit::

__________________
"I only wish that you, the peons, the lowly zit ridden scum of outcast prepubescence so recklessly misspending the treasure of youth could truly understand my utter disdain for you as I look out from my lofty perch of immeasurable fame and opulence." beefcake the mighty of GWAR

Last edited by VileSlay on 08-29-02 at 22:56

Old Post 08-29-02 20:14 #
VileSlay is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
KDarigal
Junior Member


Posts: 159
Registered: 05-02



Enjay said:
You can get HOM style effects from a skybox if you don't pay too much attention to where you place the skybox camera, and if you have certain effects in your level.

eg, if you have created a level where the edges of outside areas are surrounded by low walls (effectively lowering the edges of the sky) or you have high platforms that let you look down towards some areas using F_Sky, then you may get a HOM type effect if your camera is sitting on the ground in the sky box.

Remember, the sky is drawn from the viewpoint of the camera. If the player is in such a position as he can look down towards a sky area, the camera view is essentially looking down into the floor (at least thats how it seems).

Give your skybox camera a zcoordinate to lift it slightly and see if that helps.

Once you get the hang of sky boxes, you can do all sorts of fancy things with them, including multiple skies in the same level, animated skies, varying the appearance and brightness of the sky, scrolling clouds over fixed mountains or buildings, fake teleport portals that let you see your destination, and to my mind one the cleverest, Gooberman's starbox example showed the illusion of being in a flying space craft that flies into the superstructure of a space station using a moving camera.



I'm willing to bet that having a self-referencing skybox would cause HOM as well (has anyone checked?).

__________________
beh to doom - hooray for ddr

Old Post 08-30-02 06:08 #
KDarigal is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Livo
Member


Posts: 563
Registered: 05-02



GooberMan said:
IIRC Heretic 2 used the same skybox code that came with the Q2 engine. Surely you played Q2 before Heretic 2 :P
ZDoom's skyboxes are similar to the ones used in Unreal-engined games (and what I'll be using in my own engine) - a section of the level is set aside to be used as the sky viewed from a specified point. The great thing about this is that you can specify the point to be wherever, even inside the map itself (one person on the ZDoom forums was inspired by my starbox example to use skyboxes to make teleporters where you could see the destination).



Wow. I never knew that ZDoom has this.

Does JDoom have a similiar system or does it have something else?

__________________
"Everything that deceives, also enchants"- Plato

Old Post 08-30-02 07:49 #
Livo is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
GooberMan
Scripting Nut


Posts: 1170
Registered: 02-01



KDarigal said:
I'm willing to bet that having a self-referencing skybox would cause HOM as well (has anyone checked?).
Whipped up a map in a minute to test it, the skybox draws normally using MAPINFO's sky definitions (or default sky for whatever map you're on)

__________________
Say what?

Old Post 08-30-02 12:51 #
GooberMan is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 04:57. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Skyboxes

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.