i need help with sky_camera

Discussion in 'Mapping Questions & Discussion' started by srs, May 26, 2016.

  1. srs

    srs L1: Registered

    Messages:
    42
    Positive Ratings:
    4
    I hate sky_camera. I tried and tried it nothing happens. Most of the tuts out there are either outdated or too complex and crap. can someone help me and give me some low down simple instructions?
     
  2. srs

    srs L1: Registered

    Messages:
    42
    Positive Ratings:
    4
    HELPP
     
  3. srs

    srs L1: Registered

    Messages:
    42
    Positive Ratings:
    4
    does no one love me
     
  4. Nicky

    aa Nicky Lets try something new!

    Messages:
    912
    Positive Ratings:
    1,699
    Hey don't worry, we're still here.

    A sky_camera is used to create a 3D skybox; a part of your map that it blown up 16x its size and rendered at all times. It's usually used for very far out of bounds areas, so that you aren't making your skybox a huge box around your level to fit all the distant detailing. Usually what I do to create my 3D skybox, is I just create it in normal size. I put a sky_camera at the origin of the level. Then I select the sky_camera, and everything that I want to be part of the 3D skybox, I put texture scale lock on, and using the scale feature, I scale it to 1/16 its size.

    TL;dr this tutorial is what taught me

    View: https://m.youtube.com/watch?v=40oIyq5IWPk
     
  5. Yrr

    aa Yrr An Actual Deer

    Messages:
    1,027
    Positive Ratings:
    1,996
    [​IMG]

    edit: dangit ninja'd
     
    • Like Like x 1
  6. Vel0city

    aa Vel0city func_fish

    Messages:
    1,931
    Positive Ratings:
    1,540
    Place the sky_camera at the world origin. That's 0,0,0 coordinates. You can find it easily by looking at your 2D views, there's a blue line running down and one running left->right in each view (top, right, front, etc). Make sure the sky_camera is right at the intersection of those blue lines in each 2D viewport. Next, if you have fog settings in your map via an env_fog, copy the values from that entity to the sky_camera so that the skybox fog matches up with your map's playable space fog. Leave the skybox scale at 16x, almost all skybox models are 16x smaller than the original models. Then, build your 3D skybox around your map in full scale. When you're done with that, select all the stuff you want to be 3D skybox AND the sky_camera, move it to somewhere outside your map, then use the transform tool with ctrl+m to make everything 1/16th size. You'll see an X, Y and Z with the number 1 behind it in a text box, if you want to scale everything down by 16 times you put 0.0165 in every box behind the x, y, z and hit enter. All that's left now is to seal the skybox up with a box around it and boom, done. Make sure to func_detail everything except displacements in your skybox though, this saves VVIS from having to calculate visibility data in a part of the map that won't be visited by players at all.

    heh, I got ninja'd by 2 people. but the point still stands. Also, don't be so impatient. Not everybody is online and ready to answer everybody at any time, more often than not you'll have to wait quite a while for an answer simply due to not many people being online at a given time.
     
  7. Turnip

    aa Turnip The 80s Vegetable

    Messages:
    1,432
    Positive Ratings:
    804
    Also give it more then an hour before you assume no one loves you.
    No one loves me, and I wait more then an hour.
     
    • Funny Funny x 1
  8. iiboharz

    aa iiboharz Meme Queen

    Messages:
    720
    Positive Ratings:
    1,052
    Just a heads up, just cuz you didn't get a reply in 26 minutes doesn't mean you're being ignored. This forum isn't constantly moving.
     
    • Agree Agree x 2
    • Thanks Thanks x 1
  9. srs

    srs L1: Registered

    Messages:
    42
    Positive Ratings:
    4
    thank you everyone, I kinda acted like a butthole but still, thanks.
     
  10. MoonFox

    MoonFox L10: Glamorous Member

    Messages:
    737
    Positive Ratings:
    72
    However, contrasting, some posts are ignored. I've had one or two like that. so yea... AND WIKI IS BAE!