How is the Smoke?
#41
Posted 20 January 2014 - 01:09 PM
Of course every particle must have an initial, random, velocity vector, dispersing the plume.
At this vector, can be added the wind vector, if any.
Also, every particle must have a life, composed of a constant, big for smoke, lower for steam, plus a random component.
That is for obtain a gradual dispersion of the plume.
Again:
Please excuse my poor english.
Regards.
#42
Posted 21 January 2014 - 12:17 AM
James Ross, on 20 January 2014 - 06:51 AM, said:
FWIW, it currently looks like a bit of both, but I'll be constructing a new particle simulation with much faster deceleration which should help.
It looks like the smoke decelerates much faster than I was anticipating (although I still think we're getting a higher velocity than might actually be the case in reality), so hopefully when I create the new model of that we'll get lower smoke plumes. I'll be adding in the wind too, though that seems less useful than more randomness in particle direction (which I'll also be adding).
Lower smoke plumes result from simply changing the value of the coordinates in the .eng file for the locomotive. Same for smoke rise during movement.
Basically, the Offset is the location of the stack, or the beginning point. The other value is the "target" for the particles. If it's 20 meters up and the particle only lives for a couple of seconds, it will never make it, and will just go pretty much straight towards it. If it's lower, say 5 meters, the plume will be much shorter and the smoke will stream backwards much more quickly on movement.
To see this in action, and to examine the settings, compare the .eng files between the default D9, which has low fat smoke with a wide exhaust and the default SD40-2 with a high thin smoke with a narrow exhaust. Try running the two together in the sim, and you can see the difference in the effects real time, then compare the values.
James, I spent a couple of weeks in the particle emitter, and I fully understand what you're trying to do, and basically, what I couldn't figure out was how to get the particles to decelerate as they rose, and also, the distance should also be more random. However, much more than that won't work if hard-coded into the particle emitter. Try making some radical changes to the .eng files and you'll see what I mean.
I also have an idea that I tried out that randomizes the smoke quads slightly so it doesn't look so uniform. Would you like to try that?
There are some MSTS locos with remarkably realistic smoke in OR, others look terrible. Usually the same results in MSTS.
Robert
#43
Posted 21 January 2014 - 04:48 AM
rdamurphy, on 21 January 2014 - 12:17 AM, said:
I also have an idea that I tried out that randomizes the smoke quads slightly so it doesn't look so uniform. Would you like to try that?
Well, the deceleration bit has been solved. :) I need to tune the behaviour but it's there. I am thinking about ways to differentiate smoke/steam/diesel but for the moment it'll be just the colour, volume emitted and duration. Let's wait and see how it looks with a load more randomness.
#45
Posted 21 January 2014 - 01:38 PM
The current rate of steam exhaust gives a series of puffs at a slow rate, this should be linked to the train speed in order to look better. The decay rate of the particles is also too slow in the current iteration of the code. At rest the visual effect stops just above the emission point and when running is not visible long enough. I realise that this is in the early stages of development.
James. That last picture looks very good, but illustrates the short time decay of the particles.
#46
Posted 21 January 2014 - 01:44 PM
If you'd like, I'll go ahead and throw those in, so you can see what you think?
Your work has definitely improved the appearance!
Robert
#47
Posted 21 January 2014 - 01:49 PM
#48
Posted 21 January 2014 - 01:56 PM
copperpen, on 21 January 2014 - 01:38 PM, said:
The current rate of steam exhaust gives a series of puffs at a slow rate, this should be linked to the train speed in order to look better. The decay rate of the particles is also too slow in the current iteration of the code. At rest the visual effect stops just above the emission point and when running is not visible long enough. I realise that this is in the early stages of development.
James. That last picture looks very good, but illustrates the short time decay of the particles.
The particle code doesn't get any say in the lifetime of particles - that is dictated by the locomotive simulation code, which I've not been touching. It should be looked at by someone when I stop fiddling with the actual emissions. :ireful2:
rdamurphy, on 21 January 2014 - 01:44 PM, said:
Mmm, the size could be randomised (yay, more vertex data!). Regarding height/speed, I'd see how the current code works before adding something like that. It isn't clear to me how much effect speed actually has (remember that because the particles are rising at a roughly constant speed after emission, a faster locomotive means the trail will be closer at a given point down the train without any extra work) over what I have just committed as X1953.
Anyway, new code in X1953 seems to work okay and even looks alright (though probably still not great) for diesels too.
#49
Posted 21 January 2014 - 02:16 PM
http://i39.tinypic.com/308b41c.png
May I ask something, though? I'm really not sure if this is yet possible or not, but it really depends on different locomotives if when they're in full power make a lot of smoke or not, or just when increasing throttle they do a lot of smoke and then they look rather "clean" afterwards... Is this possible to configure on the engine file? If not, would it be possible to ask for some "ORTS only" config lines which determinate how much smoke the locomotive can make in its different throttle steps or just when increasing? :) Just a thought...
#50
Posted 21 January 2014 - 02:37 PM
#51
Posted 21 January 2014 - 03:03 PM
I also tested a Spanish locomotive (Renfe 333) and the smoke looks pretty reasonable too, a little too much maybe, but that can be adjusted on the eng file I guess... :D
For example, what I was sugesting above about that smoke quantity upon throttling up or just full power, in this video you can have an idea of what I was talking about. This is a video of the Portuguese CP 1525 ALCo locomotive and you can notice that when the train driver increases the throttle, it makes some smoke but it doesn't keep smoking as much as it did when increasing one step of the throttle. :) I hope that I'm not being too confusing... :/
http://youtu.be/CHFPsB71r_k?t=36s
#52
Posted 21 January 2014 - 03:11 PM
PA1930, on 21 January 2014 - 03:03 PM, said:
I also tested a Spanish locomotive (Renfe 333) and the smoke looks pretty reasonable too, a little too much maybe, but that can be adjusted on the eng file I guess... :D
For example, what I was sugesting above about that smoke quantity upon throttling up or just full power, in this video you can have an idea of what I was talking about. This is a video of the Portuguese CP 1525 ALCo locomotive and you can notice that when the train driver increases the throttle, it makes some smoke but it doesn't keep smoking as much as it did when increasing one step of the throttle. :) I hope that I'm not being too confusing... :/
http://youtu.be/CHFPsB71r_k?t=36s
Wanna talk about ALCOs? Here is my reply to your video! xD
https://www.youtube....h?v=GDijr3zt1JE
So are you saying that we have to basically go locomotive per locomotive and changing the smoke settings?
Cause for example in this 308 you can see a different type of smoke and it still get's the sky dark >xP Not an ALCO now but a CAT, shouldn't be smoking that much hehehe.
#53
Posted 21 January 2014 - 03:20 PM
Guille592, on 21 January 2014 - 03:11 PM, said:
As long as it's only certain locomotives with this behaviour (I haven't found any myself, everything I've tried so far looks quite reasonable), we might have to say the engine files need adjusting, but before that we need to check what's going on in these specific cases to be sure we've not made a mistake somewhere. (We could also set fixed limits on emissions, but I'd like to avoid that sort of thing if we can.)
#54
Posted 21 January 2014 - 03:24 PM
Guille592, on 21 January 2014 - 03:11 PM, said:
https://www.youtube....h?v=GDijr3zt1JE
So are you saying that we have to basically go locomotive per locomotive and changing the smoke settings?
Cause for example in this 308 you can see a different type of smoke and it still get's the sky dark >xP Not an ALCO now but a CAT, shouldn't be smoking that much hehehe.
See, that video from Renfe 313 (we also had them in Portugal, series CP 1320 actually bought in second hand from Renfe :D ) is also a good example of a different locomotive that makes a lot of smoke even when on, lets say, "full power". So that's why I was suggesting those new "ORTS only" parameters... :D
And yes, in my opinion ORTS has already a good display of smoke, of course, needing some more changes here and there, but so far is looks much better than MSTS for example. So since the locomotives were mostly configured to MSTS, if they don't make a nice smoke effect, then my sugestion is to change their smoke configuration. :) I've been doing this gradually as I play with different locomotives... :)
#55
Posted 21 January 2014 - 03:49 PM
But:
In my UP9000, with full reverser, the plume takes a circular shape, a bit unreal.
And a speed, the smoke goes in puffs.
Closing reverser, the shape looks better, and the puffs disapears, but the height of the plume is lower.
Good dispersion.
The plume starts at the front of the stack, not at the center.
And the smoke dissapears a bit abruptly. Perhaps needs mor random.
Anyway, congratulations.
This is te correct way.
Regards.