Jump to content

Recommended Posts

Posted (edited)

Hi,

based on inspiration by @kirk23 I created a template file with a layer structure and some PT filters helping to create 2,5D (almost 3D) construction with Affinity Photo. The basic idea:   

  • The layer sequence in layer stack becomes irrelevant for pixel visibility. Instead, the height information is used from layers.
  • For every object use 2 layers: 1 for color data, another with greyscale heigh information (z-axis). Both grouped together (after some pF filters)
  • Now combine both layers in a special way:
    • heigth is multiplied by 256 and added with pixel data. You need to ensure height is always "integer"
    • blend mode "lighten" can be used to always select the layer data which has the greatest height
    • use "item" function to remove height info and extract color info of "winning" layer
  • some constraints:
    • color values 0 and 255 cannot be used to avoid rendering issues. I compress the values to 1..254, this could create some minor banding / deviation of colors.
    • Editing such a file requires discipline, you need to triple-check if the correct layer is selected
    • 2 layers cannot share the same height value. If that happens, colors are mixed and causing rendering artefacts.
    • Use isolation mode when editing color layers (and deactivate PT filters temporary)
    • anti-aliasing must be forced off, otherwise edge pixel get random colors.
  • You can duplicate the grouped layers to use more objects.
  • plan ahead which height values you want to use (e.g. using greyscale swatches)

The video shows a CAD-generated 3D spiral, used 2 times. A simple brightness filter can be used to modify the height data, and virtually move objects in real time. For details, see 

Note the template in this thread (not the linked) is based on RBG/16 and not RGB/32 as visible in the video.

 

 

 

25D layers RGB16 tutrial V2.0.4.afphoto

Edited by NotMyFault
Update: File adjusted to be V2.0.4 compatible

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

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.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

Must have been done with the beta. It won't load in Win v204.

1) MacBook M3 Pro 18/512 - Now my daily driver. 2) I liked it so much I added an M4 Air. Consider me a convert.

2xDell laptops on Win 11 frozen at 23H2. With 2 & 4 hours of battery life, respectively, they're already dead to me.

Posted (edited)
8 hours ago, Twolane said:

Must have been done with the beta. It won't load in Win v204.

You are right. Will redo in V2.0.4 later today.

Edited by NotMyFault
Done

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

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.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

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.