YOUR ACCOUNT

Login or Register to post new topics or replies
Robb Allen

Posts: 7
Filters: 6
Often, I use Perlin noise to simply generate uneven coloring. I did this in many 3D apps and find it can serve the same purpose in FF. What I would like to do is have the user pick a color, use that as the "noise", and push the color through X to adjust it's hue / saturation just a bit to give a little contrast. Right now, I've got a filter set up that requires both colors to be picked and that just doesn't sit well with me.

I could create a noise gradient, choose the adjustments that give me a range that I like, then blur the ever lovin' you know what out of it, but the result either isn't a solid color or, if I blur too much, usually not distinctive enough.

Any idea on how to do this in FF?
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Robb Allen wrote:
What I would like to do is have the user pick a color, use that as the "noise", and push the color through X to adjust it's hue / saturation just a bit to give a little contrast.


Ummm, I'm not sure I understand the idea of "using the color as a noise" -- could you please explain in a few words?
  Details E-Mail
Robb Allen

Posts: 7
Filters: 6
I was referring to te Noise input on the Perlin control (versus the Background color).

I'd like to be able to make both inputs slight variations of the same color. For example, in my recent coffee stain filter, if I wanted to switch to lemonade, I could choose a single light yellow color. From that one color, a slightly darker yellow would automatically be fed into the background color for a little variance. I'm trying to figure out a way to do that.
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
If I understand correctly and I hope I do. You want to use one color for the Perlin noise, but have one color for both the background and the noise. One of these being slightly a different shade....I did have this one in another filter that I was working on. Heres a pict of the workflow.


Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Pluging the gradient into the levels you can change the shade or connect some controls to let the user control that. Heres the FF snippet of that same workflow.

color change.ffxml
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
In the above both Profile Gradients are not really needed. Just the one connected to the Levels component.
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Ah, now I understand. There are many ways you can achieve this, here's the most obvious: you feed your color into Brightness/Contrast as a source, and map the Brightness input with Perlin noise of desired amplitude:

  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Here's the filter:

Lightness Variation.ffxml
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Note -- the Blend component is needed because the Source input of the Brightness / Contrast component won't accept the color directly from the control component, so I used Blend with the opacity set to 100%.
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Not to get this thread off track or hijack it but....................
Vladimir are you using the new updated version to FF smile:)
Looking at the connections on the other side is still an interesting thing to get used to.
Also the ffxml that you attached will not work in the current version that everyone has, this is the dialog.


Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Then the other one.


Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Whoops -- CFandM, you're right. Here's the filter that will work with the currently available version:

Lightness Variation 2.ffxml
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
CFandM wrote:
Looking at the connections on the other side is still an interesting thing to get used to.


The left-to-right direction is optional, so don't worry, you will be able to turn this off.
  Details E-Mail
Robb Allen

Posts: 7
Filters: 6
Thanks to both of you. I've update my Coffee Stain filter to reflect Vladimir's suggestion. Works like a champ!
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Quote
Vladimir Golovin wrote:

CFandM wrote:
Looking at the connections on the other side is still an interesting thing to get used to.


The left-to-right direction is optional, so don't worry, you will be able to turn this off.


I guess this is a quick sneak peek at the new version.. smile;)
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
CFandM
ForgeSmith

Posts: 4761
Filters: 266
Quote
Robb Allen wrote:
Thanks to both of you. I've update my Coffee Stain filter to reflect Vladimir's suggestion. Works like a champ!


Glad to hear you've got it worked out. When I first saw your filter I was lifting a coffee cup at that time. Its pretty close except yours is easier to clean off photos than coffee itself. smile:D
Stupid things happen to computers for stupid reasons at stupid times!
  Details E-Mail
Robb Allen

Posts: 7
Filters: 6
I'd like to create an inner ring that mimics the cup's base, then vary the thickness of where the coffee 'spilled', but that's a bit beyond my abilities and the time I have to play around. For an example, see the main picture of this site - http://www.coffeestaincards.com/

Someday, maybe I'll get it smile;)
  Details E-Mail
voldemort
voldemort
Posts: 872
Filters: 649
I know Im late to the party on this one but for the color variation cant you use a tone_curve to contol this with a little more degree as well as using Vladimir's suggestion
lets all whine for a wine port
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,712 Registered Users
+19 new in 30 days!

153,534 Posts
+32 new in 30 days!

15,348 Topics
+73 new in year!

Create an Account

Online Users Last minute:

41 unregistered users.