Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Fog and texture problem
Fog and texture problem [message #267009] Mon, 18 June 2007 09:36 Go to next message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
I just finished doing the basic map terrain for a map I am making in RenX. I exported it to Level Edit to look for bugs and I found this one, among others that I can fix.

This one has me puzzled. When I apply fog to the map, to drown out the draw distance in the background, certain textures, specifically l01-concrete01.tga, lights up to the color of the fog and looks HORRIBLE.

Here is a few screen shots to help me describe what is happening(The sides of the bridge is the texture in question):
Normal, non-foggy map:
http://i27.photobucket.com/albums/c175/r315razor/maping%20updates/Bridge1.jpg

Added fog to the map (Note that you are able to kind of see the backdrop behind the bridge, but yet you can't see the part of the bridge in question due to fog):
http://i27.photobucket.com/albums/c175/r315razor/maping%20updates/Bridge2.jpg

Less fog. You can clearly see the city in the background, but still a heavy amount of fog is over the part of the bridge:
http://i27.photobucket.com/albums/c175/r315razor/maping%20updates/Bridge3.jpg


...Why is this happening... and how can I fix it? If it is at all possible, I would like to leave the texture the same. But I will change it if I have to.

[Updated on: Mon, 18 June 2007 09:37]

Report message to a moderator

Re: Fog and texture problem [message #267021 is a reply to message #267009] Mon, 18 June 2007 10:41 Go to previous messageGo to next message
crazfulla is currently offline  crazfulla
Messages: 667
Registered: September 2006
Location: Aotearoa
Karma: 0
Colonel
its a bug in the whole renegadeiscrappy thing. I had this before, couldn't find a solution so I removed the fog. Huh

"GEoDLeto wrote:"

so what you are saying it is gonna take even longer before this thing is finished
So the topic title should be changed to: a sucky little "teaser" from C&C Reborn has been released

"halo2pac wrote:"

Unless they are girls, I am not going to bone them.
Re: Fog and texture problem [message #267052 is a reply to message #267009] Mon, 18 June 2007 13:35 Go to previous messageGo to next message
Slave is currently offline  Slave
Messages: 607
Registered: December 2006
Karma: 0
Colonel
Same here. I actually left it in place because it showed up at the border of a map, above a lake. Cool looking fog of doom.

Too bad I can't really help. Is your map functional in w3d viewer? Mine crashed on a certain object. Maybe the fogtarded lake. If the crash can be found, maybe a solution can be found too.
Re: Fog and texture problem [message #267104 is a reply to message #267009] Mon, 18 June 2007 16:16 Go to previous messageGo to next message
Blazea58 is currently offline  Blazea58
Messages: 408
Registered: May 2003
Karma: 0
Commander
A simple sollution for this would easily be just to put your entire map below 0 on the Z axis or really high above it. It seems to me anything that is right directly at 0 on the Z axis causes that, like on roleplay2 the entire bridge that spans across the map does that since it sits at 0.

Putting the map too far down/up however can cause some strange errors so be sure its not too many metres, just experiment with setting your map in different areas.

http://i175.photobucket.com/albums/w125/Blaze558/LevelEdit2007-06-1816-19-54-18.jpg
When you move it in renx, in LE you can have it set to start at 0 and end 300 or less and given your map is high or low enough it shouldn't hit that bridge.

Or it could just be that your bridges posts are too low in polygon so you could try adding a small grid on it Big Grin


http://i175.photobucket.com/albums/w125/Blaze558/ECW_WebBanner1.jpg

[Updated on: Mon, 18 June 2007 16:23]

Report message to a moderator

Re: Fog and texture problem [message #267518 is a reply to message #267104] Wed, 20 June 2007 09:59 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3813
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
This is easy to fix guys come on, no one has figured this out at. (okay so maybe I figured it out by accident so what). So I will demonstrate what causes it and how to fix it.

So as you can see I have to pillars and fog turned way up. They are the same dimension as each other, distance from the zero axis (one is negative obviously but it doesn't matter), and EXACT same texture. But still one is extremely foggy.

index.php?t=getfile&id=3622&private=0
And as I get closer to the bottom:

index.php?t=getfile&id=3623&private=0
The right one starts to un fog. I wonder what would cause that? Maybe something in RenX. Lets see:

index.php?t=getfile&id=3624&private=0

And the left one:
index.php?t=getfile&id=3625&private=0
Oh, the left one seems to have its segments jacked way up 10 times more in fact. So it looks like fog level is controlled per segment. So as you reach that segment the fog level it set to match your distance away from it (also this same deal applies for lighting, the more segments the terrain has, the better the shadows it casts will look, but in turn the slower the game will run).


Re: Fog and texture problem [message #269404 is a reply to message #267518] Thu, 28 June 2007 12:47 Go to previous messageGo to next message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
OMG that makes sense because I did adjust the segments of the bridge so that it would reach off map!


Thanks, I haven't attempted to fix it yet, but thanks that seems like it will work very well. Big Ups
Re: Fog and texture problem [message #269709 is a reply to message #267009] Fri, 29 June 2007 18:20 Go to previous messageGo to next message
saberhawk
Messages: 1068
Registered: January 2006
Location: ::1
Karma: 0
General (1 Star)
Fog is calculated per-vertex actually. More vertices, more fog! Big Ups
Re: Fog and texture problem [message #269729 is a reply to message #269709] Fri, 29 June 2007 23:44 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3813
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
saberhawk wrote on Fri, 29 June 2007 19:20

Fog is calculated per-vertex actually. More vertices, more fog! Big Ups

I already said that.


[Updated on: Fri, 29 June 2007 23:54]

Report message to a moderator

Re: Fog and texture problem [message #269882 is a reply to message #267009] Sat, 30 June 2007 17:29 Go to previous messageGo to next message
JeepRubi is currently offline  JeepRubi
Messages: 1417
Registered: April 2005
Location: Ontario. Canada
Karma: 0
General (1 Star)

I was going to post right away, but I was good and checked to see if someone had posted a solution yet, and they did. Smile I figured this out with a water polygon.

HORQWER wrote on Tue, 18 September 2007 20:47

this is not a real renegade forums ,some one made it up

Renforums

We Know Drama

Renegade Forums - Official Drama Perpetuator.
Re: Fog and texture problem [message #270023 is a reply to message #269882] Sun, 01 July 2007 18:21 Go to previous message
R315r4z0r is currently offline  R315r4z0r
Messages: 3836
Registered: March 2005
Location: New York
Karma: 0
General (3 Stars)
You.. you left me suffering for all that time >_<
Previous Topic: i cant get M09 to work
Next Topic: Requesting Script
Goto Forum:
  


Current Time: Mon Dec 30 01:36:16 MST 2024

Total time taken to generate the page: 0.00822 seconds