Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: been messing with fog a bit, gots questions

  1. #1
    Shaka when the walls fell sleepy1212's Avatar
    Join Date
    Sep 2009
    Location
    Pennsylmurrika
    Posts
    960

    been messing with fog a bit, gots questions

    i want to surround a bsp with fog but not have any in the actual gameplay area.

    so far i've only managed to get the fog region error which i think might have to so with material/geometry name setup but im not convinced.

    first off i tried making several boxes with portal material, but that doesn't work without intersecting the bsp and its not possible to have all planes do that at once without major errors.

    next attempts involved using +unused or +unused$ on the same boxes but that doesn't work either.

    i guess what i'm shooting for is a way to define clusters outside/intersecting the bsp where i might be able to use a fog plane. the only thing i haven't tried is using terrain portals to cut off the outermost parts of the skybox but i was worried about clipping.


    while i'm on the portals i've got this one too: my exact portals error on every run through tool but never in the same place. i can run it twice without changing anything and there will be the same error but on a different plane. i threw them out and used +portal but that doesn't keep it from raining inside :\ i'm guessing that won't help with the fog either.......
    Reply With Quote

  2. #2
    Chris chrisk123999's Avatar
    Join Date
    May 2009
    Location
    Florida, USA
    Posts
    646

    Re: been messing with fog a bit, gots questions

    Fog in halo is either everywhere no nowhere. Your best bet would to make the atmosphere fog start farther away and get thicker quickly. You can have more then one fog plane, but when your in an area where you removed the fog from that portal, you don't see the fog in the other area.
    Reply With Quote

  3. #3

    Re: been messing with fog a bit, gots questions

    fog is everywhere or nowhere, yes, but only PER CLUSTER. (defined by portals)

    also, exact portals need to be planar
    Reply With Quote

  4. #4
    Shaka when the walls fell sleepy1212's Avatar
    Join Date
    Sep 2009
    Location
    Pennsylmurrika
    Posts
    960

    Re: been messing with fog a bit, gots questions

    Quote Originally Posted by neuro View Post
    exact portals need to be planar
    sweet, an easy fix. i love it when that happens

    @ chrisk: that's basically what i'm after, i need very thick fog around the outside to quickly turn to thin or no fog. i'll have to take a look at some tags and see what i can use, any good starting places?
    Reply With Quote

  5. #5
    Chris chrisk123999's Avatar
    Join Date
    May 2009
    Location
    Florida, USA
    Posts
    646

    Re: been messing with fog a bit, gots questions

    Well, that's also the problem. Once your not in a the fog, you can see into the other area where there should be fog and there won't be any there.
    Reply With Quote

  6. #6
    Shaka when the walls fell sleepy1212's Avatar
    Join Date
    Sep 2009
    Location
    Pennsylmurrika
    Posts
    960

    Re: been messing with fog a bit, gots questions

    hmm. i wonder if i could change the opacity or density in a fog tag to make it become very thick but only at a far distance, if it starts from the player i would only have to make sure the distance is far enough to cover all areas the player can go. that would save me the trouble of using a lot of effedup geometry.
    Reply With Quote

  7. #7
    Chris chrisk123999's Avatar
    Join Date
    May 2009
    Location
    Florida, USA
    Posts
    646

    Re: been messing with fog a bit, gots questions

    You can set the starting distance and the ending distance (where you can't see though it at all). Look at some other sky tags as a reference.
    Last edited by chrisk123999; January 9th, 2010 at 08:07 AM.
    Reply With Quote

  8. #8

    Re: been messing with fog a bit, gots questions

    Quote Originally Posted by chrisk123999 View Post
    Well, that's also the problem. Once your not in a the fog, you can see into the other area where there should be fog and there won't be any there.
    I'm not sure this is true. Think of maps like Damnation- it has a fog plane at the bottom where the fog gets pretty thick immediately. My understanding was that Blam! has very limited capabilities in terms of defining fog regions, however. A year or two ago I wouldn't have thought it possible to define fog regions surrounding but not intersecting a playable area, but these days I've come to realize people can really push this engine, and there's definitely still a lot I don't know about how it works. Theoretically I think you should be able to set fog on the clusters surrounding the playable area and leave the ones in the play area empty.
    Then again, I remember something about creating specific fog planes separate from portals, and iirc the entire fog 'plane' has to be planar, ie, the fog region can't wrap around.

    I say keep trying, though. I'll be interested to know if this can be done.
    Last edited by Rob Oplawar; January 9th, 2010 at 11:02 AM.
    Reply With Quote

  9. #9
    Taiko Drums = Win
    Join Date
    Sep 2006
    Location
    Longbranch, WA
    Posts
    2,692

    Re: been messing with fog a bit, gots questions

    Although if you wanted to simulate fog out in the distance that you cant actually reach, you could probably just make some geometry to simulate it and then apply the fog materials to it.

    Then again, that's not volumetric and only if you aren't supposed to be out in that playing area.
    Reply With Quote

  10. #10
    Neanderthal Dwood's Avatar
    Join Date
    Sep 2008
    Location
    Wouldn't u like to know?
    Posts
    4,189

    Re: been messing with fog a bit, gots questions

    Quote Originally Posted by FRain View Post
    Although if you wanted to simulate fog out in the distance that you cant actually reach, you could probably just make some geometry to simulate it and then apply the fog materials to it.

    Then again, that's not volumetric and only if you aren't supposed to be out in that playing area.
    Revelations.
    Reply With Quote

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •