Renegade Public Forums
C&C: Renegade -- Dead since 2012!™
Home » Renegade Discussions » Tiberian Technologies Forum » Fog Error?
Fog Error? [message #485938] Mon, 10 February 2014 12:38 Go to next message
Mauler  
Messages: 440
Registered: May 2003
Location: Alberta, Canada
Commander

From: *ed.shawcable.net
I'm not sure but I think this is an issue...

The fog no longer moves with the player.. I will let the video demonstrate the problem..

http://www.youtube.com/watch?v=VgEjDALvfGg

Any ideas?
Re: Fog Error? [message #485957] Mon, 10 February 2014 22:22 Go to previous messageGo to next message
saberhawk  
Messages: 1068
Registered: January 2006
Location: ::1
General (1 Star)
From: *pools.spcsdns.net
Mauler wrote on Mon, 10 February 2014 11:38

I'm not sure but I think this is an issue...

The fog no longer moves with the player.. I will let the video demonstrate the problem..

http://www.youtube.com/watch?v=VgEjDALvfGg

Any ideas?


In 4.1 (and below), fog is handled by saying "Hey Direct3D9, fog goes from X to Y distance and is this color". There is no control for a "fog location", it's *always* based off distance to the viewer.

However, I do remember adding in a "floor" to the skybox. You may be seeing that instead if the terrain is becoming transparent. It's always the fog color.
Re: Fog Error? [message #485970] Tue, 11 February 2014 13:30 Go to previous messageGo to next message
Jerad2142  is currently offline Jerad2142  
Messages: 3752
Registered: July 2006
Location: USA
General (3 Stars)
From: *mfs.uswest.net
Mauler wrote on Mon, 10 February 2014 12:38

I'm not sure but I think this is an issue...

The fog no longer moves with the player.. I will let the video demonstrate the problem..

http://www.youtube.com/watch?v=VgEjDALvfGg

Any ideas?

I think what your seeing is caused by the size of the vertices in your terrain, try increasing the poly count and see if it goes away, in Renegade the fog is shaded across polies depending on your distance from the center of them, so if the center of the poly below you is greater than the start distance of the fog away from you it will get the fog shader applied (Probably actually done by the edges of each poly but w/e).

saberhawk wrote on Mon, 10 February 2014 22:22


However, I do remember adding in a "floor" to the skybox.

Thank god, no more stupid sky color below you were the sky box ends.


Head Level editor and coder of ECW/Rp2. #2142::COOL#
Re: Fog Error? [message #485984] Tue, 11 February 2014 15:20 Go to previous messageGo to next message
Mauler  
Messages: 440
Registered: May 2003
Location: Alberta, Canada
Commander

From: *ed.shawcable.net
Yeah it most likely the way the polys where extended that made the fog react that way

http://i.imgur.com/F1aoyS9.jpg

[Updated on: Tue, 11 February 2014 15:20]

Re: Fog Error? [message #486095] Fri, 14 February 2014 11:42 Go to previous message
Jerad2142  is currently offline Jerad2142  
Messages: 3752
Registered: July 2006
Location: USA
General (3 Stars)
From: *mfs.uswest.net
Mauler wrote on Tue, 11 February 2014 15:20

Yeah it most likely the way the polys where extended that made the fog react that way

http://i.imgur.com/F1aoyS9.jpg

Yep that'd be it, needs more polys on that final chuck (if you want to do it the lazy way use the mesh select modifier, and apply tessellation to that big block with a 0.0 tension, will waste more polys than doing it by hand however).


Head Level editor and coder of ECW/Rp2. #2142::COOL#
Previous Topic:Updating removes skins???????
Next Topic:Map errors with 4.1
Goto Forum:
  


Current Time: Sat Nov 17 16:51:51 MST 2018
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.7RC2.
Copyright ©2001-2007 FUD Forum Bulletin Board Software