feat: Rain particles move straight down, increase acceleration slightly #3369
No reviewers
Labels
No Label
#P1 CRITICAL
#P2: HIGH
#P3: elevated
#P4 priority: medium
#P6: low
#Review
annoying
API
bug
code quality
combat
commands
compatibility
configurability
contribution inside
controls
core feature
creative mode
delayed for engine release
documentation
duplicate
enhancement
environment
feature request
gameplay
graphics
ground content conflict
GUI/HUD
help wanted
incomplete feature
invalid / won't fix
items
looking for contributor
mapgen
meta
mineclone2+
Minecraft >= 1.13
Minecraft >= 1.17
missing feature
mobile
mobs
mod support
model needed
multiplayer
Needs adoption
needs discussion
needs engine change
needs more information
needs research
nodes
non-mob entities
performance
player
possible close
redstone
release notes
schematics
Skyblock
sounds
Testing / Retest
tools
translation
unconfirmed
mcl5
mcla
Media missing
No Milestone
No project
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: VoxeLibre/VoxeLibre#3369
Loading…
Reference in New Issue
No description provided.
Delete Branch "atomdmac/MineClone2:adjust-rain-velocity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Rain particles will fall straight down (instead of having a randomized x/z velocity) and have a slightly higher acceleration.
Testing
/grantme weather_manager
/weather rain
Have you measured performance benefits from this, or it's purely cosmetic? If it's purely cosmetic, is it at least consistent with the Minecraft rain? What makes this better than what we already have? :)
@kneekoo 👋 This is purely cosmetic. I have to admit, I haven't played Minecraft proper in quite awhile so this might not be totally consistent but it's definitely more consistent with how actual rain drops fall.
I'll see if I can dig up my copy of Minecraft and compare.
It did bother me that the rain fell differently in this game compared to Minecraft.
When it snows, it also seems to fall quite differently compared to Minecraft, so that could be another thing that you could tackle if you want to.
Provided that there's no wind, yes. But rain drops do move around carried by the wind, and the fall speed can be influenced by air currents too, as well as droplet size/weight, so it's quite realistic how we have it.
Maybe the horizontal movement is too ample, which looks a bit floaty/weird, but some lateral movement is expected when there's wind. We just don't have wind in the game.
"The bigger they are the harder they fall"
-- Physics. :P
Joke aside, I'll take a look. :)
Well, Minecraft never was a game with realistic physics to be honest with you.
Besides, it looks much better when the rain falls straight down in this game.
When apples fall from oak trees, reality can be thrown out the window. :))
I liked our rain all along, and I like this change too. I'm ok with either. :)
Right now, the X/Z movement is randomized which would imply that every single rain drop is being effected by a separate wind current. I'm not especially well-traveled but I've never personally seen that happen 🤷♂️ 😜
In any case, if you're concerned about consistency with Minecraft proper, this random video (while somewhat compressed) seems to show the rain falling in a manner more consistent with what is in this PR.
I heard from a fire chief that in one place in California, at the correct time, you can see the flags on a single flag pole blow in two different directions at the same time.
It's definitely not something the average person spends time documenting, but air currents are not uniform in nature, depending on a lot of factors. I agree, though, that randomizing every single rain drop is overkill. That's why I said that a less ample lateral movement would look less weird.
My only concern about randomizing their lateral movement was performance, but as far as I can tell after a quick look at our source code, that seems baked into the engine's particle spawner, so I'm not sure how much of a (if any) performance saving we can expect by disabling the lateral movement.
In theory, no lateral movement would save some CPU cycles. In practice... only benchmarking would reveal the difference, and that would have to be done in a very clean environment, without mobs and anything else happening around the player, for relevant results. But considering there's no huge drop in performance with rain, even on fairly old PCs, it doesn't seem worth doing. :)
Either way, as I said, I'm fine with the proposed change here. This might improve the game's performance.
@kneekoo So to summarize your position:
The current implementation is "quite realistic"...
...Even if wind doesn't exist in the game...
...and even if it doesn't look realistic because it's "floaty and weird" and should be toned down...
...and horizontal movement is more realistic anyways since air currents are not technically uniform in nature (mmmmmm... sweet delicious technicalities!) and effect individual rain drops differently but it's generally imperceptible to most people.
And finally:
Whew, what a ride! 😂
Nitpicking much, sir? :))
Minecraft doesn't have wind, neither does Minetest. So considering that, and the fact that we can't expect such a game to be close to reality, the lateral movement of raindrops is quite realistic even without wind. :)
If people look, they can notice. Also, I said this:
To reiterate, I'm fine with either kind of rain in the game, but I favor one that potentially saves us some CPU cycles (this proposal).
Sorry, I didn't realize I was the one that was nitpicking 😂 Just trying to follow along. In any case, I'm glad you approve of the changes.
Looks good to me.
It looks good to me. Thanks for working on this.
Thanks for reviewing also @epCode @FossFanatic @kneekoo . Always appreciate the help :)