YOUR ACCOUNT

Login or Register to post new topics or replies
Sphinxmorpher
Filter Optimizer

Posts: 1750
Filters: 39
Some trickery is going on when connecting an IntSlider to a HDR Map input. It seems like the integer value is scaled into 0..1 range. Please don't do that. People can enable Remapping and resort to such things there.

This is very impractical and I haven't found a way to get the true integer value into HDR Map Inputs without a script.

A usecase: You setup a loop that loops IntSlider value times. The loop adds up samples and you want to divide the result by IntSlider value...but no.
  Details E-Mail
Indigo Ray
Adam

Posts: 1442
Filters: 82
What about this?

IntSlider to Integer.ffxml
  Details E-Mail
Sphinxmorpher
Filter Optimizer

Posts: 1750
Filters: 39
Thanks, but that is exactly what I want to avoid - you now have two sources that define max value which you must keep in sync. If you change IntSlider max, you have to update the multiply. This is not much different than using the remapping option.
  Details E-Mail
Sphinxmorpher
Filter Optimizer

Posts: 1750
Filters: 39
Here is a demonstration of the problem. Try bypassing the script (IntSlider -> Divide).
The script is btw the only known workaround if you want to keep a single source of truth.

Intslider Conundrum.ffxml
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
Bump. It would be nice if 1 = 1 and 2 = 2 etc.. the current behavior is counter intuitive and force you to redefine constants.

Here is a real world example from Emme's sampled blur - notice how the max iteration count number (16) is entered both in the Integer control and the HDR color remapping modifier:

https://www.filterforge.com/upload/for...v001.ffxml

  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
..and the copy of the constant due to forced remapping logic:

  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
A possible solution would be a checkbox in the Int To HDR Color remapper, that forces it to use the direct integer value.
  Details E-Mail
emme
Posts: 718
Filters: 8
+1

HDR checkbox or a separate HDR IntSlider would be nice.
  Details E-Mail
GMM
Moderator
Filter Forge, Inc
Posts: 3491
Quote
Sphinx. wrote:
a checkbox in the Int To HDR Color remapper,


It would be nice but... our component infrastructure doesn't allow for remapper versioning. A change like this would mean versioning of all the components that can accept IntSliders. This requires months of work, I'm not exaggerating.

For non-library filters (when you don't care about submission warnings) you can simply replace the IntSlider with a Value component.
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
Quote
GMM wrote:
This requires months of work, I'm not exaggerating.


Ouch! I didn't think it would be that extensive an effort. Well, I hope you find a way around it at some point. Perhaps a change like this can be introduced without backward compatibility issues and the need for versioning. Fingers crossed smile:-)
  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:

27 unregistered users.