| View previous topic :: View next topic |
| Author |
Message |
Marhkimov
Joined: 22 May 2005 Posts: 2392 Location: Bay Area, California, USA
|
Posted: Wed Nov 02, 2005 3:09 am Post subject: Transparent Ocean -project- |
|
|
For this mod project, the main goal... is to be able to see fubar's beautiful camo skins through the ocean surface.
As you probably already know, fubar has made a VIIB camo skin for the mediterranean theater. The real reason for needing camouflage (in real life) was to break up the image of a submerged u-boat from the air. But as it stands in SH3 right now, the water is 100% opaque, or 0% transparent. Some transparency, or even a little bit of transparency, would be nice. Of course, I don't plan on making the water super transparent. That would be unrealistic, and against my wishes.
If it is at all possible, I would like for increased transparency in the med, while still maintaining limited transparency in the atlantic and arctic.
I'll admit that this falls under the category of being totally "eye candy," but if anyone claims to know me, they'll know that I LOOOOOOOVE eye candy... Just take a look at most of my other mods....
I hope everyone understands my goals... And quite frankly, I hope that they are attainable...
I am theorizing that if we can see the top of our u-boat from underneath of the water, then I must believe that transparency is possible, the other way around. We might find a way to make it possible to see the bottom of our u-boat from above the water. I have heard that an SDK would be needed in order to achieve this, but I do not buy it. I'll bet that we can do this the old fashioned way... By working our tails off!
***And for those who might care to know or for those who might want to do further research, in real life this phenomenon is often called 'Secchi depth' or 'ocean turbidity'... 'Fresnel reflections' are also related.
I have done a little bit of editing in the 'scene.dat' file, but so far nothing has worked. However my results are promising.
This screenshot was taken from underwater. I 'tweeked' a few values in scene.dat in order to get this sort of bright effect:
If anyone has any ideas, comments, or helpful tips, please share. And if anyone wants to help me in achieving transparent oceans, be my guest. I will take all the help I can get! 
Last edited by Marhkimov on Wed Nov 02, 2005 7:47 pm; edited 11 times in total |
|
| Back to top |
|
 |
Kpt. Lehmann
Joined: 25 Jul 2005 Posts: 1665 Location: Texas, USA
|
Posted: Wed Nov 02, 2005 3:24 am Post subject: |
|
|
Oboy! That is absolutely WICKED!  |
|
| Back to top |
|
 |
oRGy
Joined: 21 Apr 2005 Posts: 644
|
Posted: Wed Nov 02, 2005 10:18 am Post subject: |
|
|
Clever idea.
Unfortunately the reflection is already modelled above water. Would you not have to add a second reflection or something like that then? Would be nearly impossible I'd say. Sergbuto is the resident expert on reflections, so he'd know better...
Have you also tried finding the water texture files and adding an alpha channel? If you do this with the u-boat skins, you can turn your u-boat transparent for example. |
|
| Back to top |
|
 |
Marhkimov
Joined: 22 May 2005 Posts: 2392 Location: Bay Area, California, USA
|
Posted: Wed Nov 02, 2005 12:40 pm Post subject: |
|
|
At this point, I'm not too worried about issue of "clashing" reflections. First, I want to find out if a transparent water surface is possible. Then, we'll figure out things from there.
I did have the alpha texture idea, so I will try that later tonight when I get home. The water textures are located in the 'data\Misc' folder, so it's just a matter of editing all of them. But I doubt that will work, though. There was a thread in which Flakwalker tried to make alpha channels on a flag, but it did not work.
However Sansal did post this picture:
I know that it is possible.... Maybe Sansal or another 3D modeller could help???
Last edited by Marhkimov on Wed Nov 02, 2005 3:46 pm; edited 1 time in total |
|
| Back to top |
|
 |
Rubini
Joined: 13 May 2005 Posts: 1149 Location: São Paulo Brazil
|
Posted: Wed Nov 02, 2005 1:42 pm Post subject: |
|
|
marhkimov,
I can be wrong but when I was messing with the nitgh sky/sea i put a alpha channel on the sea texture and the sea become transparent. I will see again. :hmm:
Feedback soon.
Rubini. |
|
| Back to top |
|
 |
Marhkimov
Joined: 22 May 2005 Posts: 2392 Location: Bay Area, California, USA
|
Posted: Wed Nov 02, 2005 1:50 pm Post subject: |
|
|
Oh yea, how could I forget... The water textures are also located in the 'SkyColors_*.dat' files...
Rubini, I hope you are right!  |
|
| Back to top |
|
 |
Rubini
Joined: 13 May 2005 Posts: 1149 Location: São Paulo Brazil
|
Posted: Wed Nov 02, 2005 2:53 pm Post subject: |
|
|
Nope. :down:
I tried to put the alpha channel (with more or less opacity) but don't work.
Rubini. |
|
| Back to top |
|
 |
Marhkimov
Joined: 22 May 2005 Posts: 2392 Location: Bay Area, California, USA
|
Posted: Wed Nov 02, 2005 2:54 pm Post subject: |
|
|
| darn... any more ideas out there? |
|
| Back to top |
|
 |
rulle34
Joined: 30 Apr 2005 Posts: 823 Location: Sweden
|
Posted: Wed Nov 02, 2005 3:34 pm Post subject: |
|
|
@marhkimov
What is yur main goal with this :huh: |
|
| Back to top |
|
 |
Marhkimov
Joined: 22 May 2005 Posts: 2392 Location: Bay Area, California, USA
|
Posted: Wed Nov 02, 2005 3:43 pm Post subject: |
|
|
| rulle34 wrote: | @marhkimov
What is yur main goal with this :huh: |
Good question Rulle34, I'm glad you asked...
***Copied from the first post...
My main goal... is to be able to see fubar's beautiful camo skins through the ocean surface.
As you probably already know, fubar has made a VIIB camo skin for the mediterranean theater. The real reason for needing camouflage (in real life) was to break up the image of a submerged u-boat from the air. But as it stands in SH3 right now, the water is 100% opaque, or 0% transparent. Some transparency, or even a little bit of transparency, would be nice. Of course, I don't plan on making the water super transparent. That would be unrealistic, and against my wishes.
If it is at all possible, I would like for increased transparency in the med, while still maintaining limited transparency in the atlantic and arctic.
I'll admit that this falls under the category of being totally "eye candy," but if anyone claims to know me, they'll know that I LOOOOOOOVE eye candy... Just take a look at most of my other mods....
I hope everyone understands my goals... And quite frankly, I hope that they are attainable...
And if anyone thinks that this is just eye candy, I hope to give you cavities soon. 
Last edited by Marhkimov on Wed Nov 02, 2005 4:34 pm; edited 3 times in total |
|
| Back to top |
|
 |
rulle34
Joined: 30 Apr 2005 Posts: 823 Location: Sweden
|
Posted: Wed Nov 02, 2005 4:08 pm Post subject: |
|
|
@marhkimov
I knew you where up to something
This is actually great
Did you read and got inspired by my link of camouflage and german subs in the Mediterrian?
"In the Mediterranean, the theatre where camouflage was most commonly found, a pattern of dark grey jagged splotches applied at regular intervals over the upper hull and conning tower was commonly used. Sometimes, as on U 453, there were patches with hard edges rather than jagged splotches. As the waters of the Mediterranean are much clearer than the Atlantic, U-boats could be seen from the air at a greater depth. A U-boat at periscope depth could be clearly seen from the air in daylight, so the pattern of dark splotches or patches was intended to break up the U-boat’s shape sufficiently to prevent detection from the air."
Here is the link: http://uboatcolours.mysite.wanadoo-members.co.uk/page6.html |
|
| Back to top |
|
 |
Marhkimov
Joined: 22 May 2005 Posts: 2392 Location: Bay Area, California, USA
|
Posted: Wed Nov 02, 2005 4:14 pm Post subject: |
|
|
Actually, I do remember reading that... So it was YOU who inspired me! HAHAHA
Great job, indeed you managed to get my juices flowing.  |
|
| Back to top |
|
 |
Sailor Steve
Joined: 22 Nov 2002 Posts: 5433 Location: Salt Lake City, Utah
|
Posted: Wed Nov 02, 2005 5:26 pm Post subject: |
|
|
I think it's a great idea. Maybe even better if there was a way to alter the Sensors files so the planes could see down to a certain depth even if we couldn't.
Still, it would be cool to use the external view and see your boat at periscope depth. |
|
| Back to top |
|
 |
kriller2
Joined: 16 Apr 2005 Posts: 183
|
Posted: Wed Nov 02, 2005 5:29 pm Post subject: |
|
|
You can tweak the water colour and reflectivity but I think the devs didn't include code to make the water transparent from the above, because they wanted to keep the system spec. low so SH3 could run on most computers... But I hope I'm wrong, good luck, it coud be great with transparent water! I will allso poke a little with the settings/code to investigate it further.
EDIT:
Wait! there is hope it looks like SH3 can show tranparency from the above:
... :hmm: |
|
| Back to top |
|
 |
Marhkimov
Joined: 22 May 2005 Posts: 2392 Location: Bay Area, California, USA
|
Posted: Wed Nov 02, 2005 6:27 pm Post subject: |
|
|
:huh: OMG! Kriller2, in one day you cracked what no one else has even come close to cracking!!!
OMG!! OMG!! OMG!!
Keep cracking away!!!
btw, how does it look with a u-boat? And how did you do that? or is that just the normal land reflection??? |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|