Hi John,
Thanks so much for sharing these equations. Having trawled the web while looking for ways to 'apply' labels to pack shots of bottles in Affinity Photo, this tutorial (and the accompanying equations and macros) are about the only things I've found to achieve this result - and they do it so well!
I've been trying to work out how to change the amount of compression (which gives the effect of a 'fall off') on the sides of the 'label'. I understand that changing the variable mentioned (between 0 and 1) gives the effect of looking down/up at the 'label', but I'm wondering if there's a way to change the equation to give the appearance of the 'label' being wrapped around a larger object. Essentially it's a matter of persective, and I'm trying the make the left and right sides of the label compress more (in a smooth fashion), so that I can can achieve a effect of the label falling off as it curves around a round bottle, but with the camera as though it was square on to the bottle. My requirement is that as you get a wider label (that wraps further around the object), the compression applied the label will need to become more extreme as it reaches the 'edge' of the bottle.
I hope this makes some kind of sense!
Is there something I'm missing, or could you kindly point me in the direction of what I'd need to change in your equations?
Many thanks,
Pete