Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3   Go Down

Author Topic: Removing or editing the distance haze.  (Read 7702 times)

0 Members and 1 Guest are viewing this topic.

michel_boonstra1974

  • Modder
  • member
  • Offline Offline
  • Posts: 206
    • Michel's video corner
Removing or editing the distance haze.
« on: October 13, 2010, 03:15:20 PM »

I am making a simple greenscreen map which can be used for capturing IL-2's 3d models. In the load.ini I have set all textures as greenscreen tga's -- all good so far.
The only thing that keeps nagging me is the distance haze, I can't find the tga or mat file which controls this. Does anybody know?

Logged

SAS~HolyGrail

  • Modder f*ck*r =)
  • SAS Team
  • member
  • Offline Offline
  • Posts: 874
  • A little mod in the making !
Re: Removing or editing the distance haze.
« Reply #1 on: October 13, 2010, 03:29:42 PM »

Good question , you can try setting weather to hazy and editing this folder texture :
C:\Program Files\Ubisoft\IL-2 Sturmovik 1946\MODS\00_A_Plutonium_Blah_Blah..\3DO\Effects\SpritesFog
That way everything around ground level should be covered with green color by using
custom green color texture for your movie project as an addition to your already green background  8)
It might work or it might not , give it try ......
 
EDIT:
Ooops ! , since it is fog , it will keep covering your aircraft when flying low , damn this is a nonsense .
I am sorry about that , forget my response  :-[ .

I must be insane today or something...
S! HG
Logged
Dignified silence is worth more than a thousand insults...

michel_boonstra1974

  • Modder
  • member
  • Offline Offline
  • Posts: 206
    • Michel's video corner
Re: Removing or editing the distance haze.
« Reply #2 on: October 13, 2010, 04:34:45 PM »

Heheh, no worries mate  ;D thanks for trying to help anyway!
Logged

SAS~HolyGrail

  • Modder f*ck*r =)
  • SAS Team
  • member
  • Offline Offline
  • Posts: 874
  • A little mod in the making !
Re: Removing or editing the distance haze.
« Reply #3 on: October 13, 2010, 05:19:42 PM »

I hope you will figure things out or someone will jump in here giving working solution  :)
It's very important stuff for creating wonderful cinematic IL-2 1946 movies  8)
S! HG
Logged
Dignified silence is worth more than a thousand insults...

SAS~Malone

  • flying as #46 with the FAC
  • Editor
  • member
  • Offline Offline
  • Posts: 14562
  • proud member of that 'other' site
Re: Removing or editing the distance haze.
« Reply #4 on: October 14, 2010, 03:53:48 AM »

something else you could try, which in theory might help, is to make your map almost like a valley/bowl type shape, with high mountainsides surrounding the edges of the entire map.
i was planning to work on something like this, but as with many of my other projects, it might be some time befroe i actually try it out ....
Logged
.....taking fun seriously since 1968.....  8)

michel_boonstra1974

  • Modder
  • member
  • Offline Offline
  • Posts: 206
    • Michel's video corner
Re: Removing or editing the distance haze.
« Reply #5 on: October 14, 2010, 04:03:50 AM »

something else you could try, which in theory might help, is to make your map almost like a valley/bowl type shape, with high mountainsides surrounding the edges of the entire map.
i was planning to work on something like this, but as with many of my other projects, it might be some time befroe i actually try it out ....

Yep, I tried that but still the haze is visible when flying and the bowl did create some distance shadow/color problems. Must admit I haven't played with that rigorously -- like a proper map tester should.  :D
Logged

Eexhaton

  • Ancient Entity
  • Modder
  • member
  • Offline Offline
  • Posts: 865
  • Bukakke Blitzkrieg!
Re: Removing or editing the distance haze.
« Reply #6 on: October 14, 2010, 10:37:01 AM »

If you can find the texture, can't you replace it with "nothing" ?
Just a completely empty TGA file?

Or, if you find it's corresponding .mat file, you could set it's alpha to 0.0 making it invisible

Or is the distance haze controlled a different way?
Logged

michel_boonstra1974

  • Modder
  • member
  • Offline Offline
  • Posts: 206
    • Michel's video corner
Re: Removing or editing the distance haze.
« Reply #7 on: October 14, 2010, 11:16:08 AM »

It seems the haze is controlled differently. I tried all the options I know to, including playing with the mat files settings, boosting ambient to 1.0.
Everything works well, exept for that damn haze!  :D

My load.ini looks like this now:

Code: [Select]
[MAP]
ColorMap  = map_c.tga
HeightMap = map_h.tga
SmallMap  = map_M.tga
TypeMap   = map_T.tga
FarMap    = map_F.tga
ReflMap   = map_R.tga

[LIGHT]
  LandLight = greenscreen/LandLight.mat
  CloudShadows = greenscreen/CloudShadows.mat

[MAP2D]
ed_m03.tga
ed_m02.tga


[WORLDPOS]
CAMOUFLAGE = SUMMER
MONTH=5
DECLIN = 54
PRESSURE    = 745
TEMPERATURE =  20

[CUBE]
Down  = greenscreen/greenscreen.tga
East  = greenscreen/greenscreen.tga
North = greenscreen/greenscreen.tga
South = greenscreen/greenscreen.tga
Up    = greenscreen/greenscreen.tga
West  = greenscreen/greenscreen.tga

[static]
actors.static
[text]
texts.txt


[WOOD]
Wood0  = greenscreen/greenscreen.tga
Wood1  = greenscreen/greenscreen.tga
Wood2  = greenscreen/greenscreen.tga
Wood3  = greenscreen/greenscreen.tga
Wood4  = greenscreen/greenscreen.tga
WoodMask2 = forest/summer/ForestMask.tga
WoodMask3 = forest/summer/ForestMask2.tga
WoodMiniMasks = forest/summer/MiniMask.tga
SideWood = forest/summer/ForestSide.tga

[APPENDIX]
  HighClouds  = greenscreen/greenscreen.tga
  HighCloudsNoise  = greenscreen/Noise.tga
  Moon = Moon\Moon0000.tga
  ShadeNoise = greenscreen/Noise.tga
  WaterNoise = water/WaterNoise.tga
  WaterNoiseAnimStart = Water/Animated/WaterNoise00.tga
  ForestNoise= greenscreen/Noise.tga
  BeachFoam  = water/Foam.tga
  BeachSurf  = water/BeachSurf.tga
  BeachLand  = greenscreen/greenscreen.tga

  Tree0 = Trees\AlteredBush8a.tga
  TreeLightMask = Trees\LightM256.tga

[WATER]
Water    = greenscreen/greenscreen.tga

[ROADS]
Rail = land/summer/Rail
Road = land/summer/Road
Highway = land/summer/Highway

[FIELDS]
LowLand0 = Greenscreen/fields_greenscreen.tga
LowLand1 =
LowLand2 =
LowLand3 =

MidLand0 =
MidLand1 =
MidLand2 =
MidLand3 =

Mount0   =
Mount1   =
Mount2   =
Mount3   =

Country0 =
Country1 =
Country2 =
Country3 =

City0    =
City1    =
City2    =
City3    =

AirField0=
AirField1=
AirField2=
AirField3=

Wood0    =
Wood1    =
Wood2    =
Wood3    =

Water0   = greenscreen/greenscreen.tga
Water1   =
Water2   =
Water3   =


[AIRFIELDS]
Airfield_001 = 2268 23957 22892 1946 1.10

Logged

Eexhaton

  • Ancient Entity
  • Modder
  • member
  • Offline Offline
  • Posts: 865
  • Bukakke Blitzkrieg!
Re: Removing or editing the distance haze.
« Reply #8 on: October 15, 2010, 01:09:15 PM »

Have you checked all Clouds files perhaps?

Just shooting random ideas here. :)
(reason: I found in the clouds folder the files CloBoard.mat and it's corresponding TGA. and CloBoard could mean "clouds border" perhaps?)


Logged

michel_boonstra1974

  • Modder
  • member
  • Offline Offline
  • Posts: 206
    • Michel's video corner
Re: Removing or editing the distance haze.
« Reply #9 on: October 15, 2010, 02:05:06 PM »

@Eexhaton, thanks for the suggestion and trying to help, but unfortunately it didn't make a difference. I tried it in various ways, different file locations and mat settings but that bloody haze won't go away.
I am thinking (or rather guessing) that the haze might be regulated by some kind of rgb value setting somewhere. But this will take a while to figure out, I have just installed the java development kit and tried to figure out how java works and read some of the class files.
But where to start eh? Ah well, I'll keep on trying.
Logged

santobr

  • Modder
  • member
  • Offline Offline
  • Posts: 1349
  • Senta a Pua!
    • F
Re: Removing or editing the distance haze.
« Reply #10 on: October 16, 2010, 07:31:07 AM »

I think this is a GPU effect, so you can try to disable some effects in conf.ini.

santobr.
Logged

5./JG54_s0crazty

  • http://roen911.deviantart.com/gallery/
  • member
  • Offline Offline
  • Posts: 734
  • A Greek in the cockpit.Better run!!!!!
Re: Removing or editing the distance haze.
« Reply #11 on: October 16, 2010, 08:02:27 AM »

i want it like it is !
Logged
Pages: [1] 2 3   Go Up
 

Page created in 0.047 seconds with 28 queries.