Crapadilla
![]() |
The problem:
We have an int slider from which we'd like to derive an 'On' state (white color map) for every even number and an 'Off' state (black color map) for every odd number. Anyone know a way to do this without using a Switch component (which would limit the int slider to a maximum of 12 input values)? I bet this is an easy one but I'm just not getting the lightbulb lit, currently... ![]() Damn you, stupid On_Off.ffxml --- Crapadilla says: "Damn you, stupid redundant feature requests!" ;) |
|||||
Posted: January 25, 2009 8:45 am | ||||||
Crapadilla
![]() |
LOL, I'll have to remember to always post here when getting a lightbulb block...
![]() But maybe there is something even simpler than this checker-based solution. Checker-based On_Off.ffxml --- Crapadilla says: "Damn you, stupid redundant feature requests!" ;) |
|||||
Posted: January 25, 2009 8:58 am | ||||||
Carl
![]() |
||||||
Posted: January 25, 2009 9:53 am | ||||||
Crapadilla
![]() |
Well, the usual... world domination and stuff.
![]() --- Crapadilla says: "Damn you, stupid redundant feature requests!" ;) |
|||||
Posted: January 25, 2009 2:40 pm | ||||||
StevieJ
![]() |
You do already know how to do it.....Threshold 'argument'..... ![]() ![]() Steve
"Buzzards gotta eat...same as worms..." - Clint :) |
|||||
Posted: January 25, 2009 3:24 pm | ||||||
ThreeDee
![]() |
Dilla, here's one solution. It is more complex than yours, but it does extend the slider range all the way to 1000.
Curse you, stupid On_Off.ffxml |
|||||
Posted: January 26, 2009 1:40 pm | ||||||
Crapadilla
![]() |
Nice one, ThreeDee. Thanks!
![]() --- Crapadilla says: "Damn you, stupid redundant feature requests!" ;) |
|||||
Posted: January 26, 2009 1:55 pm | ||||||
CFandM
![]() |
Are you joining forces in the world domination or stuff.. ![]() ![]() Both good methods.. Stupid things happen to computers for stupid reasons at stupid times! |
|||||
Posted: January 26, 2009 3:26 pm |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,718 Registered Users
+6 new last day!
153,540 Posts
+9 new in 7 days!
15,348 Topics
+72 new in year!
323 unregistered users.