[RC] Chromate It - A chromatic aberration macro

Where the future is being made, today.

Welcome to the WSL development corner!

In this forum, please post your development projects. You get kudos and feedback here.
Topics ideally have preset prefixes, and this is what they (might) mean:

  • [DEV] - very much work in progress, don't build a business on this, could go anywhere
  • [BETA] - should kinda do what it's supposed to do, please test, give feedback
  • [RC] - this may end up in Reactor soon, polishing up, now's the time for last minute thoughts
  • [ABD] - died a premature death, sadness, will not see the light of day ever (unless someone picks up the scraps)

Once a development project has been released (hurray), topics can be marked as - you guessed it - [RELEASED] :cheer:

Development topics only, please. For generic questions, how-to's, questions and inquiries about existing tools etc, please go to the appropriate other forums.
User avatar
JustCropIt
Fusionista
Posts: 675
Joined: 1 year ago
Has thanked: 127 times
Been thanked: 54 times

[RC] Chromate It - A chromatic aberration macro

#1

Unread post by JustCropIt »

Image

Intro
Chromate It is a macro to split and synchronously transform color channels via user controllable predefined patterns.

...alright, it's a chromatic aberration macro. But it goes to 11!

It's a bit of a mashup between a basic chromatic aberration effect, the Prism Blur (in Resolve) and a need for more.

Plenty of customization options, and being a macro, makes it a bit on the slow side. But what one looses in render times, might be compensated by not having to do a custom setup. Or not. Who knows. You do you.

TLDR; Connect something to the macro, max out the Blur and Zoom & Blur Boost settings and you're off to the races.

The Plan
Basically every chromatic aberration tool I've tried (so far) has had, for me, some kind of restriction or been limited in some kind of way. This macro, over a couple of years of noodling with it, is my attempt to do something about that.

It's a bit overcomplicated and relatively slow if all you want is a simple and subtle chromatic aberration effect, which it certainly can do, but for that scenario I'd probably use the (ironically named) Chromatic Aberration Removal tool from the Resolve FX plugin collection.

However the fun begins when you start pushing the settings (see intro GIF).

What's what

image.webp

I believe it's mostly self explanatory (by messing around a bit) but some things are probably worth mentioning. Most notably that the blurs are connected to the transforms they're related to.

Blurs
With Center, Offset and Angle at their default values, there will be no related blur. With Blur enabled, and the related checkbox (Zoom, Angle and Offset)... checked, the blur will scale with the changes to the related setting (IE Center, Offset and Angle).

For example:
Starting with the default settings (and something connected to the macro), set the Angle to 15. Turn up the Blur setting to max. Then turn up the Zoom & Blur Boost setting to max. You'll now have something with the RGB channels rotated and a circular blur (with it's center being controlled with the Center setting).

To remove the blur there's several ways (with some changing other settings too):

  • Unchecking the Angle checkbox will turn off any angle related blurring.

  • Setting Blur to 0 will remove the blur (one would hope).

  • Setting Angle slider to 0 will remove the blur (and the rotation).

  • Setting Overall Strength to 0 will remove the blur (and in this example also the rotation).

So in this example the amount of Angle related blur is defined by the Angle, Blur, Zoom & Blur Boost sliders and if one is being picky, also the Angle checkbox and Overall Strength slider. Which might seem like a lot when reading about it here, but in practice, in my experience, feels natural. YMMV.

Style
Centered will scale the channels around a middle point. With Mode set to (3 Channels) the channel in parentheses (in the selected Channels option) will be the middle point and won't change size.

MinMaxed will result in channels scaling up/down with the channel in parentheses being the base (and not scaling).

All of these naming conventions goes out the window with 2 Channels combined with MinMaxed though. Because things got complicated.

Yeah I dunno. At this point it was either keeping the names or changing them to A, B and C. And that's even less useful IMO and so here we are:)

Someone mentioned going to 11?
All settings can override the sliders initial max value (except Overall Strength). Besides the angle blur, which is capped internally, go bananas with the Blur and Zoom & Blur Boost settings at your own peril.

Heads up
Trying a new way (to me) of handling the "blend/mask" part of the macro to make it work with transparent footage. Seems to be working for me but no guarantees. Think I nailed it in v 0.42. Nice!

The blurring of the Angle setting could easily go to crazy levels internally and so it has a restriction where it'll max out fairly early. I'm generally no fan of putting in restrictions on settings but from a user perspective there wouldn't be a really obvious reason why Fusion suddenly breaks down and starts crying. Can't have that. Right now it seems good enough to me but it also kinda reminds me of Bill Gates and that whole (according to him made up) RAM thing... so any thoughts on that are appreciated.

The names for the Channels buttons and the MinMaxed style kinda works for me but I'm all ears for alternative names.

Speaking of the Channel names... Them not making sense with 2 Channels and MinMaxed combined is a bit annoying. And related to that, an option to switch the two channels would be nice. But for now I can't really be bothered with it.

Seems fine in version 19 of Fusion Studio 19 and DaVinci Resolve Studio 19. Should be fine in the free version too.

Outro
If you don't, from time to time, enjoy a bit of color fringing on the edges of life, then you're dead inside and this is of no use to you. But if you do, and/or if you've ever wondered what the chromatic aberration equivalent of Kenny Loggins legacy defining work "Danger Zone" would be, then this might be the ticket to party town.

Version history

b 0.5

Uh... I realize now that I probably need to update 90% of everything above since this update changes so much... but that's for another day! Be sure to check out the related "update" comment somewhere below for some GIFs and tips and tricks.

NEW STUFF

  • Changed how the macro works by splitting up things. Basically there's now four main groups: (from the top) Controls, Transform settings, Blur and Effects. This allows for more control. Also, more controls have been added. There's just so, so much more.
  • Shimmer setting, scales with the different blurs. No blur, no shimmer for you! Controls for Amount, Scale, Speed, Center Fade and Fade Scale. Rotates around center because it looks neat. Nice if things feels a bit too static or you crave chromatic speedlines.
  • Saturate Edges setting. Not a global saturation. Saturates the "aberrations". Props to @Millolab for this one since it's taken from his caos macro.
  • Direction Blur for the Offset (previous blur uses was a pretty janky affair). Blur strength is taken from the distance from (0.5, 0.5).
  • Distort effect, position tied to Center. Scale tied to Size and Angle transforms. Any changes to the Offset transform will have no effect of on this, uh, effect. Props to @Millolab for this one too. Same:is as the the Saturation thing but I'm using this the same way as the caos macro. Clear inspiration though!
  • All three transform modes have two "styles" each. Double fun for everyone!
  • 'Distance/Angle' offset control style based on... distance and angle. Thanks ChatGPT!
  • 'Fixed' angle control style where the channels "fan" out from a fixed position
  • URL Button. Goes to this post. Hello me!
  • Offset multiplier
  • Angle control widget
  • Angle Offset setting

BUG SQUASHING

  • MultiplyByMask enabled with no mask connected. Now works as expected.
  • Clipping modes should now work properly. Maybe.
  • A negative size transform now has a "negative" blur (in the Centered Style).

MISC (name/layout/workflow/whateverelse changes)

  • OffsetBlur changed to Offset
  • MinMax changed to Extrusion
  • Offset Clipping, moved to Settings
  • Zoom (blur/transform context), changed to Size
  • Zoom (control context), changed to Center
  • Offset Clipping, changed to 'Clipping Mode'
  • Channels, default set to middle
  • Depth, removed info label
  • Depth, default set to Keep
  • Depth, added all options (not just Keep and int8)
  • Mode/Channels (top rows of buttons), jazzed up? Dedicated Channel buttons for both Modes. Clearer Channel names and some tootips added.
  • Version, removed 'ß' character because a tiny bit less clutter is a tiny bit better
  • Copyright section added
  • Hide Offset Control based on Offset style
  • And I'm sure I forgot to mention some stuff but how important could that possible have been then? Not very I tell ya!

b 0.42

  • Ready for v.19 (Fusion Studio, all versions of DaVinci Resolve). Previous version still works but this one does too #suddenmitchhedbergmoment.

  • Approximately 21.43% less nodes. This is the result of updating the internal mask setup (to the best of my current knowledge). Masking should work as expected in all scenarios (arguably maybe even better than expected) and perhaps even render a smidgen faster due to a smaller setup (though hardly noticeable... but still!).

  • Cleaned up the UI. I <3 ICS_Label.

  • Prepared the version numbering for a potential Reactor release by downgrading from an elfishly superior system using 3 fractional digits to a crude and primal one using 2.


b 0.303

  • Total rework of how Blend and masking works (invertmask and multiplywithmask). Should now behave like a "proper" EffectMask... maybe even slightly better (IE not behaving like the blend on native nodes when MultiplyWithMask is enabled and Blend is dialed down to 0.0).

  • Moved Blend, Mask and Motion Blur over to the Settings tab.

  • Removed all PipeRouters which seems to cause trouble for some users. Be gone!

  • Added an internal ChangeDepth node. The settings for it can be found on the Settings tab. Slight improvement in render speed if the input footage can be downsampled. Turned on by default. Make some noise if you want the opposite to be true.


b 0.242

  • Initial release



Latest version:

Chromate It.setting

Archive:

Chromate It.setting
Chromate It.setting
Chromate It.setting
You do not have the required permissions to view the files attached to this post.
Last edited by JustCropIt 1 week ago, edited 12 times in total.

User avatar
koiisl
Posts: 21
Joined: 3 years ago

Re: [BETA] Chromate It - A chromatic aberration macro

#2

Unread post by koiisl »

this is really nice! Btw, do you have a discord or any way i can message you ?

User avatar
JustCropIt
Fusionista
Posts: 675
Joined: 1 year ago
Has thanked: 127 times
Been thanked: 54 times

Re: [BETA] Chromate It - A chromatic aberration macro

#3

Unread post by JustCropIt »

koiisl wrote: 10 months agothis is really nice! Btw, do you have a discord or any way i can message you ?
Thanks:)

When it comes to messaging, I suppose you could DM me here (never used the private message here on wesuckless so no idea how that works) or send a DM to u/JustCropIt on reddit (no chat... I don't see chat requests on my reddit clients). That said, I do prefer to keep things in the open if possible. Especially if it's things others could learn from.

User avatar
SecondMan
Site Admin
Posts: 8082
Joined: 10 years ago
Location: Vancouver, Canada
Mood:
Has thanked: 112 times
Been thanked: 101 times
Contact:

Re: [BETA] Chromate It - A chromatic aberration macro

#4

Unread post by SecondMan »

Very nice thank you!

Image

Anything that can make tunnels is :heart:
JustCropIt wrote: 10 months agoThat said, I do prefer to keep things in the open if possible. Especially if it's things others could learn from.
Definitely! :)

yes there is a perfectly capable DM system right here:

Image

And if at some point you do want to have a less formal or off-topic chat or something to ask a couple of questions before making a post, there is a chat integrated on the forum as well:

Image

Only active users have access, so if you don't see that icon you have fewer than 10 posts on WSL. Don't spam to get in please ;)

Neither the DMs, nor the chat is ever purged, so you can leave something for someone else to find in the future. When it's active though, messages disappear up the chain pretty quickly though... :)

One day I'll make a comprehensive manual for the forum. There is a lot that people don't quite know about. A bit like Fusion :D

User avatar
JustCropIt
Fusionista
Posts: 675
Joined: 1 year ago
Has thanked: 127 times
Been thanked: 54 times

Re: [BETA] Chromate It - A chromatic aberration macro

#5

Unread post by JustCropIt »

SecondMan wrote: 10 months agoAnything that can make tunnels is :heart:
Haha, thanks:)

Probably not the right place to add this, but those "auto" links are really messing up my post formatting game. Could they maybe be changed to something a bit more subtle? Perhaps a simple underline could work? Talk is cheap so here's a visual example.

User avatar
SecondMan
Site Admin
Posts: 8082
Joined: 10 years ago
Location: Vancouver, Canada
Mood:
Has thanked: 112 times
Been thanked: 101 times
Contact:

Re: [BETA] Chromate It - A chromatic aberration macro

#6

Unread post by SecondMan »

No it’s fine. I’m working with the developer on some additional options, including user preferences. It’s all open source and a lot of goodwill so bear with me while I’m trying to perfect it, I think it’s a valuable feature (I’ve actually used it myself by now and learned something new 😳) but in long posts it can be a little overwhelming because of how it works right now.

User avatar
SecondMan
Site Admin
Posts: 8082
Joined: 10 years ago
Location: Vancouver, Canada
Mood:
Has thanked: 112 times
Been thanked: 101 times
Contact:

Re: [BETA] Chromate It - A chromatic aberration macro

#7

Unread post by SecondMan »

JustCropIt wrote: 10 months agomessing up my post formatting game
Working on a temp solution for those who want it - hang in there ;)

User avatar
JustCropIt
Fusionista
Posts: 675
Joined: 1 year ago
Has thanked: 127 times
Been thanked: 54 times

Re: [BETA] Chromate It - A chromatic aberration macro

#8

Unread post by JustCropIt »

SecondMan wrote: 10 months agoI think it’s a valuable feature
I do to. But not with the current design. I think the main problem is that the "auto" links looks like regular links.

There should be a visual difference between an auto generated link and one made deliberately by the poster (IMO) and that visual difference should support the importance of the link. And to me, "auto" links are just way less important. And the little icon at then end of user generated links, is not enough of a differentiator (I might even consider getting rid of it).

As in my example (in the previous comment), I think having them be simply underscored gives them about the right amount of "focus drawing visual weight". Sure, people used to underscoring things to simply... underscore things, will no doubt raise up and revolt, but maybe (speculating here) the internet isn't the best place for them.
SecondMan wrote: 10 months agobut in long posts it can be a little overwhelming because of how it works right now.
Yeah, while I do think it's a really neat feature, I don't think it should be disruptive to reading posts. Which the current design does now, no matter the length (IMO).

That said, I'm glad hearing, and I really appreciate, that it's still being messed around with<3

Just wanted to throw some feedback straight into the big boss ear!

User avatar
SecondMan
Site Admin
Posts: 8082
Joined: 10 years ago
Location: Vancouver, Canada
Mood:
Has thanked: 112 times
Been thanked: 101 times
Contact:

Re: [BETA] Chromate It - A chromatic aberration macro

#9

Unread post by SecondMan »

JustCropIt wrote: 10 months agoJust wanted to throw some feedback straight into the big boss ear!
Feedback always welcome!
JustCropIt wrote: 10 months agoThere should be a visual difference between an auto generated link and one made deliberately by the poster
As a matter of fact it's in the requests list exactly like that. It just needs to be a different HTML class so I can style it differently. Otherwise, a link is a link is a link...
JustCropIt wrote: 10 months agothe little icon at then end of user generated links, is not enough of a differentiator
That signifies the difference between an internal and an external link - so a link with the little icon goes outside of steakunderwater.com while one without is inside the domain, i.e. a link to some place in WSL.

User avatar
SecondMan
Site Admin
Posts: 8082
Joined: 10 years ago
Location: Vancouver, Canada
Mood:
Has thanked: 112 times
Been thanked: 101 times
Contact:

Re: [BETA] Chromate It - A chromatic aberration macro

#10

Unread post by SecondMan »

SecondMan wrote: 10 months agoa link with the little icon goes outside of steakunderwater.com
unless when it's inside a quote hahahaha, well, that's a core phpBB thing then and I might not get into that as well right now 😅

User avatar
JustCropIt
Fusionista
Posts: 675
Joined: 1 year ago
Has thanked: 127 times
Been thanked: 54 times

Re: [BETA] Chromate It - A chromatic aberration macro

#11

Unread post by JustCropIt »

SecondMan wrote: 10 months agoThat signifies the difference between an internal and an external link - so a link with the little icon goes outside of steakunderwater.com while one without is inside the domain, i.e. a link to some place in WSL
Hah, yeah... I get that. But there's also a tool tip that says "Opens in new window"... and in the spirit of cleaning things up, I think ditching the icon is a worthy sacrifice to make the reading of posts more enjoyable. If the link is external or internal... for me as an end user... well, I doubt that really matters. I'm just saying (my gut is just saying) that if the icon was never there, I (it) doubts anyone would miss it. If I'm wrong I blame my tummy.

That said, I could, at this moment, almost as easily argue the other way:)

Anyhoooo... the formatting of the "auto" links is the real trouble maker! Burn it to the ground I say! (The formatting, not the links.)

User avatar
loaykhalifa
Posts: 6
Joined: 2 years ago
Real name: LOAY KHALIFA

Re: [BETA] Chromate It - A chromatic aberration macro

#12

Unread post by loaykhalifa »

That’s so cool effect

Image

Gino Lollobrigido
Posts: 14
Joined: 1 year ago

Re: [BETA] Chromate It - A chromatic aberration macro

#13

Unread post by Gino Lollobrigido »

Hi,
Chromate It stopped working in Fusion Studio Beta 3. It produces an empty image.

BTW, I wanted to test v19 and didn't want to mess with Resolve, so I tried installing Fusion Studio using my Resolve activation key... and it worked.

User avatar
JustCropIt
Fusionista
Posts: 675
Joined: 1 year ago
Has thanked: 127 times
Been thanked: 54 times

Re: [BETA] Chromate It - A chromatic aberration macro

#14

Unread post by JustCropIt »

Gino Lollobrigido wrote: 10 months agoChromate It stopped working in Fusion Studio Beta 3. It produces an empty image.

BTW, I wanted to test v19 and didn't want to mess with Resolve, so I tried installing Fusion Studio using my Resolve activation key... and it worked.
I don't have access to the beta (and even if I did I'm not sure I'd run it) so I can't really test what works and doesn't work in the beta. And I don't think I'm doing anything weird in the macro (unlike my CheckMateIt macro where I might have pushed the MultiMerge a bit too far:) so I have no idea what might have broken the macro in the beta.

Could you be a bit more specific on what you are running where it works and where it doesn't work (both apps and version numbers). Mostly so others can be more informed:)

Gino Lollobrigido
Posts: 14
Joined: 1 year ago

Re: [BETA] Chromate It - A chromatic aberration macro

#15

Unread post by Gino Lollobrigido »

Sure. I'm on Intel Mac/Ventura using Fusion Studio Beta 3. Whenever I pipe something in Chromate It, the viewer shows an empty checkboard. So I can't tell what works or not.
I was just starting to play with Chromate It when I decided to upgrade to Beta 3. For the frustratingly short time I used it :), it seemed to work fine under beta 2.

If it's of any help, I "opened" the macro and took a screenshot:
Image