Buy Elder Scrolls Online: Greymoor for PC at Green Man Gaming

[TUTORIAL] Making a cool 3d skybox.

Discussion in 'Tutorials & Resources' started by spaceweasels, Nov 14, 2007.

  1. peclarkjr

    peclarkjr L1: Registered

    Messages:
    28
    Positive Ratings:
    0
    3D skybox for outside viewing area

    Nice tutorial. I really appreciate it. I made a CTF castle type map with button controlled doors and draw bridges. There's water, tunnels, etc. the map works great. I want to add a 3d skybox and surround the map with grass and mountains in the distance.

    So with the map I placed the sky_camera at 000.000 coordinates. I selected and copied my entire map.....pasted just to the left of my map and lined it up. Then I shrank the entire copied map to scale .0625. The Sky_camera is in my small map and I went back deleted the sky_camera from my playable map....Correct? So now its ONLY in my small map.

    Then I surrounded the small map with a brush and textured it with grass so far.

    Ok so I complied just to see if the grass area would show up outside my map. What I get is to one side of the playable area in game is MY MAP....no grass. I see the two castles there....


    I only have one sky camera and its in the small map.

    Any ideas on what I did wrong?

    Should I move my big playable map over and put the small map at coordinates 000.000?

    Here is a screenshot:
    http://i236.photobucket.com/albums/ff215/inextirpable/kingscastlefight0001.jpg



    Thanks so much!
     
    Last edited: Apr 29, 2008
  2. Little Dude

    Little Dude L4: Comfortable Member

    Messages:
    172
    Positive Ratings:
    54
    Thanks. It really helped out with my map making
     
  3. elfworks

    elfworks L1: Registered

    Messages:
    43
    Positive Ratings:
    9
    Very helpful tutorial, thanks!

    The only time I stumbled was creating the skybox for the reduced world - I made it too small at first.

    I was able to solve my problem by looking at your sample scene, but a screenshot after this step would have cleared things up.

    Otherwise, it was a clear and easy to follow tutorial.

    Thanks again!
     
  4. [FT] Andy

    [FT] Andy L1: Registered

    Messages:
    38
    Positive Ratings:
    0
  5. Sgt Frag

    Sgt Frag L14: Epic Member

    Messages:
    1,443
    Positive Ratings:
    356
    peclarkjr, not sure what you did wrong but try a few things.

    [FT] Andy, you probably want to read this too.

    First peclarkjr, delete the copy you made and the camera and start over.

    1st, create a sky camera at 0,0,0 (that makes sure everything in world and skybox line up.)

    2nd, create some basic brushes around your map. ground is fine, maybe a few boxes to represent buildings/mountain if you will want them. This helps to keep scale correct when you finish skybox.

    3rd, select ONLY the camera and the brushes you created around your map that you want in skybox. No need to copy your map.

    4th, move those to the side, scale to 0.0625 (make sure you check tex lock buttons so textures scale properly).

    5th, surround your skybox brushes with a cube and texture with sky (can be a cube hollowed or can be 6 brushes, just make sure it is sealed too).

    Should work now. Good luck.
     
  6. [FT] Andy

    [FT] Andy L1: Registered

    Messages:
    38
    Positive Ratings:
    0
    oh i see, i'll give it a shot, thanks :)
     
  7. tortilaman

    tortilaman L1: Registered

    Messages:
    17
    Positive Ratings:
    1
    I've been using your tutorial and others to aid me in the creation of my skybox (I've been using simple 2d, and wanted to step it up) and came across a problem: I see a copy of the level in the skybox. I've checked for leaks in the regular level, and the 3d skybox (it's just a hollowed out brush) and haven't found any. I'm wondering what else could be the problem, because to my knowledge, there's only one sky camera entity.
    screenshots:
    The Level
    [​IMG]
    The skybox reproducing it if you get high enough.
    [​IMG]
     
  8. Cr4ig0

    Cr4ig0 L1: Registered

    Messages:
    5
    Positive Ratings:
    0
    i tried this and the outcome was pretty horrible :/ i had half of the map with a sky and the other half with that flickery stamp thing going on... what did i do wrong?
     
  9. phantombadger

    phantombadger L2: Junior Member

    Messages:
    56
    Positive Ratings:
    1
    Good tutorial. its good to see an in progress explanation of the dev wiki. everything in this tut is in the wiki but the pics and a someones take on it helps. thanx
     
  10. Little Dude

    Little Dude L4: Comfortable Member

    Messages:
    172
    Positive Ratings:
    54
    hey do you guys know how to make it so your main part of the map doesn't appear in the sky?
     
  11. Woo-Zee-Moo

    Woo-Zee-Moo L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    Delete it from the 3d skybox.
     
  12. Tony Shwiztana

    Tony Shwiztana L1: Registered

    Messages:
    28
    Positive Ratings:
    10
    Question,

    Could you just build you whole map normal sized, copy all the brushes that you want in your skybox (my concern being mostly on displacments) use that there shrink ray method of yours then delete the originals and have everything work out?


    I tried displacing a small part of my map which i haven't done so to yet, all my brushes displaced and not copied, transformed and changed texture scale and it look as though it would work, I didn't compile because Im doing all my brush work before anything else, a for sure yes would defenetly be nice to hear though, thanks
     
    Last edited: Nov 4, 2008
  13. Ninjilla

    Ninjilla L7: Fancy Member

    Messages:
    445
    Positive Ratings:
    60
    I have the oddest problem...

    When I play my map, only some of the 1/16th props show up. These ones are also props sticking out slightly from the skybox, which I fixed, but havent tested it out to see if those worked. Anywho, I was playing my map, and I noticed that I could see the smaller, 1/16 skybox props (coincidentally only the ones that appeared in my main level appeared there until I got very close.), and on the other side, a copy of my level that I assume was 16 times bigger! I noclipped there, and it seemed to be going slow, but I think its just because everything else was huge. Anyone know why this happened and a fix for it?
     
  14. eerieone

    aa eerieone

    Messages:
    1,009
    Positive Ratings:
    571
    when you dont do vrad and vvis render, you will see your level projected throught the skybox. rendering with vvis & vrad on at least fast in expert mode should solve that issue.
     
  15. Ninjilla

    Ninjilla L7: Fancy Member

    Messages:
    445
    Positive Ratings:
    60
    Same problem, and when I expanded the skybox for my 3D so the props didnt stick out, even less showed up. I dont know why its making this way bigger version in the first place >_<
     
  16. Tetra

    Tetra L1: Registered

    Messages:
    4
    Positive Ratings:
    0
    Great tutorial, spaceweasels. Been looking for a decent 3dskybox tut, not sure why I didn't look here first :p Next time I'll be sure to though!


    +Thanks to you, sir.
     
  17. Mr.Eagle

    Mr.Eagle L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    Hi, everybody - first time at this forum.

    Quick question, I've looked at some valve maps (lumberyad and goldrush) and noticed that their skycameras are not at 0,0 and I can't seem to find how they managed to change the orientation in its settings.
     
  18. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,927
    The camera doesn't have to be at 0,0,0 the camera represents 0,0,0 for the 1/16 scale stuff.

    so say you put a prop at 32 units above the sky camera entity, that will then appear ingame to be 16 times bigger and it will be projected at 0,0,512.
     
    Last edited: May 17, 2009
  19. Mr.Eagle

    Mr.Eagle L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    Oh, ok thanks!

    The other thing I'm curious about - were the walls in the skybox put around the transformed floor brush? Which is why they line up to the corner pieces in the rendered map?
     
  20. HellJumper

    aa HellJumper

    Messages:
    812
    Positive Ratings:
    407
    I need help with something. Whenever I try to use any other skybox texture other than the default, it does not work. I am getting everything to work right, including the 3D part, but I just cant make sky_alpinestorm_01 to work the right way.

    EDIT: Yeah... I forgot to build cubemaps (DUH!) I fixed it!
     
    Last edited: Jul 30, 2009
Buy Elder Scrolls Online: Greymoor for PC at Green Man Gaming