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

Procedural texture not working and not savebale as preset ?


Recommended Posts

I made a procedurale texture following a tutorial from James Ritson.

Two issues:

A. the PT does not have any effect - meaning it does nothing

B. I cannot save it as a preset (I already have a category made with another document).

An older PT I made is working and available in the presets. So, I assume there is an issue in the PT I don't see.

AP Version 1.10.5.1342 on Windows

procedural-texture.png.9a160b14e730cbd6ccb8390d7015a9a6.png

Link to comment
Share on other sites

Update on the issue:

It seems to be caused by using the "0,1" custom inputs on a German system.

If I replace the variables mix and br which use a comma on a German system (0,5 instead of 0.5) with fixed values in the equatation, then it works.

E.g.:

var divided=R/(0.5*tms); var flat=sqrt(divided); lerp(flat, divided, 0.5)*(br*brs)

works and allows to save a preset.

var divided=R/(0,5*tms); var flat=sqrt(divided); lerp(flat, divided, 0,5)*(br*brs)

does not work and cannot be saved.

Is there a way to solve this?

 

Edit:

The old PT I have, was made and saved as preset with affinity-photo-1.10.4. This one still works in affinity-photo-1.10.5

The new PT I made in affinity-photo-1.10.5 is not working.

Link to comment
Share on other sites

Probably there is a syntax error. creating presets is blocked unless the formula and input variables are 100% ok.

I would advise to copy all formulas to an external text editor (to save clicks / keyboard usage, and avoid manual input errors).

Then start from scratch and add one input variable after the other, and always save (replace) the preset. If saving is blocked, you found the error.

Do the same with the formula: start with one line, and only the first part (var ..=...), and always return 0 or 1, then add the next part, until you have the formula complete.

Mac mini M1 A2348 | Windows 10 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

 

Link to comment
Share on other sites

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.