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.
1
Re: primary fog direction
Posted by Carcase on Mon Jan 16th at 5:59pm 2006
Posted by Carcase on Mon Jan 16th at 5:59pm 2006
What makes life so great is that its there.
Re: primary fog direction
Posted by Campaignjunkie on Mon Jan 16th at 7:46pm 2006

Campaignjunkie
member
1309 posts
291 snarkmarks
Registered: Feb 12th 2002
Location: West Coast, USA
Occupation: Student
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
<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
Campaignjunkie
member
1309 posts
291 snarkmarks
Registered: Feb 12th 2002
Location: West Coast, USA
Occupation: Student
Re: primary fog direction
Posted by fishy on Mon Jan 16th at 11:58pm 2006
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
Re: primary fog direction
Posted by Campaignjunkie on Tue Jan 17th at 5:34am 2006

Campaignjunkie
member
1309 posts
291 snarkmarks
Registered: Feb 12th 2002
Location: West Coast, USA
Occupation: Student
Posted by Campaignjunkie on Tue Jan 17th at 5:34am 2006
Don't people take pre-calculus anymore?
" 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.
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.
Campaignjunkie
member
1309 posts
291 snarkmarks
Registered: Feb 12th 2002
Location: West Coast, USA
Occupation: Student
Re: primary fog direction
Posted by Gwil on Tue Jan 17th at 3:36pm 2006
Not in sunny Britain we don't
Either that or people automatically
switch off when they hear anything related to mathematic - a perfectly
natural reaction!

Gwil
super admin
2864 posts
293 snarkmarks
Registered: Oct 13th 2001
Location: Derbyshire, UK
Occupation: Student
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.
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
Gwil
super admin
2864 posts
293 snarkmarks
Registered: Oct 13th 2001
Location: Derbyshire, UK

Occupation: Student
Re: primary fog direction
Posted by fishy on Tue Jan 17th at 6:33pm 2006
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.
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
Re: primary fog direction
Posted by Carcase on Tue Jan 17th at 10:47pm 2006
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.
Re: primary fog direction
Posted by wil5on on Wed Jan 18th at 2:14am 2006

wil5on
member
1733 posts
323 snarkmarks
Registered: Dec 12th 2003
Location: Adelaide
Occupation: Mapper
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.
wil5on
member
1733 posts
323 snarkmarks
Registered: Dec 12th 2003
Location: Adelaide

Occupation: Mapper
"If you talk at all during this lesson, you have detention. Do you understand?"
- My yr11 Economics teacher
- My yr11 Economics teacher
Re: primary fog direction
Posted by fishy on Wed Jan 18th at 3:20pm 2006
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
1
© Snarkpit.net 2001 - 2023, about us, donate, contact
Snarkpit v6.1.0 created this page in 0.0554 seconds.

Snarkpit v6.1.0 created this page in 0.0554 seconds.

