News for hackers. Stuff that matters.
Re:Show HN: Krita RGBA Tech – Bringing Realistic Metal to Li... by itishappy on Monday November 11, 2024 @09:40AM (#42107449)
Memileo's results and your own are both incredible. Wow.

How baked in is the light position? I'd imagine it's possible to rotate the light in editor but not change it's height (without some work in Blender).

Re:Show HN: Krita RGBA Tech – Bringing Realistic Metal to Li... by draneria on Monday November 11, 2024 @10:33AM (#42107860)
Ah, you would need to ask them for a concrete answer, but my understanding is that it is completely baked in.

Long optional explanation:

I say that because I think Memileo sculpted the actual brushstroke in Blender (https://krita-artists.org/uploads/default/original/3X/5/7/57...) and rendered lighting at different angles, and exported each as an image.

Each rendered image becomes 1 frame of the "animated brushtip", with the option that each frame matches "direction" rather then being "incremental", and thats how you get the faux-light!

The cool thing is that you can extract and edit the animated brushtip in Krita e.g. this one "https://github.com/Draneria/Metallics-by-Draneria_Krita-Brus..."

Which means theoretically, you could use photo editing to change the height I think!

Re:Show HN: Krita RGBA Tech – Bringing Realistic Metal to Li... by itishappy on Monday November 11, 2024 @10:52AM (#42108009)
Coolest thing I've seen all day. Thanks!
Re:Show HN: Krita RGBA Tech – Bringing Realistic Metal to Li... by stuaxo on Monday November 11, 2024 @02:47PM (#42109931)
Great stuff, it's good to hear how brushes work in these programs, reminds me of a great chat with one of the MyPaint devs.