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

Perspective projection distorts proportions.


Recommended Posts

The projection, regardless of the shape (proportions), is distorted to match the original proportion of the image. The video is more clear. Even if you create a 1:16 dinomical projection plane on an image with an aspect ratio of 1: 1, it will stretch and shrink it to a 1: 1 square.

__________________

Windows 11 64-bit,

AMD Ryzen 9 3900 + Nvidia 1660 Super + Nvidia Studio driver + 32 Gb RAM.

Link to comment
Share on other sites

  • Staff

Hi @Max N,

This sounds more like a feature/improvement request rather than a bug. keeping the aspect ratio would require a new(different) way of handling the projection. Your example is an "easy win" because the edges are somehow equal (top/bottom , left/right), but what about this scenario? Top and bottom are fairly equal, but the left/right are not. So, it has to stretch/compress at some point. Otherwise, if it keeps the same shape and just "crops/zooms to fit" what is the purpose of the projection? 

Moved to feature requests. 

image.png

Link to comment
Share on other sites

On 4/30/2021 at 2:10 PM, Max N said:

The video is more clear.

In your example, I would actually completely reverse the workflow and use live text with live perspective filter instead:

aph_live_perspective_live_text.png.5f9d97310cb27feb3defec632c12a7e2.png

 

Other than that, I support this "feature/improvement request".

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

4 hours ago, Gabe said:

Hi @Max N,

This sounds more like a feature/improvement request rather than a bug. keeping the aspect ratio would require a new(different) way of handling the projection. Your example is an "easy win" because the edges are somehow equal (top/bottom , left/right), but what about this scenario? Top and bottom are fairly equal, but the left/right are not. So, it has to stretch/compress at some point. Otherwise, if it keeps the same shape and just "crops/zooms to fit" what is the purpose of the projection?  

Moved to feature requests. 

image.png

Perhaps due to the difficulties of translation, I could not convey my idea correctly. I'll try to show it to a picture

 

3.thumb.jpg.b60496e8cdb1ae5be6e16e911af39d1b.jpg

Let me explain. When forming the image (perspective) Coordinates A and B are not taken into account. Although they are related to the image. But perspective is stretched to X and Y dimensions. As a result, a figure with an aspect ratio of 1:16 will be displayed in 1: 1 with the strongest distortion. The aspect ratio of the object (A: B) is not taken into account when calculating the image, and instead of (A: B), (X: Y) is used. This leads to severe distortion. The cat side can become long and the long one short.

 

 

__________________

Windows 11 64-bit,

AMD Ryzen 9 3900 + Nvidia 1660 Super + Nvidia Studio driver + 32 Gb RAM.

Link to comment
Share on other sites

5 hours ago, Gabe said:

Hi @Max N,

This sounds more like a feature/improvement request rather than a bug. keeping the aspect ratio would require a new(different) way of handling the projection. Your example is an "easy win" because the edges are somehow equal (top/bottom , left/right), but what about this scenario? Top and bottom are fairly equal, but the left/right are not. So, it has to stretch/compress at some point. Otherwise, if it keeps the same shape and just "crops/zooms to fit" what is the purpose of the projection?  

Moved to feature requests. 

image.png

 

4.thumb.jpg.85579159ede1ca76f67235c763848690.jpg

Even to be more precise.

X and Y - are the dimensions of the document.

A1, A2 and B1, B2 - are the sizes of the selected area.

I expect that:

A = (A1 + A2) / 2

B = (B1 + B2) / 2

the formula is not accurate (for example, it may be difficult to correct it correctly).

In real:

A = Y

B = X

Application of X and Y in the split - gives the accuracy no higher than the use of any random number.

If we take into account the size of the selected area in the calculations, then this can give a more predictable result. I think that the formulas should be more complicated and the algorithms are smarter than those that I suggested. But stretching the area to fit the document without taking into account the shape of the selection is daunting.

 

__________________

Windows 11 64-bit,

AMD Ryzen 9 3900 + Nvidia 1660 Super + Nvidia Studio driver + 32 Gb RAM.

Link to comment
Share on other sites

3 hours ago, loukash said:

In your example, I would actually completely reverse the workflow and use live text with live perspective filter instead:

aph_live_perspective_live_text.png.5f9d97310cb27feb3defec632c12a7e2.png

 

Other than that, I support this "feature/improvement request".

Thanks for the advice. I wanted to record a video of using this tool and how it distorts I found it very old. I thought it was a program error. The distortion occurs not taking into account the shape of the selection, but taking into account the size of the original document.

__________________

Windows 11 64-bit,

AMD Ryzen 9 3900 + Nvidia 1660 Super + Nvidia Studio driver + 32 Gb RAM.

Link to comment
Share on other sites

36 minutes ago, Max N said:

The distortion occurs not taking into account the shape of the selection, but taking into account the size of the original document.

Yes, I understood that. Your new examples are much better. :)

I also think this is a very counterintuitive concept. The algorithm should at least try to assume the proportions of the selection, otherwise the whole feature doesn't make much sense.

Same for the destructive perspective tool, for that matter. It was driving me nuts when I wanted to crop a distorted square – like a photo of a vinyl LP sleeve taken from an angle – and it just blew it up to the original 3:2 photo proportions. Until I found the live filter which makes it easier to find the correct proportions non-destructively.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

On 5/5/2021 at 1:36 PM, Gabe said:

Hi @Max N,

This sounds more like a feature/improvement request rather than a bug. keeping the aspect ratio would require a new(different) way of handling the projection. Your example is an "easy win" because the edges are somehow equal (top/bottom , left/right), but what about this scenario? Top and bottom are fairly equal, but the left/right are not. So, it has to stretch/compress at some point. Otherwise, if it keeps the same shape and just "crops/zooms to fit" what is the purpose of the projection?  

Moved to feature requests. 

image.png

Good day. I have added some clarifications. I would like to receive an answer that this is really not a bug and that this is how it works. I am recording a lesson on YouTube, and if this is a mistake, then I will wait for the correction. If this is the way it should be, then I will write down with recommendations how to minimize this effect.

__________________

Windows 11 64-bit,

AMD Ryzen 9 3900 + Nvidia 1660 Super + Nvidia Studio driver + 32 Gb RAM.

Link to comment
Share on other sites

Not sure wether I've got the wrong end of the stick, but I can't see what the problem is?

Daz1.png

Mac Pro Cheese-grater (Early 2009) 2.93 GHz 6-Core Intel Xeon 48 GB 1333 MHz DDR3 ECC Ram, Sapphire Pulse Radeon RX 580 8GB GDDR5, Ugee 19" Graphics Tablet Monitor Triple boot via OCLP 1.2.1 - Mac OS Monterey 12.7.1, Sonoma 14.1.1 and Mojave 10.14.6

Affinity Publisher, Designer and Photo 1.10.5 - 2.2.1

www.bingercreative.co.uk

 

 

 

 

 

Link to comment
Share on other sites

A few seconds of tweaking and you have something usable and still remains editable

Persp.jpg

Daz1.png

Mac Pro Cheese-grater (Early 2009) 2.93 GHz 6-Core Intel Xeon 48 GB 1333 MHz DDR3 ECC Ram, Sapphire Pulse Radeon RX 580 8GB GDDR5, Ugee 19" Graphics Tablet Monitor Triple boot via OCLP 1.2.1 - Mac OS Monterey 12.7.1, Sonoma 14.1.1 and Mojave 10.14.6

Affinity Publisher, Designer and Photo 1.10.5 - 2.2.1

www.bingercreative.co.uk

 

 

 

 

 

Link to comment
Share on other sites

3 hours ago, Dazmondo77 said:

Not sure wether I've got the wrong end of the stick

You've got the "wrong end". :)
@Max N was initally talking about the
Layer > Live Projection feature. That's somewhat similar to the Live Perspective, but for a different purpose. Hence my proposal to use Live Perspective instead.

MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2

Link to comment
Share on other sites

Aaaaaahhhh now I get it - completely forgot about Live Projection, remember having a play, a fair way back, but found it a pain in the rectory to do anything usable with it, so just dismissed it as a frilly pea shooter with laser optics which you can't fit peas into, which is a shame as theres potentially a ton of powerful uses for it  

Daz1.png

Mac Pro Cheese-grater (Early 2009) 2.93 GHz 6-Core Intel Xeon 48 GB 1333 MHz DDR3 ECC Ram, Sapphire Pulse Radeon RX 580 8GB GDDR5, Ugee 19" Graphics Tablet Monitor Triple boot via OCLP 1.2.1 - Mac OS Monterey 12.7.1, Sonoma 14.1.1 and Mojave 10.14.6

Affinity Publisher, Designer and Photo 1.10.5 - 2.2.1

www.bingercreative.co.uk

 

 

 

 

 

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.