Login - Create Account
Bookmark and Share

Bug: "If" component wrong alpha output

Login or Register to post new topics or replies
Sphinx.
Filter Optimizer

Posts: 1346
Filters: 38
The "If" component uses the "Then" alpha in its output and not the alpha from Source A (as described in help and in general being the convention for RGB Math components)
Njyldgarkn sample cache!
  Details E-Mail
Vladimir Golovin
Administrator
Filter Forge, Inc.
Posts: 3108
Filters: 54
The guys are looking into this.
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1346
Filters: 38
Nice!

One thing that would be mighty cool is that if you could avoid fetching THEN or ELSE sources unless needed.. it seems that all sources are fetched no matter what (estimated from performance..correct me if I'm wrong).
Njyldgarkn sample cache!
  Details E-Mail
Dmitry Sapelnikov
Filter Forge, Inc. AKA Egret
Posts: 76
Filters: 5
Yes, the help article contains a mistake.
The If component doesn't follow the convention mentioned above.
Instead it takes the alpha from the Then/Else inputs comparing the SourceA and SourceB alphas.
Thus the component supports uniform processing of all 4 channels.
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1346
Filters: 38
Mmm.. this is not very handy cachewise - all four/three (?) sources are always fetched , making this component worthless as a subtree selection mechanism (but we have the Threshold component for that I guess..).

I had hoped that when introduced the If comp. would allow an even cheaper subtree selection mechanism than the Threshold (because it involves unnecessary interpolation) - but its nature makes it impractical...

But hey frak it! How about making RGB Math components consistent once for all: RGBA is processed equally.
Njyldgarkn sample cache!
  Details E-Mail

Join Our Community!

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

15,512 Registered Users
+9 new last day!

113,396 Posts
+64 new last day!

10,193 Topics
+12 new last day!

Online Users Last 5 minutes:

SpaceRay, 6 unregistered users.

Recent Wiki Edits:

Follow filterforge on Twitter