YOUR ACCOUNT

Login or Register to post new topics or replies
jitspoe
Posts: 189
Filters: 27
When I try to put a value control on a slider input for a map script, it gives me a little warning, and, like the warning suggests, does not behave as a user would expect. It seems like negative values are actually small values, and large values just get capped. Is it possible to have a value control that behaves properly? It would make handling fractal stuff much easier. I thought of using an HDR map, but it won't let me get values within the prepare() function.
  Details E-Mail
Rachel Duim
So Called Tortured Artist

Posts: 2498
Filters: 188
4 years later, I have a Mandelbrot filter, but I can not use Value controls with a map script. It complains, won't allow me to submit and says I should use the Gray Scale control instead. This makes no sense, of course. From what I can see you can not use Value controls as a slider input to a map script. So, sadly FF will not get a Mandelbrot filter unless I cripple the filter and put in slider controls, which do not have a nice slider feel and are next to impossible to zoom down into the fractal with. Oh well...
Math meets art meets psychedelia.
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
Here's a somewhat clunky workaround to get a Value input for Script you could try. Note that the Script needs to use the initialization routine so that it reads the value just once (for every rendering thread).

Script Value Input.ffxml
  Details E-Mail
ThreeDee
Lost in Space

Posts: 1672
Filters: 112
I found out that if you make the Script Component Grayscale Input an HDR input, you don't need the Add Component.
  Details E-Mail
Rachel Duim
So Called Tortured Artist

Posts: 2498
Filters: 188
To finish up this topic, at least for now, here's a quote and solution from the User Gallery / Chaos Fields:

Quote

Rick Duim wrote: ...instead of init I used get_slider_input() calls in the prepare to get the value sliders. This works (!) even though they are defined as Grayscale in the input editor.

Three Dee wrote:
No kidding? You've found the loophole! smile:D
Math meets art meets psychedelia.
  Details E-Mail

Join Our Community!

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

33,711 Registered Users
+18 new in 30 days!

153,531 Posts
+36 new in 30 days!

15,347 Topics
+72 new in year!

Create an Account

Online Users Last minute:

22 unregistered users.