Minetest logo

IRC log for #minetest, 2024-04-10

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

All times shown according to UTC.

Time Nick Message
00:00 shaft [inventorycube even exists but it's a perfect cube and while held (with a mod) it's a flat item while blocks are 3d
00:01 shaft typical minetest shit
00:08 shaft Can I nest texture modifiers somehow?
00:08 MTDiscord <luatic> yes
00:08 MTDiscord <luatic> shaft: the simplest way would probably be to introduce a mask for clipping into the bucket mod
00:09 shaft I did that.
00:09 shaft How do I nest texture modifiers?
00:09 MTDiscord <luatic> anyways, when you say difference, what kind of difference are you thinking?
00:10 shaft "erase color" in gimp layer menu
00:10 MTDiscord <luatic> because there are a few kinds that can very well be done using the present texture modifiers
00:10 shaft which?
00:10 shaft just list them all and I'll try them out
00:11 fling_ joined #minetest
00:11 shaft ok nesting works with ()
00:12 MTDiscord <luatic> well, basically you just care about all the pixels that have inequal colors, am i right?
00:13 shaft Yes
00:13 MTDiscord <luatic> then consider the following:
00:13 shaft I just want to use them as a mask
00:13 MTDiscord <luatic> [mask is a bitwise and
00:14 MTDiscord <luatic> hm wait one sec
00:19 MTDiscord <luatic> okay it's not as straightforward as i imagined, but it should be theoretically possible. i'll see if i can come up with something. feel free to propose another texture modifier for difference though. note that "just" working with pixel data, while possible, has its limitations, given that mods are serverside and textures are clientside. (that's one thing where (SS)CSM would be good to have)
00:20 shaft Oh, yeah right. I forgot
00:20 shaft Anyway I can provide my own textures
00:21 shaft But getting the resolution of the texturepack would be good
00:21 shaft Can I get the texture of an already registered node?
00:23 MTDiscord joined #minetest
00:32 shaft Is there a way to circumvent the mod convention warning in order to mod a mod?
00:32 shaft mod naming convention warning
00:39 shaft Alright. My mod works 99%
00:39 shaft All that's left is resolution detection
00:41 bodiccea joined #minetest
00:43 shaft How do I get the resolution of a texture pack?
00:43 ShadowBot joined #minetest
00:55 ShadowBot joined #minetest
00:56 MTDiscord <luatic> not really possible, again because textures are clientside, though you can use hacks (reading PNG headers) to find resolutions for the textures available serverside. another texmod-using trick is to rescale everything to a fixed (usually large, power of two) resolution.
00:57 MTDiscord <luatic> anyways, i'll be off to bed now
01:00 shaft Thank you. Good night
01:06 shaft Then the texture modifier would be better though.
01:06 shaft Would save the trouble of gettinge very single texture pack to support the mod
01:11 shaft getting every
02:01 sys4 joined #minetest
02:30 v-rob joined #minetest
03:01 YuGiOhJCJ joined #minetest
03:44 Trifton_ joined #minetest
03:53 lissobone shaft sounded like an avid crazy scientist
04:00 MTDiscord joined #minetest
04:01 swift110-mobile Oh
04:14 lissobone no, it is not a bad thing!!
04:15 lissobone i felt his eager feelings towards innovation
04:33 jfcaron joined #minetest
04:40 v-rob joined #minetest
04:46 jfcaron joined #minetest
04:50 est31 joined #minetest
05:15 est31 joined #minetest
05:27 gregon joined #minetest
06:07 lemonzest joined #minetest
06:30 jfcaron joined #minetest
07:02 jaca122 joined #minetest
07:10 fling joined #minetest
08:24 jaca122 joined #minetest
08:35 Verticen joined #minetest
08:46 shaft joined #minetest
09:00 s20 joined #minetest
09:19 s20_ joined #minetest
09:20 s20__ joined #minetest
09:28 grorp joined #minetest
09:31 sys4 joined #minetest
09:43 MinetestBot [git] cx384 -> minetest/minetest: Refactor builtin HUD (#14346) 8a5e49c https://github.com/minetest/minetest/commit/8a5e49c856fb251b5ed930c924eb7686af934792 (2024-04-10T09:43:15Z)
09:57 shaft Can I ensure my mod is as high up in the load order as possible?
09:58 shaft Because I want to hijack a function and make lower mods use that. I don't even want to deal with how my lower mods are called.
09:59 cranez joined #minetest
10:06 * mtvisitor found that the screenshot pictures on some minetest game servers were not clear today. (press f12 with latest 5.9-dev build version on linux platform.)
10:07 mtvisitor I am not sure whether this is a new bug or an issue which was caused by slow network connection today.
10:47 gregon joined #minetest
12:16 TomTom_ joined #minetest
12:39 Niklp joined #minetest
12:39 Juri joined #minetest
12:50 Juri joined #minetest
12:50 Niklp joined #minetest
12:51 Juri joined #minetest
12:51 Niklp joined #minetest
12:52 est31 joined #minetest
13:16 Glaedr joined #minetest
13:32 MinetestBot [git] sfan5 -> minetest/minetest: Simplify Irrlicht CMake for static linking b9adf24 https://github.com/minetest/minetest/commit/b9adf244e5492e253ea45f7b609ba692c89fff0a (2024-04-10T13:31:59Z)
13:32 MinetestBot [git] sfan5 -> minetest/minetest: Use MT's string conversion inside Irrlicht 30e280b https://github.com/minetest/minetest/commit/30e280b694a2706248a8bfe8d2dd683ff7296c93 (2024-04-10T13:31:59Z)
13:38 s20_ joined #minetest
14:40 sparky4 joined #minetest
15:04 shaft How do I translate this texture modifier into imagemagick convert parameters? ^[contrast:-50:-30^[colorizehsl:22,100,0
15:04 shaft I first made overrides but then noticed mods can't inherit them, so now I gotta bake the textures
15:09 definitelya joined #minetest
15:14 lissobone I think that it would be more reliable if ran through GIMP in batch mode, since those modifiers are equivalent to those of GIMP.  I am an expert in Scheme, the language GIMP uses, so I will try to write a procedure for you.
15:15 lissobone Perfect.  As if the GNU IMP was made for this.
15:15 Desour joined #minetest
15:17 lissobone (I am writing a POSIX shell script for you.)
15:20 shaft Oh, I'm already coloring them by hand now
15:21 shaft Colors weren't perfect anyway. Leave it be
15:21 lissobone Doesn't matter.  I must finish my program, even if I die.
15:21 shaft Sorry, that I created work
15:21 mrkubax10 joined #minetest
15:22 lissobone You did not create work.  You caused it to be created by me.
15:27 lissobone Okay.  I am sure that this can be written in a single line (due to nature of Lisp) in the shell prompt, but I will complicate things and make you put the script into a file in a specific obscure directory.
15:28 lissobone First comes the amazing script for batch processing.
15:29 lissobone http://paste.debian.net/1313680/
15:29 lissobone Put it in ~/.gimp-2.4/scripts or something like that, replace 2.4 with the version of your GIMP.  Then run the following, please (if you want to):
15:31 lissobone for i in `ls`; do gimp -i -b '(insanely-cool-modifier \"$i\" -50 -30 22 100 0)' -b '(gimp-quit 0)'; done
15:32 lissobone Like that.  I have probably messed up the order of arguments and I am terribly sorry if this is so, but also beware: it overwrites your images.  Make sure to make a copy of them!
15:34 s20 joined #minetest
15:35 lissobone I have checked: on GNU and some other systems, the GIMP scripts directory may also be by default in /home/lissobone/.config/GIMP/2.10/scripts/ (lissobone being my nickname, and yours being something else like 'shaft').  Sorry for loading you with useless information
15:36 shaft I'll do it by hand now, sorry.
15:37 lissobone No need to be sorry.  I overcomplicated my explanations and made you believe that it's black magic, inaccessible to mere mortals.
16:05 kamdard joined #minetest
16:23 MTDiscord <jordan4ibanez> Don't listen to lissobone. I forgive you
16:26 lissobone Thank you for forgiving him.
16:31 MTDiscord <jordan4ibanez> https://tenor.com/view/youre-welcome-gif-2309461136654146376
16:48 Izaya left #minetest
17:03 Talkless joined #minetest
17:16 kamdard joined #minetest
17:31 Verticen joined #minetest
18:05 v-rob joined #minetest
18:13 kamdard joined #minetest
18:17 Lunatrius joined #minetest
18:57 Thermoriax joined #minetest
19:25 jaca122 joined #minetest
19:32 grorp joined #minetest
19:45 sparky4 joined #minetest
20:07 celeron55_ i love the screenshot thread on the forum, so much chaotic energy https://forum.minetest.net/viewtopic.php?t=156&amp;start=11050
20:09 grorp1 joined #minetest
20:33 Izaya joined #minetest
21:53 liceDibrarian joined #minetest
22:34 panwolfram joined #minetest
22:41 turtleman joined #minetest
23:19 v-rob joined #minetest
23:37 Verticen joined #minetest

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