Jump to content

Recommended Posts

Posted

What does it depend on whether areas of a vector image brush curve get stretched or not? In this example the nodes, their handles and their distances are quite the same … but one curve seems to maintain the image aspect ratio across the entire lengths the other curve gets a segment stretched (-> green vs. red). – What is causing the difference and how can I influence this?

vectorbrushimage.jpg.7659fc27307c951b47298d79eb903e92.jpg

• MacBookPro Retina 15" |  macOS 10.14.6  | Eizo 27" | Affinity V1  
• iPad 10.Gen.  |  iOS 18.5.  |  Affinity V2.6

Posted

There are obvious differences in the control handles to the left/right of the green oval from those to the left/right of the red oval, as well as in the angles of the leading and trailing nodes of each. 

Those probably have something to do with it, but I'm not sure what/why. Any reason for not providing the Affinity file and the brush?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
    Laptop 2: Windows 11 Pro 24H2,  16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU
iPad:  iPad Pro M1, 12.9": iPadOS 18.5, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.5

Posted

The node types & handles were my assumption, too. Also the length of the curve influences the image more or less. – But it seems I am unable to change the handles of the right curve in a way that avoids that quite obvious difference in the image's aspect ratio. – attached my V1 file:

vector brush image stretched V1.afpub

• MacBookPro Retina 15" |  macOS 10.14.6  | Eizo 27" | Affinity V1  
• iPad 10.Gen.  |  iOS 18.5.  |  Affinity V2.6

Posted
24 minutes ago, thomaso said:

What is causing the difference and how can I influence this?

The transformation matrix of an object is influencing how the brush texture is mapped onto the path(s) of an object.

If you select your two curves and do Merge Curves then they will be stroked in a matching way, and then you can do Separate Curves if you require them to be separate objects.

Posted
40 minutes ago, lepr said:

The transformation matrix

Ah, not the node properties or Node Tool caused the image stretching but a scaling of the curve's bounding box with the Move Tool. – Perfect, thank you! – The 'Merge Curves' workaround is quite smart – how did you detect the trick?

vectorbrushimage2.jpg.da35ad91f2efabd57b58668aefcae375.jpg

Do you also know what influences the resulting brush width if those curves get merged? I experience sometimes the largest width of the merged curves rules, sometimes it results in a very different and much smaller width than any of the initial curve used.

• MacBookPro Retina 15" |  macOS 10.14.6  | Eizo 27" | Affinity V1  
• iPad 10.Gen.  |  iOS 18.5.  |  Affinity V2.6

Posted
9 hours ago, thomaso said:

how did you detect the trick?

I don't remember - it was years ago when I noticed Merge Curves creates a new object with identity transformation matrix.

 

11 hours ago, thomaso said:

Do you also know what influences the resulting brush width if those curves get merged? I experience sometimes the largest width of the merged curves rules, sometimes it results in a very different and much smaller width than any of the initial curve used.

The new unscaled object that is created by Merge Curves is given the stroke properties of the source object with the lowest position in the stack.

If that source object is being scaled by its transformation matrix and has 'Scale with object' enabled for its stroke, then its apparent stroke width on canvas and in Stroke panel differs from its underlying stroke width. It is the underlying stroke width which is given to the product of Merge Curves.

By the way, the underlying stroke width of an object can be found in Appearance panel.

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.