Log in

View Full Version : 16km scene.dat file atmospheric fog fixed final


Kaleunt
12-03-05, 09:28 AM
It was long but a lot of values needed to be checked, but the atmospheric fog in all weathers condition is fixed and re_scaled to the new distances.
This pack give you the oportunity to choose scene.dat files with increased Lod values. From standard (LOD 1) up to LOD 8. More precisions
in the Readme.
Try it, all suggestions are welcome.

http://rapidshare.de/files/8543118/16Km_scene.dat_file_Fog_Fixed.rar.html

rulle34
12-03-05, 10:18 AM
Great Kaleunt :up: .
How about the visibility at night? Is it the same as before in this mod?
I know there is possible to tweak some fog values, but for me the Fps was very low when nightspottings were shorter.

Marhkimov
12-03-05, 10:33 AM
Thanks for the upgrade Kaleunt... Man, I'm soooo lazy to put out another atmosphere mod... Boo my laziness. :down:



btw rulle34,

did you ever fix the vampire settings?

rulle34
12-03-05, 10:55 AM
Hello marhkimov
I got better spotting ranges at night, but it had negative effect on fps. Too much to realese any mods :cry:

Marhkimov
12-03-05, 10:56 AM
Hello marhkimov
I got better spotting ranges at night, but it had negative effect on fps. Too much to realese any mods :cry:

Do you know how that happened?

rulle34
12-03-05, 10:58 AM
Hello marhkimov
I got better spotting ranges at night, but it had negative effect on fps. Too much to realese any mods :cry:

Do you know how that happened?

No ideas...Yet :D

Marhkimov
12-03-05, 11:04 AM
Just make sure that the FPS drop wasn't a fluke. Once, I thought one of my mod settings was causing an FPS drop, but I turned off the computer and tried again tomorrow... And guess what? No FPS drop...

Better to be safe about things...

Kaleunt
12-03-05, 01:48 PM
Hello Rulle 34, sorry but i didn't try to tweak the maximum visibility range
at night since our earlier tests. All my tweak gave me too much random results. But the problem appears only during clear night and no fog weather. In foggy weather is another matter, at night, with heavy clouds
and medium or heavy fog, a ship is really dificult to spot by the AI- crew.
I didn't found a way to reduce the visibility at night clear weather in the scene.dat file. I think is related to others parameters wich ones and in wich file? i don't know yet. What i can really say is that the scene.dat file rules only the 3D environment.

Marhkimov
12-04-05, 01:25 AM
Hi Kaleunt!


Regarding cameras.dat, there's a good reason why the "FarDistance"value should be left at 10000 instead of 20000.

With your new camera settings, I lost a solid 30 fps. And the real kicker is that SH3 does not even render the ocean past a certain vicinity of the u-boat. Any water beyond 10000 meters shows up as a flat blue texture, so basically it's a lot of wasted rendering power.

I would leave it at 10000. It works fine with atmosphere mod, even though we can see 16000 meters. It's not like the ships are floating or anything...


Marhkimov.


EDIT: Ok, I just realized that it doesn't eat up as much fps as I originally thought. But still, I like it better at 10000 meters.

Kaleunt
12-04-05, 10:27 AM
Hello, Marhkimov, if you think that all is going well without the cameras.dat
file combined with the atmosphere mod,ok, use the scene.dat as you wish.
I have followed the way open by Manuel Ortega, the cameras.dat file can be optional. The increased visual range up to 20000m in the cameras.dat
had an only goal: staying in line with the visual detection capabilities of the
AI_crew.

Gammel
12-04-05, 08:44 PM
A great mod and the perfect addition to the atmosphere mod, thank you Kaleut!!
I´m lucky my video card can handle the max LOD version and it looks just amazing! :sunny:
First time since the visibility mod came out i got a perfect horizon and no strange effects when using the external camera, especially on planes...
A good testing mission for the fix was the narvik single mission, it makes a huge difference compared to the stock atmosphere mod!

JonZ
03-05-06, 06:11 PM
How this work exactly?

Is LOD 8 is the Max details or the lowest?

What details exactly it is reducing? The ships or the waters?


J

ADukes
03-05-06, 08:00 PM
And the real kicker is that SH3 does not even render the ocean past a certain vicinity of the u-boat. Any water beyond 10000 meters shows up as a flat blue texture, so basically it's a lot of wasted rendering power.
Which setting must be changed to get rid of this effect?

PS. FarDistance is 10000.

Salvadoreno
03-05-06, 10:21 PM
so this mod adds better fog?? It needs Atmosphere Mod V1 and Atmosphre 16km 2 DARK?



answers please?

Panama Red
03-06-06, 09:14 AM
LOD means Level Of Details. So the higher the LOD number, the greater the drag on your CPU/GPU, which means lower FPS. :down:

There is a fine balance that you much chose based on your hardware, software and game settings so you get the quality (resolution, AA & AF)and quantity (FPS) that you want/can live with. :hmm: :hmm: :hmm:

JonZ
03-06-06, 06:56 PM
LOD means Level Of Details. So the higher the LOD number, the greater the drag on your CPU/GPU, which means lower FPS. :down:

There is a fine balance that you much chose based on your hardware, software and game settings so you get the quality (resolution, AA & AF)and quantity (FPS) that you want/can live with. :hmm: :hmm: :hmm:

Yeah but does it affect only ships or water as well?

Panama Red
03-07-06, 02:28 PM
It only effects the water surface, i.e. how far you can see the ocean surface ripples.

JonZ
03-07-06, 03:12 PM
It only effects the water surface, i.e. how far you can see the ocean surface ripples.

ah, I see. Thanks alot :up:

Salvadoreno
03-07-06, 04:39 PM
[quote="Salvadoreno"]so this mod adds better fog?? It needs Atmosphere Mod V1 and Atmosphre 16km 2 DARK?[code]



ANSWER please?

Gammel
03-08-06, 03:48 PM
http://img134.imageshack.us/img134/9255/sh3exe18le.jpg (http://imageshack.us)


:cry:

Panama Red
03-09-06, 06:56 AM
Gammel:
That is not fog in your picture. That is the gap between the end of the SH3 earth and the sky. You can adjust the size of the earth to cover this gap, but it lowers your FPS. If you know what numbers to look at you would see that the reason the the 8km visability is so FPS friendly is because the SH3 earth is "15", where the 16km visability is "60".

I played with these files about a month before I found out that the distance fog is controlled in the atmoshpere file, not the scene file (which controls the size of the SH3 earth). The main reason that you can not mix 8km files and 16km files is the atmosphere file, which sets the sky dome distance, not the scene file. This is why you get "no clouds" or a "black sky" when mixing 8km and 16km files.

Gammel
03-09-06, 07:26 AM
thx very much again, PanamaRed; i was asking about thet issue months ago and you already gave expaination for that effect and tried to help that time.
Unfortunately i´m not able to find that thread any more...

The screenshot above uses the scene.dat file and the env-folder from NYGM tonnage war, but i had that issue with other extended visibility mods as well.
It only appears when you move the camera to a certain high, like when following a plane or playing with the freecam like i did in that picture. At horizon level all is fine.

So even if´d loose all my fps :-j did i got you right that altering (increasing) the "DynamicOceanGridSize" value would eleminate that ugly effect?

And what would happen when increasing the earth radius even more?
16KM mod has 80000, Stock game 337813...

real earth radius is ~40000 KM, are the values in the scene.dat miles, nm or KM´s?:hmm:
looks like neither 8KM stock or 16km mods got right values here.

Does altering the earth radius has any ingame side effects? Or is it just graphics engine related?

Thanks again for your help and patience and please excusae my english! ;)

Panama Red
03-09-06, 07:52 AM
Gammel:
Your numbers are correct, I was thinking about another set of numbers in the scene.dat file. Since I'm at work now, I can not remember which numbers, but I did increase one set of numbers and it made the SH3 earth more realistic because it "flattened" the earth.

I found a couple of places on the web that gave sight distance formulas at sea and discovered that at 16km. from the bridge of a U-Boat, you can see alot more of a ship than had been portrayed in the 16km visability mod. The formula says that you sould be able to see all but 3 feet (1 meter) from the water line on the distance ship viewing from the U-Boat bridge (about 15 feet or 5 meters) in the air at 16km.

ADukes
03-09-06, 09:01 AM
real earth radius is ~40000 KM, are the values in the scene.dat miles, nm or KM´s?:hmm:
:o 40000km isn't the radius, it's 6370 km.
I assume that the scene.dat value is in meters, so I set it to 6370000.

Gammel
03-09-06, 09:15 AM
ups, you´re right ADukes,

the value i was talking about was the earth extent.
maybe the programmers also mixed that up...

Gammel
03-09-06, 09:48 AM
Yipee!!!
I altered the "DynamicOceanGridSize" value from 60 to 120 and the effect is gone!!!

And so is my framerate :-j

Panama Red
03-09-06, 09:54 AM
Gammel:
You have found the number that I was talking about. All you did was increase the SH3 earth to cover the gap between the earth and sky. I'm guessing that it halved your FPS too.

Gammel
03-09-06, 10:21 AM
more than halfed... :yep: i need better hardware, lol

do you have any suggestions for the so called earth radius value?
Any guess if the value means earth radius or earth extend?

Gammel wrote:
real earth radius is ~40000 KM, are the values in the scene.dat miles, nm or KM´s?Hmmm

40000km isn't the radius, it's 6370 km.
I assume that the scene.dat value is in meters, so I set it to 6370000.

Panama Red
03-09-06, 11:55 AM
I upped my earthradius valve to about 300000 (if I recall correctly since I'm at work at the moment) because it flatted the earth enough that you could see the ships, land and trees in the distance more like the real world.

If you look close through your UZO you will see that you can barely see the upper half of a ship at 16km from the bridge of your U-Boat. By reaising the earthradius number, it flattens the SH3 world and you can now see more of the ship as the real life formulas indicate. You will also notice that you can see land and trees further as in real life too.

GT182
03-09-06, 02:49 PM
What's up with rapidshare? Can't get the 16km fix to download. I've tried several times and it's just dead. :-?

GT182
03-10-06, 04:52 PM
Just found out it wasn't Rapidshare... it was me. :damn:

The other day I found a neat looking program called Star Downloader 1.44 free. Well, I got it and installed it after some thought. Sure enough I didn't think long enough and installed it. It wouldn't run, wouldn't uninstall. All I got were errors. Went back and got the Pro version and installed it for a free 30 day trial. Then I uninstalled it. Now Rapidshare is working fine again.

So the moral of the story..... stay away from Star Downloader... any version. And think about what you download to use, if you've never heard of anyone using it before.

killertomato
03-10-06, 06:32 PM
Just found out it wasn't Rapidshare... it was me. :damn:

....


So the moral of the story..... stay away from Star Downloader... any version. And think about what you download to use, if you've never heard of anyone using it before.

I've been using Star Downloader for years, and have never had any problems with it. If you take the time (2 seconds) to read the 5th line down on the Rapidshare chart (the one with the Premium/Free buttons on the bottom) it says "Support for download-accelerators" will not work for Free access, only for Premium. On sites that don't block them (accelerators), Star Downloader works like a charm. Being able to pick up where you left off (resume) a d/l has saved me hundreds of hours over the years, let alone it's ability to do 'multiple' d/l's of the same file at the same time from the same site. For those with dial-up a d/l accelerator is almost required for MEGA MB downloads, UNLESS you like to get 98% of the file downloaded and have the connection lost and have to start from scratch again, and again, and .....

Just my 2-cents worth.

Hohenstaufen
04-02-06, 05:59 AM
I also write it in another topic, because, i missed this thread.

Im Using 16 Km light for GW, and i have a damn black sky at day.

Do you guys have any idea how to fix this issue?

Hohenstaufen
04-02-06, 06:01 AM
I also write it in another topic, because, i missed this thread.

Im Using 16 Km light for GW, and i have a damn black sky at day.

Do you guys have any idea how to fix this issue?

JonZ
04-02-06, 06:15 AM
I also write it in another topic, because, i missed this thread.

Im Using 16 Km light for GW, and i have a damn black sky at day.

Do you guys have any idea how to fix this issue?


Q6: After installing GW, I get a black sky during the daytime.
This issue is possible due to other mods interfering with IuB through a faulty installation
of GW and SH3 Commander. If this happens, use the “Rollback” option in SH3
Commander, disable GW in JSGME, and then enable it again. To avoid similar file
problems with *any* mod in the future, ALWAYS rollback SH3Cmdr BEFORE
installing/enabling new mods. Whilst usually not a problem, it is always a good habit to
get into to ensure that you limit the potential for file clashes.

Hohenstaufen
04-02-06, 06:42 AM
Thank you mate it works fine now !