Minetest logo

IRC log for #minetest, 2024-04-09

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:27 Lunatrius` joined #minetest
00:29 frostsno1 joined #minetest
00:29 sid0_ joined #minetest
00:31 sugarbeet joined #minetest
00:34 Oksana joined #minetest
00:38 TomTom joined #minetest
00:39 ShadowBot joined #minetest
00:49 ShadowBot joined #minetest
01:44 Leopold joined #minetest
01:55 ShadowBot joined #minetest
02:04 ShadowBot joined #minetest
02:14 ShadowBot joined #minetest
02:20 YuGiOhJCJ joined #minetest
02:37 jfcaron joined #minetest
03:52 Verticen joined #minetest
03:57 TomTom joined #minetest
04:00 MTDiscord joined #minetest
04:08 gregon joined #minetest
05:16 Verticen joined #minetest
05:54 v-rob joined #minetest
06:27 qqq joined #minetest
06:41 d0p1 joined #minetest
06:42 Verticen joined #minetest
07:11 vampirefrog joined #minetest
07:45 s20 joined #minetest
07:51 mrkubax10 joined #minetest
08:23 gregon joined #minetest
08:28 qqq joined #minetest
09:05 s20 joined #minetest
10:14 s20 joined #minetest
10:33 definitelya joined #minetest
11:25 gregon joined #minetest
13:32 s20 joined #minetest
14:32 s20 joined #minetest
14:36 mrkubax10 joined #minetest
15:28 TomTom_ joined #minetest
15:29 Noisytoot joined #minetest
15:37 sparky4 joined #minetest
15:40 Lunatrius joined #minetest
16:45 nutzer joined #minetest
16:47 Talkless joined #minetest
16:47 shaft For my mod I need a texture filter like remove color/difference/divide/substract like in GIMP but in Lua. Is there something like that?
16:49 shaft I need the part that is different from one texture to the other for clipping alpha of another texture.
17:11 mrkubax10 joined #minetest
17:16 s20 joined #minetest
17:16 kamdard joined #minetest
17:20 shaft Anyone there?
17:35 shaft left #minetest
17:47 v-rob joined #minetest
18:38 Verticen joined #minetest
18:50 sparky4 joined #minetest
19:20 MinetestBot [git] rubenwardy -> minetest/minetest: Refactor ContentDB integration (#14507) 284f6d3 https://github.com/minetest/minetest/commit/284f6d3682b4d8717045940d8eda2e20ac2d4f52 (2024-04-09T19:18:40Z)
19:28 v-rob joined #minetest
19:49 Glaedr joined #minetest
19:52 definitelya joined #minetest
19:59 Bombo joined #minetest
20:22 peterz joined #minetest
21:17 mazes_83 joined #minetest
21:46 sparky4 joined #minetest
22:02 jaca122 joined #minetest
22:14 turtleman joined #minetest
22:26 v-rob joined #minetest
22:32 panwolfram joined #minetest
22:47 shaft joined #minetest
22:48 shaft Anyone here atm?
22:58 shaft .................
22:58 Mantar hello
22:58 shaft Hello
22:59 shaft Is there any way I can do in a Minetest mod on a texture what the GIMP layer mode "color erase" does?
22:59 shaft I want to use the difference of two textures for clipping a texture
23:00 shaft The part that is different should be clipped to
23:00 Mantar I think the closest thing to that in the api is [mask.
23:01 Mantar not super helpful, I suppose
23:04 shaft Mask should do the clipping. But what about the difference? I want to make a mod that hijacks the register liquid function of the bucket mod and then uses the bucket texture of the current texture pack and gets the cliparea from the difference of emptybucket and waterbucket and then clips the texture from the liquid to it and combines them and then shoves it back into the original registerliquid funciton, so all buckets look
23:04 shaft consistent.
23:05 shaft Amazing idea, right? Should be piss easy. Only thing holding me back is that the Minetest API is too retarded to let me modify textures myself or provide the proper function
23:05 shaft Can I have "color erase" in Minetest 5.9?
23:05 Mantar You could make an issue requesting  it
23:06 shaft Or a way to get and set the pixels of a texture and creating textures.
23:07 shaft And I could expose that functions to mods, so milk buckets and such can also look consistent.
23:07 MTDiscord <thresher09> here's where those are coded: https://github.com/minetest/minetest/blob/master/src/client/imagesource.cpp#L1082
23:17 shaft If I could modify it myself I could expan the clip area upwards and place an animal in the bucket if a mod requested that. I think the current way is quite limiting
23:17 shaft Other mods may also be held back by it.
23:17 shaft A better alternative would be a 3d bucket but 3d items are not allowed atm.
23:18 shaft I don't think a cuboid 3d bucket would be much of a performance issue.
23:20 MTDiscord <thresher09> cant you just make your own textures then?
23:20 shaft But I want to be a drop in replacement working perfectly with all existing texture packs.
23:21 shaft And even if I made my own textures. There is no way to get the texture dimensions of the currently used texture pack which means it would look totally out of place.
23:26 v-rob joined #minetest
23:31 shaft 3d model would be coolest. Could I have a node-like item? Just needs to be like a node but a bit higher but behave like an item
23:31 shaft A simple cuboid with 6 faces would be enough
23:32 shaft I could combine the border texture on top with an opaque liquid texture
23:43 shaft The shortest way to solve my problem would be to have Mintest 5.9 support "erase color" or getting the resolution of the current texture pack.
23:45 shaft I think getting the resolution would be the most useful, so mods can provide multiple resolutions to fit in with texture packs. It's impossible for a texture pack to support every mod on contentdb after all.

| Channels | #minetest index | Today | | Google Search | Plaintext