primary fog direction
Post Reply
Quote
Re: primary fog direction
Posted by Carcase on Mon Jan 16th at 5:59pm 2006


when you use an env_fog_controller, it has the option, Primary fog direction, with a default value of (1 0 0). When you mess around with the entity angle it doesn't affect this. Anyone have a clue what it is? I have yet to find out no matter how much I mess with it.


What makes life so great is that its there.



Quote
Re: primary fog direction
Posted by Campaignjunkie on Mon Jan 16th at 7:46pm 2006


* fogdir
<vector> A vector (given by three space-separated numbers X Y Z) which points from the secondary fog color fogcolor2 towards the primary fog color fogcolor. (So it's only used if you want Fog Blending)

http://developer.valvesoftware.com/wiki/Env_fog_controller




Quote
Re: primary fog direction
Posted by fishy on Mon Jan 16th at 11:58pm 2006


i see. a vector, pointing from one colour to another.

so....what's that?




i eat paint



Quote
Re: primary fog direction
Posted by Campaignjunkie on Tue Jan 17th at 5:34am 2006


Don't people take pre-calculus anymore? <img src=" SRC="images/smiles/icon_smile.gif">

http://en.wikipedia.org/wiki/Vector_%28spatial%29#Representation_of_a_vector

Used in this context, it's basically a direction for the fog colors to blend in. Kind of like the Gradient tool in Photoshop.




Quote
Re: primary fog direction
Posted by Gwil on Tue Jan 17th at 3:36pm 2006


? quote:
Don't people take pre-calculus anymore?

http://en.wikipedia.org/wiki/Vector_%28spatial%29#Representation_of_a_vector

Used in this context, it's basically a direction for the fog colors to blend in. Kind of like the Gradient tool in Photoshop.


Not in sunny Britain we don't :P Either that or people automatically switch off when they hear anything related to mathematic - a perfectly natural reaction!






Quote
Re: primary fog direction
Posted by fishy on Tue Jan 17th at 6:33pm 2006


? quoting Campaignjunkie
Don't people take pre-calculus anymore?

http://en.wikipedia.org/wiki/Vector_%28spatial%29#Representation_of_a_vector

Used in this context, it's basically a direction for the fog colors to blend in. Kind of like the Gradient tool in Photoshop.

nice in deapth link about vectors, but it doesn't explain how one colour can point at another colour from different directions.




i eat paint



Quote
Re: primary fog direction
Posted by Carcase on Tue Jan 17th at 10:47pm 2006


ohhh I get it. If anyone has used flash, you choose the direction you want the color to fade to. Let us say the vector (think of it as an arrow) is pointing like this

------->

then your fog will be blended in that direction. So if you chose white as primary and black as secondary, it should look like this:

(Player)-> | white smoke | gray smoke | black smoke|

If the arrow is pointed downward, then your fog will turn into what looks like a bottomless pit. Awsome!




What makes life so great is that its there.



Quote
Re: primary fog direction
Posted by wil5on on Wed Jan 18th at 2:14am 2006


Think of colour as a three-dimensional space, where X, Y and Z correspond to red, green and blue.


&quot;If you talk at all during this lesson, you have detention. Do you understand?&quot;
- My yr11 Economics teacher



Quote
Re: primary fog direction
Posted by fishy on Wed Jan 18th at 3:20pm 2006


? quoting wil5on
Think of colour as a three-dimensional space, where X, Y and Z correspond to red, green and blue.

what drugs are needed?




i eat paint




Post Reply