![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
07-30-17, 11:17 AM
|
#1 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Not sure what was the problem.
I replaced the materials previously used, with other materials copied from units which had the specular mask enabled and working. Even in their new location, those new materials worked as supposed. I then edited their properties, names, flags, texture linking etc, one by one, for making them to resemble the buggy materials. By doing so, I hoped that at some point I would have discovered the 'bad' setting which caused the corruption but, at the end of the story, I found myself with materials apparently identical to the old ones, except for the fact that they still worked and the originals didn't ![]() ![]() I suspect that the materials initially used were corrupted in a way that s3d couldn't detect (I am not sure, but I might have copied them from a file which had been "manually" tweaked with an hex editor), or perhaps those materials had nothing wrong, but there is some 'hidden' material flag which is a 0 by default and must be set to 1 for the material to accept specular reflections. The old materials might have had this flag disabled, and the new ones enabled. The good thing about S3ditor is that it is able to create exact copies of chunks/addresses even when it doesn't fully understands/handles them Sure it does! I wish I could take some screenies: I am currently tweaking/balancing material attributes; for making things more obvious, I have replaced diffuse texture's RGB channel with solid medium grey, and I can clearly see how the underlying specular mask affects the texture depending on luminosity level and sun angle. Quote:
I would gladly test it, and incorporate it in the upcoming new version of the mod, but can see no link ![]() Quote:
![]() That's exactly the chart you had posted a few days ago, but with tones of grey replacing shades of blue, and grey values used for water going from 0 to 47. From it, I get that a grey value of 46 (R=46, G=46, B=46) is equal to -17 m, a value of 45 is equal to -18 m, and so on. ![]() The 'shallowest' grey tone is 47, but its corresponding depth is not provided in your chart. I have included that value in my Ile de Sein terrain modification (for waters surrounding the island to the South IIRC), but I couldn't notice the side effect you told me. Did you? Maybe I should add a bigger spot of grey-47 on SHIII's elevation map for you to measure what is its corresponding depth in game, as -17 is a bit too deep for simulating the very shallow waters we want to put in game
Last edited by gap; 07-30-17 at 11:26 AM. |
||
|
|
07-30-17, 12:11 PM
|
#2 | |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Quote:
- I decided to improve a bit the "animation" of the light - I've had a new idea for our mod, and I immediately started to work on it. It's now working fine. More on this coming soon ... ![]() Else, I've just reworked a bit the color of the halo, to have something more pink than violet. |
|
|
07-30-17, 12:39 PM
|
#3 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
So, why not to add a "searchlight effect" to the main lighthouses ?
With a turning light beam (i've added a rotation controller for that) ? ![]() You can even change the color : ![]() Maybe, we can use this feature to add different colors for the light, depending on the angle ? However, more tests are needed to see if that's possible.The side effect is that the beam on the sea surface can only appear if the lighthouse has detected an ennemy unit ... |
|
07-30-17, 12:59 PM
|
#4 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Quote:
|
||
|
|
07-30-17, 02:51 PM
|
#5 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
|
|
07-31-17, 03:27 AM
|
#6 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
What do you think ?
![]() ![]() I just would like the beams to be larger on the extremities, to not looking like laser beams. The idea is this :
Last edited by Kendras; 07-31-17 at 03:44 AM. |
|
07-31-17, 05:07 AM
|
#7 |
|
Commander
![]() Join Date: Aug 2007
Location: Italia Venezia
Posts: 446
Downloads: 228
Uploads: 0
|
Great !!!!
|
|
|
07-31-17, 12:43 PM
|
#8 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
![]() Quote:
On a side note: I have tested your improved flashing light effect and it works as a charm. Even the ghost sqare around the light flash texture has disappeared ![]() I have another suggestion. In theory, light intensity should decrease with the distance following the inverse-square law, but currently our effect is as bright when seen in close-up view as it is when seen from far away. Would it be possible making it to gradually fade away until it completely disappears at a distance of about 8 nm (14.8 km) from its source? ![]() EDIT: something else I would do, is making the flash considerably smaller: it looks a bit too big for such a modest light. If we kept the currents size, how big should be in comparison Créac'h's flare? Last edited by gap; 07-31-17 at 12:59 PM. |
||
|
|
07-30-17, 12:54 PM
|
#9 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Okay but be careful with those particles: remember that they are FPS killers.
On a side note: have you had a look into the FastParticleGenerators? It has more or less the same parameters as the more common ParticleGenerator (i.e. porting an effect from a generator to the other should be quite easy) but I think it is lesser GPU-intensive and more optimized for quickly evolving particles ![]() Quote:
![]() Quote:
On a partly unrelated note: as I already told you, I would really like our rocks/shoals/islets to have foam around them from the waves crashing on them. Have you started digging into this topic? Do you think there is a way to link a particle effect to the water surface?
|
||
|
|
07-30-17, 01:02 PM
|
#10 | |||
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
Quote:
Already posted just above ! I'm currently making more tests about that idea.Quote:
http://www.mediafire.com/file/g2i2f3...hthouse_FX.dat Quote:
|
|||
|
07-30-17, 01:28 PM
|
#11 | ||||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Okay, but remember what happens with your buoys mod, when many light buoys are in the area
![]() Quote:
Not saying that we have to use it, but let's make a mental note about it, in case we need it in future Quote:
Quote:
Quote:
It is just a small detail, but one that might raise the realism level by a factor 2
|
||||
|
|
07-30-17, 02:07 PM
|
#12 |
|
Stowaway
Posts: n/a
Downloads:
Uploads:
|
|
|
07-30-17, 02:28 PM
|
#13 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
I have to go now. Tomorrow I will test your reworked light effect and hopefully I will upload the next version of our lighthouse with some new features and many fine-tunings, optimizations and fixes Have a nice evening
|
|
|
|
07-31-17, 01:19 PM
|
#14 |
|
Weps
![]() Join Date: Sep 2002
Location: SW France
Posts: 358
Downloads: 137
Uploads: 0
|
Hi Gap
I had a problem with that as well. Look in the Silent Hunter III root folder. If you have a file d3d9.dll rename it (don't delete). This will take you away from a wide screen view, but allow screenshots by using 'Alt'+ 'PrtSc' and the pasting into a prog like Paintshop to generate the .jpg file. Worked for me, but if d3d9.dll doesn't exist then not a solution. I'm following this thread with amazement at the way you guys are progressing Regards, MLF
__________________
Je pense donc je fuis! |
|
|
07-31-17, 02:23 PM
|
#15 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Quote:
Stay tuned for this new version
|
||
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
