Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Fluid Shaping #2931

Open
wants to merge 29 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3f8254d
fix same fluid type test
douira Dec 4, 2024
cee72df
remove unnecessary direction parameter from fluidHeight method
douira Dec 4, 2024
dd17ebd
fix block occlusion cache java doc
douira Dec 5, 2024
2b703ab
move accurate fluid culling to BlockOcclusionCache as well
douira Dec 5, 2024
8a86f75
consistent scratch pos usage
douira Dec 5, 2024
eb1e0ad
refactor block pos handling, use correct facing for occlusion shape i…
douira Dec 5, 2024
446df98
break out self occlusion into own method
douira Dec 5, 2024
ea0655b
fix fluid occlusion for non-full height blocks
douira Dec 7, 2024
e9c8087
change fluid behavior around opaque waterlogged blocks to not slant t…
douira Dec 5, 2024
17f2c3c
fix fluid mesh continuity and refactor corner fluid height calculation,
douira Dec 10, 2024
52088fb
refactor flags to make them less confusing, rename methods, remove re…
douira Dec 10, 2024
1159cf5
add flowing water flattening factor to approximate the previous look …
douira Dec 10, 2024
2f17b31
improved neighbor check for up face occlusion
douira Dec 10, 2024
bad5d51
cleanup ordering and formatting
douira Dec 10, 2024
d59f674
fix shaping of fluids around diagonal waterfalls,
douira Dec 10, 2024
1d9495f
add inwards facing quads for fluid down faces,
douira Dec 10, 2024
baba058
remove unnecessary self visibility checks
douira Dec 11, 2024
6972baf
improve top face hiding heuristic to also check for source blocks
douira Dec 11, 2024
a7c43f2
weight samples like reference implementation to prevent weird flow pa…
douira Dec 11, 2024
bc0215d
add documentation for what the visibility concepts are, opportunistic…
douira Dec 11, 2024
4c635e9
improve inwards facing bottom fluid face test, it was too frequent
douira Dec 11, 2024
75edd07
avoid unnecessary coordinate fetch
douira Dec 13, 2024
6232e94
use same inwards water quad heuristic for down face as for side faces
douira Dec 15, 2024
20fcd63
better cave water occlusion heuristic using floodfill
douira Dec 15, 2024
833e41f
make cave water occlusion faster by using a stack instead of a queue …
douira Dec 15, 2024
e2f8d63
cleanup
douira Dec 15, 2024
4a5d88e
Fix bug with cave water heuristic
douira Dec 18, 2024
6c4f940
add documentation
douira Dec 18, 2024
9c9b755
use overlay test for rendering flush inward upper fluid quads,
douira Dec 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

Loading
Loading