Jump to content
You must now use your email address to sign in [click for more info] ×

Procedural Texture bug - roundup doesn't seem to work but round does


jmliss

Recommended Posts

In the attached .afphoto I have a procedural texture formula that seems to do something when using round, but seems to fail when using roundup. I have reason to believe the formula works on Windows. I am running 1.9.3 of affinity photo, and latest version of Catalina. Also look at both uploaded images.

Thank you,

Jonathan Lissimage.thumb.png.068a9234f1d41922072691cce7105293.pngimage.thumb.png.d602df315117f9576f5a3a2a5aa13cfc.png

for dave hsl selection 2.afphoto

Link to comment
Share on other sites

4 minutes ago, Gabe said:

Hi @jmliss,

What doesn't seem to work?

round != roundup 

Round will round up if the decimal = > 5 and rounddown otherwise

Roundup will round up to the next integer regardless. So it's excepted that you get different results. 

Gabe, I appreciate your response and I understand the math. I was implementing a formula posted in a video by Dave Straker who often posts on this forum but his examples are using windows. If you looked at my examples, you would see that in the case of roundup, it seems that the equation is completely ignored. I am only asking if there is an issue with roundup on the mac. How can I check if the function is working other than my example ?

Link to comment
Share on other sites

Gabe, thank you for taking the time to provide these examples. I have verified that they work on MAC, I will need to pursue my problem elsewhere. I appreciate your patience. There is a learning curve obviously with this filter. I need to learn now how to set alpha to 0 when R=G=B.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.