sfence

Results 108 comments of sfence

@cx384 So I have added a new screenshot to show how it works with testnodes:nodebox_fixed node.

@cx384 It can be an interesting update for nodebox nodes. Some solution like it comes to my mind too. But I think this solution is more flexible. I only include...

Benchmark updated. My samples for it (x86_64, Linux, luaJit, /bench_bulk_get_node): | | get_node | bulk_get_node | ration | | ------- | ---------------- | ---------------- | ---------------- | | mean |...

Storing get_node in a local variable does not look to make a significant effect on my machine: | | get_node | bulk_get_node | ration | | ------- | ---------------- |...

@wsor4035 Yes, I think you get it. In this proof on-concept version I am using the top 4 bits in param2 to calculate covered node height.

Removed performance hint from doc.

@MisterE123 Yes, it is a target for sunken drawtype. I have to fix rendering on contact with the original liquid and sunken node. Node sides should not be rendered here...

@Lemente > If I understand correctly, you could superimpose any node? > Yes, this solution can be applied to any other registered node. > > You could just have two...

Commit [e73b190](https://github.com/minetest/minetest/pull/14103/commits/e73b19012ff26e2bc69567fde7b82b17610a43b3) fix liquid source replacing iwth alternative liquid source. This is also related to problem mentioned here https://github.com/minetest-mods/wielded_light/issues/4 by @bell07. So if this will be merged, [wielded_light](https://github.com/minetest-mods/wielded_light) mod liquid...

![screenshot_20231216_110559](https://github.com/minetest/minetest/assets/17455197/87036b61-4111-4f61-9502-fb96b1fb8b74) ![screenshot_20231217_131933](https://github.com/minetest/minetest/assets/17455197/6affacdc-302d-4857-8454-353a22b1898d) So, the sunken nodes now look natural in the associated liquid.