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

Custom Lens Profiles handling


T_MZ_2019

Recommended Posts

In Affinity Photo 1.8 a new feature was introduced enabeling the user to select lens profiles from a dropdown list in develop persona. Underlying dialog is split into four tabs "all", "recent", "favourite", "detected". From preferences dialog you can add custom lens profiles into a folder on the harddrive (Default C:\ProgramData\Affinity\Photo\1.0\LensProfiles). These custom profiles are not loaded into the "all" tab during the program start. So you won't be ablte to load custom lens profiles by manual selection. For these custom lens profiles the program behaviour is the same as in previous versions of Affinity Photo. All lens profiles (pre compiled and custom) shall be loaded into the all tab of lens correction dialog.

CustomLensProfile(1).jpg

CustomLensProfile(2).jpg

Link to comment
Share on other sites

Hello @Gabe,

obviously I made a mistake. In the custom lens profiles from 1.7 I had to dismiss manufacturer in the model tag for detection purposes. Starting Affinity Photo 1.8 with that, I could not find the lens in the "All" section of develop persona. Finally I added manufacturer to the model tag of my custom lens profile and all lenses Show up in the Dialog. Removed the manufacturer again for testing purposes, but I can't reproduce anymore. So this thread can be closed.

However, here is a part of my working Version of the custom lens profile from %ProgramData%\Affinity\Photo\1.0\LensProfiles:

    <lens>
        <maker>Sigma</maker>
        <model>Sigma 30mm f/1.4 DC DN | Contemporary 016</model>
        <model lang="en">Sigma 30mm f/1.4 DC DN C</model>
        <mount>Sony E</mount>
        <mount>Micro 4/3 System</mount>
        <cropfactor>1.534</cropfactor>
        <calibration>
            <!-- Taken with Sony 6000 (ILCE-6000) -->
            <distortion model="ptlens" focal="30" a="-0.00399" b="-0.00701" c="-0.00069"/>
            <tca model="poly3" focal="30" br="-0.0000662" vr="1.0002242" bb="0.0001122" vb="0.9999295"/>
            <vignetting model="pa" focal="30" aperture="1.4" distance="10" k1="-0.7397" k2="0.2898" k3="-0.0725"/>
            <vignetting model="pa" focal="30" aperture="1.4" distance="1000" k1="-0.7397" k2="0.2898" k3="-0.0725"/>
            <vignetting model="pa" focal="30" aperture="2" distance="10" k1="-0.0294" k2="-0.7454" k3="0.3732"/>
            <vignetting model="pa" focal="30" aperture="2" distance="1000" k1="-0.0294" k2="-0.7454" k3="0.3732"/>
            <vignetting model="pa" focal="30" aperture="2.8" distance="10" k1="-0.2530" k2="0.3830" k3="-0.3861"/>
            <vignetting model="pa" focal="30" aperture="2.8" distance="1000" k1="-0.2530" k2="0.3830" k3="-0.3861"/>
            <vignetting model="pa" focal="30" aperture="4" distance="10" k1="-0.2194" k2="0.1395" k3="-0.0720"/>
            <vignetting model="pa" focal="30" aperture="4" distance="1000" k1="-0.2194" k2="0.1395" k3="-0.0720"/>
            <vignetting model="pa" focal="30" aperture="8" distance="10" k1="-0.2137" k2="0.1051" k3="-0.0333"/>
            <vignetting model="pa" focal="30" aperture="8" distance="1000" k1="-0.2137" k2="0.1051" k3="-0.0333"/>
            <vignetting model="pa" focal="30" aperture="13" distance="10" k1="-0.2189" k2="0.1170" k3="-0.0418"/>
            <vignetting model="pa" focal="30" aperture="13" distance="1000" k1="-0.2189" k2="0.1170" k3="-0.0418"/>
            <vignetting model="pa" focal="30" aperture="16" distance="10" k1="-0.2179" k2="0.1129" k3="-0.0401"/>
            <vignetting model="pa" focal="30" aperture="16" distance="1000" k1="-0.2179" k2="0.1129" k3="-0.0401"/>
        </calibration>
    </lens>

    <lens>
        <maker>Sigma</maker>
        <model>Sigma 16mm f/1.4 DC DN | Contemporary C 017</model>
        <model lang="en">Sigma 16mm f/1.4 DC DN C</model>
        <mount>Micro 4/3 System</mount>
        <mount>Sony E</mount>
        <cropfactor>1.534</cropfactor>
        <calibration>
            <!-- Taken with Sony 6000 (ILCE-6000) -->
            <distortion model="ptlens" focal="16" a="0.019888" b="-0.0654977" c="0.0396784"/>
        </calibration>
    </lens>

	<lens>
		<maker>Sigma</maker>
        <model>Sigma 56mm f/1.4 DC DN | Contemporary C 018</model>
        <model lang="en">Sigma 56mm f/1.4 DC DN C</model>
        <mount>Sony E</mount>
        <cropfactor>1.534</cropfactor>
        <calibration>
           <distortion model="ptlens" focal="56" a="0.006" b="0.001" c="0.007" />
		   <!--<distortion model="ptlens" focal="56" a="0.006" b="0.004" c="0.002" />-->
		   <tca model="poly3" focal="56" vr="1.0002668" vb="1.0000974" />
           <vignetting model="pa" focal="56" aperture="1.4" distance="10" k1="-0.6563899" k2="0.4997563" k3="-0.3019152" />
           <vignetting model="pa" focal="56" aperture="1.4" distance="1000" k1="-0.6563899" k2="0.4997563" k3="-0.3019152" />
           <vignetting model="pa" focal="56" aperture="2.0" distance="10" k1="-0.0284023" k2="-0.4540002" k3="0.1537164" />
           <vignetting model="pa" focal="56" aperture="2.0" distance="1000" k1="-0.0284023" k2="-0.4540002" k3="0.1537164" />
           <vignetting model="pa" focal="56" aperture="2.8" distance="10" k1="-0.1353079" k2="0.1638183" k3="-0.3075717" />
           <vignetting model="pa" focal="56" aperture="2.8" distance="1000" k1="-0.1353079" k2="0.1638183" k3="-0.3075717" />
           <vignetting model="pa" focal="56" aperture="4.0" distance="10" k1="-0.2058830" k2="0.3609115" k3="-0.3706184" />
           <vignetting model="pa" focal="56" aperture="4.0" distance="1000" k1="-0.2058830" k2="0.3609115" k3="-0.3706184" />
           <vignetting model="pa" focal="56" aperture="16.0" distance="10" k1="-0.1385318" k2="0.0732101" k3="-0.0945419" />
           <vignetting model="pa" focal="56" aperture="16.0" distance="1000" k1="-0.1385318" k2="0.0732101" k3="-0.0945419" />
        </calibration>
    </lens>

Thanks,

Torsten

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.