YOUR ACCOUNT

Login or Register to post new topics or replies
uberzev
not lyftzev

Posts: 1890
Filters: 36
Source: 50% grey from Assemble HLS.

A threashold setting of 50 results in black. Now type in 49.999. It will then round up to 50.00 but the result will be white. I understand this as "you can enter three decimals places of precision but we'll only display two of them". That's a bit confusing.

Also IMO a 50 threashold of 50% grey should equal 50% grey.
  Details E-Mail
byRo
an Englishman in Brazil

Posts: 138
Filters: 8
Quote
uberzev wrote:
Also IMO a 50 threashold of 50% grey should equal 50% grey.

I can see your reasoning but, to me anyway, the output can only be black or white and never anything else.

Quote
uberzev wrote:
That's a bit confusing.

Agreed, (one of) the strong point(s) of FF is the "you-can't-do-anything-wrong" user interface. If the control shows one value but operates on another then that just ain`t right.
However, I think you've turned up a very, very special case in which one thousandth of one percent does make a whole lot of difference.

Quote
uberzev wrote:
I understand this as "you can enter three decimals places of precision but we'll only display two of them".

I'm still lamenting that the contrast and gamma functions needs an irrational number parameter in order to execute their simplest exact transformation (multiply by 2; square (root)).smile:cry:
So, how many decimal places does FF respect in a control?
If I put in 30.1029995663981 (OK, 30.1023 smile:) ) for a square root in the Gamma control will this exact number be saved with the filter - or does it get truncated?

Rô
_________________________________
My favourite question is "Why?".
My second favourite is "Why not?"
  Details E-Mail
onyXMaster
Filter Forge, Inc.
Posts: 350
The only place where truncation is taking place is UI. So if UI will pass the untruncated value down, you'll get full 64-bit double precision floating point values both in the rendering pipeline and in the filter XML representation. So the only place to "fix" is the UI display limit.
  Details E-Mail
onyXMaster
Filter Forge, Inc.
Posts: 350
Just as a sidenote -- if the "full precision" UI is implemented (I'll leave the decision on possibility of this to Vladimir), you won't need irrational numbers anyway, just pop up your calculator, calculate your square root of two, PI or whatever and then just paste, I really don't think you need 80-bit precision the FPU is capable of (also 80-bit precision will get rounded to 64-bit very soon when rendering) smile:)
  Details E-Mail
onyXMaster
Filter Forge, Inc.
Posts: 350
And no, we're not going to implement a built-in calculator smile:)
  Details E-Mail
byRo
an Englishman in Brazil

Posts: 138
Filters: 8
Thanks for the reply, onyxMaster.

Quote
onyXMaster wrote:
Just as a sidenote -- if the "full precision" UI is implemented (I'll leave the decision on possibility of this to Vladimir),

While jiggling a slider, I wouldn't want any decimal places at all - just when entering a number.

Quote
onyXMaster wrote:
And no, we're not going to implement a built-in calculator


smile:cry: smile:D smile:D

Rô
_________________________________
My favourite question is "Why?".
My second favourite is "Why not?"
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
byRo wrote:
While jiggling a slider, I wouldn't want any decimal places at all - just when entering a number.


What if the slider ranges from, say, 0 to 2?
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
byRo wrote:
to me anyway, the output can only be black or white and never anything else.


Exactly, assuming that you replace "black" or "white" with "Low Color" and "High Color".
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
byRo wrote:
If the control shows one value but operates on another then that just ain`t right.


Agreed. We'll look into it.
  Details E-Mail
uberzev
not lyftzev

Posts: 1890
Filters: 36
I think we should be able to choose what color 50% grey becomes at 50 threashold.
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Zev, in the simplest case (when the Smooth parameter is set to zero) Threshold is basically a conditional operator -- it is either True or False, and there's no middle.

But the Smooth parameter can provide that "middle" area -- for example if you want the 50% threashold of 50% grey to be equal 50% grey, set the Smooth parameter to a very small non-zero value, like 0.0001.
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
uberzev wrote:
I think we should be able to choose what color 50% grey becomes at 50 threashold.


If you want something different from the colors that Threshold provides, plug it into Elevation Gradient and use a 3-Color Gradient to provide that particular color.
  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:

25 unregistered users.