Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Water textures & fog
Water textures & fog [message #108927] Thu, 19 August 2004 11:24 Go to next message
bighairybear is currently offline  bighairybear
Messages: 34
Registered: January 2004
Location: UK
Karma: 0
Recruit
When I add fog to my level the water looks like the fog Question

lvledit1.jpg ~ With fog checked
http://myweb.tiscali.co.uk/bighairybear/lvledit1.jpg

lvledit2.jpg ~ fog unchecked
http://myweb.tiscali.co.uk/bighairybear/lvledit2.jpg


I tried changing the fog distances but this does not seem to make a difference.
The water texture was made following the water tutorial http://renhelp.co.uk/?tut=44 on renhelp.
Water textures & fog [message #108938] Thu, 19 August 2004 11:51 Go to previous messageGo to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
How many polygons are in the water mesh? By the look of your problem it appears to be one giant polygon, which means there's not enough vertices in it to be fogged properly.

As far as I know, fog gets applied to meshes like lighting. The more vertices, the more accurate the effect. If you're whole mesh is one polygon, then the fog will be applied to it based off the outer vertices. Since they are far enough out to be totally covered in fog, the entire mesh is covered in fog.


NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
Water textures & fog [message #108941] Thu, 19 August 2004 11:54 Go to previous messageGo to next message
bighairybear is currently offline  bighairybear
Messages: 34
Registered: January 2004
Location: UK
Karma: 0
Recruit
The mesh is one polygon. Guess i shouldnt be so tight on my polygon budget.

Thanks
Water textures & fog [message #108970] Thu, 19 August 2004 14:54 Go to previous messageGo to next message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma: 0
General (3 Stars)
I had this problem, too. I guess adding more polygons to the plane makes it work better.
Water textures & fog [message #109019] Fri, 20 August 2004 03:11 Go to previous messageGo to next message
Titan1x77 is currently offline  Titan1x77
Messages: 1086
Registered: February 2003
Karma: 0
General (1 Star)
Don't be afraid to add polys!!

Lighting looks horrible on low poly terrain,also with fog ^ and if you know how to properly generate VIS then a poly count should never really be a problem....unless you use 5,000 on a single rendered object Laughing


"But if the gameplay sucks, the looks don't matter at all." - Sir Phoenixx

Water textures & fog [message #109106] Fri, 20 August 2004 21:37 Go to previous messageGo to next message
icedog90 is currently offline  icedog90
Messages: 3483
Registered: April 2003
Karma: 0
General (3 Stars)
Titan1x77

Don't be afraid to add polys!!


Affirmative to that. I've just never bothered to add more polygons to simple planes because it never hit me about the shadows and fog.

A level I've finished for SWMOD runs around 60,000 polygons and it's very detailed. Just needs to be VISed and it's set. Smile
Water textures & fog [message #109703] Mon, 23 August 2004 15:28 Go to previous messageGo to next message
phlakaton is currently offline  phlakaton
Messages: 124
Registered: May 2004
Karma: 0
Recruit
more verts and polys can be used. be sure to have a good uniform mesh when you do have higher numbers. having a bunch of super-long polys and jacked up mesh will not run as good as something that was perhaps tessellated into an even mesh. like a new plane with lots of cross-sections. of course... renegade's engine is a bit picky too.
Water textures & fog [message #109860] Tue, 24 August 2004 14:20 Go to previous messageGo to next message
Jaspah is currently offline  Jaspah
Messages: 1478
Registered: July 2003
Location: Syracuse, New York
Karma: 0
General (1 Star)
Can someone post these on n00bstories or something? Either the host sucks or my computer doesn't like those images.
Water textures & fog [message #111851] Mon, 30 August 2004 02:31 Go to previous message
bighairybear is currently offline  bighairybear
Messages: 34
Registered: January 2004
Location: UK
Karma: 0
Recruit
For those that cant see images they are both screen captures of the same scene in level edit. There are steep banks seperated by a river, in the first fog is on and the river looks like the fog blending. in the 2nd fog is off but you can see the river.
Previous Topic: Vehicle door animation script idea
Next Topic: My first vehicle (MRLS)
Goto Forum:
  


Current Time: Fri Nov 22 20:20:39 MST 2024

Total time taken to generate the page: 0.00747 seconds