Back to the Vavoom Forum Archives


Forum

!!!!!!!Fog effects and max view distance!!!!!!

Wed, 01 Nov 2006 19:44:58

Alex-bomber_Man

Very actual for me topic! In my mod KharkovCA, a mod about reality, when i began to create large areas, i've found, that if distance to object or a part of map is higher then (Hmm.., i don't know how much it in Doom-meters, but looks like 70-100 our, realistic meters), it DOESN't renders at all!! <!-- s:evil: --><img src="{SMILIES_PATH}/icon_evil.gif" alt=":evil:" title="Evil or Very Mad" /><!-- s:evil: --> It's enough, if i could make a fog effect, but as i know, Vavoom doesn't support camera_fog_range parameter.. Or am i making a mistake? <!-- s:? --><img src="{SMILIES_PATH}/icon_confused.gif" alt=":?" title="Confused" /><!-- s:? --> But at all it looks stupid in level about real world, when large parts of map are not rendered, such as my 16-floor house!! Janis, what am i to do?? Can you implement fog effects for vavoom, which will be defined in mapinfo or some else way? Or may you delete this 100meter limitation ?? Here is a link to my wad, where you can see tis.. Bugs? <!-- m --><a class="postlink" href="http://alex-bomberman.narod.ru/doom2tr/KharkovCA.zip">http://alex-bomberman.narod.ru/doom2tr/KharkovCA.zip</a><!-- m --> It is well seen on map02. Dont mind that it isn't finished - look as it is..
Wed, 01 Nov 2006 21:38:29

gunrock

I'm currently making a map that is suppose to have fog effects in it. I tried using zdoom's fog function using scripts but everytime I compile the scripts it gives me an error message saying "sector_setfog used but not defined error" I need to know how to make fog effects with vavoom. My mod looks plain and ugly without the fog effects. Any help?
Thu, 02 Nov 2006 11:41:23

Janis Legzdinsh

Currently the only way how to enable fog in a map is by setting MAPINFO option fadetable to fogmap (like Hexen does this).
Thu, 02 Nov 2006 19:26:47

Alex-bomber_Man

Oh, cool... Anyway it's better then nothing.. But, after which line in mapinfo i must put this line, and how i to define fog thick/dense ???
Fri, 03 Nov 2006 00:34:02

gunrock

[quote="Alex-bomber_Man":2yqjfrop]Oh, cool... Anyway it's better then nothing.. But, after which line in mapinfo i must put this line, and how i to define fog thick/dense ??? Yeah...I was going to ask the same thing. Also my map now has fog....unfortunately my whole map is covered in fog. I wish just the outside was foggy and not the inside <!-- s:( --><img src="{SMILIES_PATH}/icon_sad.gif" alt=":(" title="Sad" /><!-- s:( -->
Fri, 03 Nov 2006 06:52:22

Crimson Wizard

yes, that's how original Hexen fog works <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: --> As for me, I am particulary interested, how fogmap is created, what's the data format etc. Is it possible to make red or blue fog?
Fri, 03 Nov 2006 18:25:01

Janis Legzdinsh

The fogmap lump is used only in 8-bit software rendering mode. In other modes the fog colour is predefined. For OpenGL and Direct3D you can play with the r_fog* variables, but they are not saved.
Fri, 03 Nov 2006 18:59:00

Alex-bomber_Man

Hmmm... And what is let's say blue fog is??? BTW - it's not a fog, it must be named "mist" <!-- s;) --><img src="{SMILIES_PATH}/icon_wink.gif" alt=";)" title="Wink" /><!-- s;) -->.. Anyway, how i to make fog more "thick" ???
Fri, 08 Jun 2007 08:50:57

scen

Ok, Fog effects support is available on 1.23.1 version. Janis, you told me to use "fade" and "outsidefog" MAPINFO commands, but i can't get the fog effects to work! <!-- s:cry: --><img src="{SMILIES_PATH}/icon_cry.gif" alt=":cry:" title="Crying or Very sad" /><!-- s:cry: --> I'm trying to test it in conjunction with a custom skyboxes resource pack (and it works fine <!-- s8) --><img src="{SMILIES_PATH}/icon_cool.gif" alt="8)" title="Cool" /><!-- s8) --> ) For example, i want to test the fog effects on E3M1, so i've put in mapinfo.txt (example):
[...]
map E3M1 "e3m1: hell keep"
next E3M2
secret E3M9
sky1 SKY3 0
skybox doome3_sky
music D_e3m1
fade X
outsidefog Y
[...]
I've used several combination of X and Y (1/1, 50/100, etc.) because i've seen, in svn changes, that you use an "INT" datatype for these informations. For example:
fade 100
outsidefog 50
Is this the right way to follow or am i doing some horrible mistake? Please give me some clarification, i'm groping in the darkness <!-- s:P --><img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz" /><!-- s:P -->
Fri, 08 Jun 2007 16:30:37

Janis Legzdinsh

The argument is a colour. You can use HTML style hex colours, for example #ff0000 for a red fog, or you can use colour name, such as "green".

Back to the Vavoom Forum Archives