YOUR ACCOUNT

Login or Register to post new topics or replies
KGtheway2B
KGtheway2B

Posts: 660
Filters: 34
I searched the forums but can't find an answer. I want to define just a simple color but I don't want it to be a control.

What should I use to define the color?

I could use a gradient, but wanted to know if there is anything faster. I want to learn the right way from the start and keep my stuff optimized. Thanks!
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
The simplest way is to use a blend component, max opacity to foreground or background, then choose the color without adding a control to it.....
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
KGtheway2B
KGtheway2B

Posts: 660
Filters: 34
Oh that's smart!

Does the fact that it's blend slow things down at all?
  Details E-Mail
jffe
Posts: 2869
Filters: 90
Quote
StevieJ wrote:
The simplest way is to use a blend component, max opacity to foreground or background, then choose the color without adding a control to it.....


----Probably about the same as a gradient with both halves set to the same color, perhaps a 1/2 of 1% render time diff either way, but a good solution as well. I can't think of anything more *efficient* than one of those. Try both with a stopwatch handy maybe ha-ha, there's waaayyyy more things you can do to optimize filter render times than a color input, hell a Perlin Noise used for a set color is nothing compared to the mistakes I see in 90% of the filters in the library, and truth be told, I dunno half the mistakes there are to be made even. smile:D

jffe
Filter Forger
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
i normally just use a 3 color gradient with all colors set the same, but the other ways mentioned here might be better.

and you dont need a stopwatch; use the built in timer and display within FF. it's in the options -> render area.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Quote
KGtheway2B wrote:
Does the fact that it's blend slow things down at all?

Nope.....from my experience, using a blend component is the fastest method (slows down the filter the least).....just use a normal blend and pick a color in an either full opacity foreground or background.....
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
Though its a bit harder to control, the Assemble RGB seems to be the fastest method here. But one thing I noticed is that the performance also depends on the actual color and what it is connected to: When I tested this, I hooked up all inputs of the surface result to the components in question, and it seems that white performs better than e.g. red .. quite strange.
  Details E-Mail
onyXMaster
Filter Forge, Inc.
Posts: 350
Assemble RGB should be the fastest way to define constant colors smile:)
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
If I had said Assemble RGB, you guys would have said Blend Component..... smile;) smile:D LOL....
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Crapadilla
lvl 52 Filter Weaver and Official "Filter Forge Seer"

Posts: 4365
Filters: 65
Quote
Assemble RGB should be the fastest way to define constant colors


I prefer using Blend components since the Assemble RGB lacks a color picker, which I find mildly inconvenient.

A usability suggestion: If none of the inputs of an Assemble component were mapped, the three channel sliders could as well read their values from a 'map-inputless' color picker slot.
--- Crapadilla says: "Damn you, stupid redundant feature requests!" ;)
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Quote
Crapadilla wrote:
the Assemble RGB lacks a color picker, which I find mildly inconvenient.

Exactly.....and it seems faster because with maxed opacity on normal it's not using a blend function.....just adding the color.....
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
jffe
Posts: 2869
Filters: 90
Quote
StevieJ wrote:
because with maxed opacity on normal it's not using a blend function


----Ha-ha, you win the splitting hairs of the week award with that logic, good one. smile:D I really don't think any of the methods described are taking even 1/2 of 1% of the render time though, there are 100 worse things that people do that slow filters down. smile:p

jffe
Filter Forger
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
You liked that one, eh??? smile;) smile:D LMAO.....

Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
It would really be useful if the controller components (sliders, checkboxes etc) had a checkbox named "Published", which then would control wether the given controller shows up on the Settings tab or not.

This would allow us to have internal "designtime" controllers, but moreover also allow controllers to show up with certain other settings (think of a checkbox named "Advanced" that when checked then publishes an otherwise hidden set of controls).
  Details E-Mail
StevieJ
Designer/Artist

Posts: 11264
Filters: 163
Great idea!!! You could even take it one step further and allow advanced users a show/hide checkbox for advanced controls and settings in a filter.....thus nullifying the need to make EZ and advanced versions of some filters..... smile:devil:
Steve

"Buzzards gotta eat...same as worms..." - Clint :)
  Details E-Mail
KGtheway2B
KGtheway2B

Posts: 660
Filters: 34
Snap, you're onto something there sphinx. It would reduce the need for multiple versions of filters.

And with the color picker that FF has, I always find myself wishing it had a color code system analogous to the one found in photoshop. I like to be able to just copy-paste a single code and know I'm getting the same color more than having to remember three HSB values. I know, it's really lazy and nitpicky but if it's a matter of a few lines of code, I'm sure others would eventually get some benefit from that too. I'm assuming here of course that these color codes are a universal standard and not some closed Adobe algorithm.
  Details E-Mail
Kraellin
Kraellin

Posts: 12749
Filters: 99
KG, you can put your mouse over a color and right click and then copy and paste colors.
If wishes were horses... there'd be a whole lot of horse crap to clean up!

Craig
  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,533 Posts
+31 new in 30 days!

15,348 Topics
+73 new in year!

Create an Account

Online Users Last minute:

28 unregistered users.