HOME | DD

#blender
Published: 2018-02-15 21:21:59 +0000 UTC; Views: 318; Favourites: 5; Downloads: 8
Redirect to original
Description
This is why nodes are a sucky way to do things. Making nodes is programming, just program already and stop with trying to protect us from ourselves.This is my attempt at a 3x3 convolution matrix. It doesn't work right now, in part, because Blender apparently clamps RGB values without telling you. So to make this work, I'd have to separate and recombine RGB for all 9 of the cells. So like another 50 nodes or so.
But I don't think I'm going to fix it. Because there's no "image" input node. So even if I make this a node group, you'd have to change the image field on every cell rather than getting them from a single input.
And besides which, I really don't want a 3x3, I want a 5x5.
I find that there's very little rhyme or reason to how Blender node inputs and outputs work. Is a Tangent type a vector? Apparently not to Blender. Why do mapping transformations have separate settings for Normal and Vector? Or even for anything: if you don't want to translate a vector, then just don't translate it. Can you plug color into value or vice versa? Depends. If you do, what do you get? Depends. Is some particular output type clamped? Depends.
Sometimes I wish that it would just have one type, float. At least then I wouldn't have to use all those separate and combine nodes.
Just irritating because there's a lot you can do with a convolution matrix. Like texture blurs, and edge detection, sharpen and unsharp mask... Even if you don't want to render with it, would be a useful tool for in-Blender texture generation.
Related content
Comments: 6
vasilnatalie In reply to Riveda1972 [2019-02-27 18:23:00 +0000 UTC]
Well, I did end up making it work: www.blendswap.com/blends/view/… . I've figured out a lot since, and am pretty comfortable with how Blender handles inputs/outputs, although I'd still prefer nodes skipped the whole color/vector distinction.
This one is pretty organized actually. Most of my materials are this horrifying mess because I'm always like, oh, I should just sneak something else in.... (Just made a "hair stubble" structure and stuck it in the middle of my already-crazy skin material....)
👍: 0 ⏩: 0
LilMissLillie [2018-02-16 14:29:52 +0000 UTC]
wow, I understand absolutely none of this... I envoy your blender ability.
👍: 0 ⏩: 1
vasilnatalie In reply to LilMissLillie [2018-02-16 21:44:02 +0000 UTC]
Oh, it's mostly just wankery
👍: 0 ⏩: 0