SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   Possible chance to fix the distortion in skymods (https://www.subsim.com/radioroom/showthread.php?t=85052)

oRGy 10-04-05 01:38 PM

This looks like a great fix!

Would this be compatible with the 16km visibility mod?

Seeadler 10-04-05 02:52 PM

Quote:

Originally Posted by oRGy
Would this be compatible with the 16km visibility mod?

It would be not compatible with mods who has altered the
- scene.dat
- EnvColors_Arct.dat
- EnvColors_Atl.dat
- EnvColors_Med.dat
- SkyColors_Arct.dat
- SkyColors_Atl.dat
- SkyColors_Med.dat
i.e. moon mods, water color mods,...
All these mods must be redone with the new dat files :roll:

oRGy 10-04-05 02:57 PM

Aha!

I see.

It would be great so, if you found the time to release an Improved U-Boat compatible version. ;)

IuB combines the vismod with Beerywater and some minor changes I made myself, e.g. to the moon.

Then again, it should be fairly easy to import the sphere now we have sansals tool, right?

Seeadler 10-17-05 03:20 PM

Now the first step of this fix works, the wormhole is gone :cool:
But the new skydome needs now a different texture mapping because with the default mapping, the movement of the clouds looks not so good.

I made a tiny video of the current state, it need DivX 6.0
http://rapidshare.de/files/6411131/clouds1.zip.html
http://www.divx.com/

My next step is to experiment with different uvw maps and sky/cloud textures.

Kpt. Lehmann 10-17-05 03:59 PM

I watched the movie.... Looks like you are on to something GREAT! :up: :up: :up:

I'm looking forward to more of your work.

Seeadler 10-18-05 05:40 PM

LOL, the solution for this fix was more easier than I estimate before! :lol:

The bug was not in the 3D structure of of the skydome, it was in the texture mapping coordinates. The developers do the unwrap job for the cloud's texture carelessly.

Here is the uvw map of the original cloud dome, in the center you recognizes that the coordinates are disordered and that results in the game in this well known distortion above.
http://foto.arcor-online.net/palb/al...6264316137.jpg

I arranged only these coordinates in the center and brought them into a more ordered coordinate system and now there is no more distortion in the clouds and they move well over the sky.
http://foto.arcor-online.net/palb/al...6462356462.jpg

I release the next days a fixed scene.dat. Modders who use the original scene.dat for their mods can rebuild their mods with it (I don't know what all these mods are :know:)

Marhkimov 10-18-05 05:44 PM

WOW!!! not only did you fix it, but damn, that looks pretty! :lol:

Darkseed 10-18-05 08:05 PM

I hope Ailantd will make his skymod compatible with this, even though i'd love to get rid of the distortion I just can't live without the beautiful clouds of his.

By the way, does this get rid of the other glitches in the sky too? Like the one most visible at night where there are slightly lighter irregular spots all over the sky, RuB made it alot more visible too with the bluish night sky.

Col7777 10-19-05 12:18 AM

@Seeadler,

Frank did you find a way of adding more cloud types while you were experimenting with this mod?
I have a few cloud types already made, I swap them about from time to time but being able to have more would be great.

btw, great job on this mod. :up:

gorilliamos 10-19-05 12:32 AM

this looks really nice!

Seeadler 10-19-05 06:07 AM

Quote:

Originally Posted by Darkseed
I hope Ailantd will make his skymod compatible with this

If Ailantd's mod only replaces the nori00.tga/nori01.tga textures as I did it with my skymod, then there is no need to rework the mod, it will work with the new scene.dat

Only mods that has changed some values inside the scene.dat or replaced the textures for moon, sun, fog inside the scene.dat, needs to be redone.

Quote:

By the way, does this get rid of the other glitches in the sky too?
No the other glitches are related to the global skydomes for Atlantic, Artic and Med. The scene.dat only includes the skydome for the clouds.

Darkseed 10-19-05 07:11 AM

So as long as the scene.dat is left untouched there will be no compatibility problems?

Quote:

No the other glitches are related to the global skydomes for Atlantic, Artic and Med. The scene.dat only includes the skydome for the clouds.
Is it possible to get rid of them? I probably find the spotted sky at night to be even more annoying than the wormhole since I rarely look straight up.

Syxx_Killer 10-19-05 10:31 AM

Quote:

Originally Posted by Darkseed
Is it possible to get rid of them? I probably find the spotted sky at night to be even more annoying than the wormhole since I rarely look straight up.

You mean the stars? :rotfl:

Actually, I'm not sure what other sky bug there is other than the wormhole one. :-?

Will the new sky dome affect the stars at night? Will they be in the wrong positions? Will the moon be affected?

Darkseed 10-19-05 01:56 PM

No i'm talking about big pixelated irregular spots all over the sky, they are visible at day but mostly at night, especially with RuB that has a blueish night sky. The spots are the same color as the sky but a few shades lighter. Maybe i'm the only one who has this?

Seeadler 10-19-05 02:04 PM

Quote:

Originally Posted by Darkseed
The spots are the same color as the sky but a few shades lighter. Maybe i'm the only one who has this?

Can you post a screenshot?
I don't have these spots but I don't have RuB installed.


All times are GMT -5. The time now is 11:41 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.