SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-12-17, 09:13 AM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by MLF View Post
Patch 7 - (Screenshots 1 & 2) Splash very smooth - no stuttering . Origin of spray segments are very apparent from above, with straight edges.

patch 8a - (Screenshots 3 & 4)Better spray effect, but edges still apparent when spray reduces/dissolves

Patch 8b - (Screenshots 5 & 6) IMO the best. Spray impressive, and density,height better. No straight edges apparent from above
Okay, I will keep working on the effect using v 8b as base then

BTW: when referring to particles, you should specify if you are talking about the short ones that you always see when a splash effect is triggered, or the tall ones that you only see when waves are equal or higher than two meters.

Quote:
Originally Posted by MLF View Post
Would it be be possible to have the spray go higher and be more wind blown after spawning (depending on wind speed). At the moment I feel there is a certain lack of fury in the spray.
I have already tried making splash/spray particles more affected by the wind than they are now, but the effect was not good because it looked like the whole splash (not only the spray) moved too far away from the lighthouse base. What I can do is making a third particle type, simulating vapourized water, to spawn with a certain delay, and to move further away from the splash following wind's direction. What do you think? Should I add this particle to both particle generators, or only to the one used for the highest waves?

Quote:
Originally Posted by MLF View Post
If the idea is to add foam then reflections of the spray would not be needed. The more the sensation of wetness in rough stormy weather, the better
Quote:
Originally Posted by MLF View Post
I have attached a screenshot of Patch 8b in calmer conditions, and the reflection of the spray is apparent
Okay, as you have already noticed water reflections are already there, though they are not always very apparent, especially when sea conditions are very rough. In any case, dynamic foam effect is definitely in our to-do list

Quote:
Originally Posted by MLF View Post
I edited the mission to increase wind speed to 15 m/sec, and I also set cloud cover to heavy with no changes. Unless the clouds are blue there didn't seem to be any change in the sky - have you noticed this?
Quote:
Originally Posted by MLF View Post
Funny thing is I edited the mission and added precipitation. It now rains from a clear blue sky - but don't suppose this has anything to do with this work.
Honetsly I didn't mess too much with other mission parameters than wind speed, but as for many other "fixed" values in game, it is possible that the game code randomizes them
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-12-17, 11:12 AM   #2
MLF
Weps
 
Join Date: Sep 2002
Location: SW France
Posts: 358
Downloads: 137
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
.

I have already tried making splash/spray particles more affected by the wind than they are now, but the effect was not good because it looked like the whole splash (not only the spray) moved too far away from the lighthouse base. What I can do is making a third particle type, simulating vapourized water, to spawn with a certain delay, and to move further away from the splash following wind's direction. What do you think? Should I add this particle to both particle generators, or only to the one used for the highest waves?
At sea, when it is very windy, the tops of the waves are whipped up into spray. I would therefore suggest adding it to the highest waves - it might look a bit messy otherwise. I'm not sure everything follows the wind direction anyway - the waves, for example, come from any direction as far as I can make out

Quote:
Originally Posted by gap View Post
Honetsly I didn't mess too much with other mission parameters than wind speed, but as for many other "fixed" values in game, it is possible that the game code randomizes them
I'm sure it's nothing to do with this work - I had to disable a few other mods to take screenshots etc, so most likely some tail-end charlie is messing up the clouds - my problem

regards,

MLF
__________________
Je pense donc je fuis!
MLF is offline   Reply With Quote
Old 08-12-17, 12:30 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by MLF View Post
At sea, when it is very windy, the tops of the waves are whipped up into spray. I would therefore suggest adding it to the highest waves - it might look a bit messy otherwise.
Okay, working on it right now. I hope to release a new patch within the next few hours

Quote:
Originally Posted by MLF View Post
I'm not sure everything follows the wind direction anyway - the waves, for example, come from any direction as far as I can make out
Yes, once spawned, particles follow wind direction. Their spawn point around the lighthouse base doesn't follow wave direction though: they are triggered by wave height instead, i.e. they spawn wherever wave crests reach the set level near the lighthouse

Quote:
Originally Posted by MLF View Post
I'm sure it's nothing to do with this work - I had to disable a few other mods to take screenshots etc, so most likely some tail-end charlie is messing up the clouds - my problem
Yes, I doubt this has anything to do with our mod
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-12-17, 07:48 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by MLF View Post
Would it be be possible to have the spray go higher and be more wind blown after spawning (depending on wind speed). At the moment I feel there is a certain lack of fury in the spray.
Quote:
Originally Posted by MLF View Post
At sea, when it is very windy, the tops of the waves are whipped up into spray. I would therefore suggest adding it to the highest waves - it might look a bit messy otherwise.
HI MLF,
could you please test the following patch?

Tourelle de La Plate v12 - Patch 9

For this patch, I have added wind-driven spray to the highest waves. The texture used could be better, and there is still some space for improving the effect. Water spray could be done to go higher and/or to move further away from the splash, but unfortunately spray particles are not physical objects, so the ones spawned upwind go through-and-through the lighthouse building. In order to make this visual glitch lesser apparent, I had to limit the movement of sparay particles.
I hope you will like the effect anyway, and I am curious to know what you think about it. Please don't hesitate giving me your criticism and any suggestion you migh have for making the overall effect to look better
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-13-17, 04:11 AM   #5
MLF
Weps
 
Join Date: Sep 2002
Location: SW France
Posts: 358
Downloads: 137
Uploads: 0
Default

Hi gap,

Do you ever sleep?

I have tested patch 9 and the wind-blown spray is very good. The screenshots don't do it justice - I shall try to get some better ones. However in the screenshots I was trying to show a couple of other things:-

Wind direction in the mission is 000 ie. it is coming from the north.
The U-boat is heading due south.
The rain is following the direction of the wind (vaguely) - north-east to south-west.
The foam movement on the sea is from north-east to south-west
The spray is going against the wind - South-west to north-east

I believe you have 8 placement nodes for the particle generation? What would be the effect of increasing these nodes, say to 10 or 12? As you can see from the 'above' screenshot the generation is quite apparent (this is being over-critical as who, in the game, tends to look at things from above, apart from pilots, and this is a sub sim)

Regards,

MLF
Attached Images
File Type: jpg 9 - side.jpg (92.2 KB, 10 views)
File Type: jpg 9 - above.jpg (76.4 KB, 11 views)
__________________
Je pense donc je fuis!
MLF is offline   Reply With Quote
Old 08-13-17, 04:51 AM   #6
MLF
Weps
 
Join Date: Sep 2002
Location: SW France
Posts: 358
Downloads: 137
Uploads: 0
Default

I've been playing around with the mission editor. I set the wind direction to 180.

The rain now goes from the SSW to NNE.
The wave foam still goes from NE to SW
The spray goes from SW to NE still.

My conclusion is the spray is not affected by the wind direction.

I had the same problem with funnel smoke on ship's.

http://www.subsim.com/radioroom/sear...archid=2132889

I tried to get the smoke to go in a direction from the ship which was a combination of the ships speed/direction and wind speed/direction (apparent wind speed/direction) by changing Local wind and Global wind parameters. Seemed to work for the combination of ship's speed and wind speed, but not direction - ie: if the wind speed was say 25 knots and the ship speed 25 knots in opposite direction smoke went straight up. However when the ship was stopped, the smoke went in the direction set by the local and global wind parameters and not the direction of the wind set in the campaign/mission ie: the rain and smoke were never in the same direction.

Perhaps rain parameters would give a clue as to how things are done? Any idea where that is set - scene.dat, but not sure that parameters there set the rain to follow wind direction.........?

regards,

MLF
Attached Images
File Type: jpg 9 - side1.jpg (64.7 KB, 10 views)
File Type: jpg 9 - above1.jpg (97.1 KB, 9 views)
__________________
Je pense donc je fuis!

Last edited by MLF; 08-13-17 at 05:44 AM.
MLF is offline   Reply With Quote
Old 08-13-17, 08:21 AM   #7
MLF
Weps
 
Join Date: Sep 2002
Location: SW France
Posts: 358
Downloads: 137
Uploads: 0
Default

Hi Gap,

Sorry, but noticed another strange effect - when the wind blown spray is spawned the light tower goes double vision

regards,

MLF
Attached Images
File Type: jpg 9 - strange.jpg (64.2 KB, 14 views)
__________________
Je pense donc je fuis!
MLF is offline   Reply With Quote
Old 08-13-17, 08:42 AM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by MLF View Post
Hi gap,

Do you ever sleep?
At times, when I don't have anything better to do

Quote:
Originally Posted by MLF View Post
I have tested patch 9 and the wind-blown spray is very good. The screenshots don't do it justice - I shall try to get some better ones.
So you are saying that except for particles not following wind direction and splash FX spawn points being not close enough to each other, the rest is good?

Quote:
Originally Posted by MLF View Post
Wind direction in the mission is 000 ie. it is coming from the north.
The U-boat is heading due south.
The rain is following the direction of the wind (vaguely) - north-east to south-west.
The foam movement on the sea is from north-east to south-west
Quote:
Originally Posted by MLF View Post
I've been playing around with the mission editor. I set the wind direction to 180.

The rain now goes from the SSW to NNE.
The wave foam still goes from NE to SW
To the best of my understanding, an heading of 0 corresponds to a South to North direction, and a 180 heading to a N to S direction. That's true in common navigation terminology and in game, as far as units are concerned. Maybe devs got wind hedings wrong?

Quote:
Originally Posted by MLF View Post
Perhaps rain parameters would give a clue as to how things are done? Any idea where that is set - scene.dat, but not sure that parameters there set the rain to follow wind direction.........?
I don't see anything related with rain drop direction in scene.dat's rain properties, maybe rain following the wind direction is an hardcoded feature. Anyway in the Env.sim controller I see some Start/End WindHeading parameters which might apply to the issue of wind directions as perceived in game (from rain and waves) being inverted releative to wind headings set in mission editor

Quote:
Originally Posted by MLF View Post
My conclusion is the spray is not affected by the wind direction.
Whatever is the convention used by devs, if spary direction didn't change after inverting wind heading, your conclusion must be right

Quote:
Originally Posted by MLF View Post
I had the same problem with funnel smoke on ship's....
IIRC, TheDarkWraith managed getting smoke to follow the wind direction in SH5. Let me check the settings he used for achieving that

Quote:
Originally Posted by MLF View Post
I believe you have 8 placement nodes for the particle generation? What would be the effect of increasing these nodes, say to 10 or 12?
The particle generators would be closer together, thus creating a better effect, especially if seen from above.
I don't think increasing the number of particle generators placed around the lighthouse would have a big impact on game fluidity, as the generators we have set are not so particle-intensive. Nonetheless, should we notice any performance hit, we can always reduce the number of particles per generator. If we decide to increase the number of PG placement nodes from 8 to 12, A reduction to about 2/3 of the original particles should be okay

Quote:
Originally Posted by MLF View Post
As you can see from the 'above' screenshot the generation is quite apparent (this is being over-critical as who, in the game, tends to look at things from above, apart from pilots, and this is a sub sim)


No problem: if we can improve the splash FX with no side effects, why not to do it? If on the other hand we will notice any adverse factor, well, we will refrain our virtual pilots from taking aerial pictures of our lighthouses
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:49 AM.


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