videovillage / Lattice-Issues

Feature requests, bug tracking, questions, and issues for Lattice.
https://videovillage.co/lattice
6 stars 2 forks source link

Add support for reading and writing .dctl transforms for Resolve #63

Closed Shane123Reed closed 1 year ago

Shane123Reed commented 8 years ago

The Resolve Manual has documentation for its 'DaVinci CTL' here: http://documents.blackmagicdesign.com/DaVinciResolve/20160706-ad21b4/DaVinci_Resolve_12_Reference_Manual.pdf

Just search the PDF for .dctl and it will come right up.

Cheers & thanks for this beautiful tool! Shane

gregcotten commented 8 years ago

Already in progress!

It's unfortunate because .dctl is absolutely nothing like .ctl and does not include built-in 1D or 3D LUT interpolation functions. I'm writing them from scratch and on top of there is no way to debug any issues with the .dctl - it either works in Resolve or it doesn't!

Shane123Reed commented 8 years ago

You’re rad! I looked under the hood a bit and found dctl and ctl to be quite far from each other as well :(

Also, I can’t seem to apply aces .ctl files running Lattice 1.6.3 (Build 1321.1), if I select or drag one in, it simply doesn’t show up in the list and the Apply button remains greyed out. Am I missing something?

Thanks so much! Shane

gregcotten commented 8 years ago

Yes it's a freshly discovered bug in Sierra. I assume you're an early adopter?

Shane123Reed commented 8 years ago

Not yet, still on El Capitan 10.11.6

One other amazingly radical feature you might consider (albeit tricky) is to generate ACES LMTs. Have the user specify from a pull down what a LUT that they’ve imported should expect - Cineon, ADX10, 709 etc.. and have Lattice handle the inverse IDT’s & ODT’s.

cheers Shane

On Sep 22, 2016, at 10:24 PM, Greg Cotten notifications@github.com wrote:

Yes it's a freshly discovered bug in Sierra. I assume you're an early adopter?

On Thu, Sep 22, 2016 at 10:23 PM Shane123Reed notifications@github.com wrote:

You’re rad! I looked under the hood a bit and found dctl and ctl to be quite far from each other as well :(

Also, I can’t seem to apply aces .ctl files running Lattice 1.6.3 (Build 1321.1), if I select or drag one in, it simply doesn’t show up in the list and the Apply button remains greyed out. Am I missing something?

Thanks so much! Shane

On Sep 22, 2016, at 10:15 PM, Greg Cotten notifications@github.com wrote:

Already in progress!

It's unfortunate because .dctl is absolutely nothing like .ctl and does not include built-in 1D or 3D LUT interpolation functions. I'm writing them from scratch and on top of there is no way to debug any issues with the .dctl - it either works in Resolve or it doesn't!

On Thu, Sep 22, 2016 at 10:12 PM Shane123Reed notifications@github.com wrote:

The Resolve Manual has documentation for its 'DaVinci CTL' here:

http://documents.blackmagicdesign.com/DaVinciResolve/20160706-ad21b4/DaVinci_Resolve_12_Reference_Manual.pdf

Just search the PDF for .dctl and it will come right up.

Cheers & thanks for this beautiful tool! Shane

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/videovillage/Lattice-Issues/issues/63, or mute the thread < https://github.com/notifications/unsubscribe-auth/AA4bNqoe4sK1OpwE0esnF6KjkBhG5TAsks5qs1-jgaJpZM4KEndZ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249104944>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AFRFXbeT9nFYMoV2SNgAFlZSKunUkoySks5qs2B7gaJpZM4KEndZ .

Shane Reed CINEGRAIN 888.217.9040

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249105665, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4bNu5jR2f_vpx2zUuLrly3FLjKzFOWks5qs2JDgaJpZM4KEndZ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249105784, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRFXfIoSFDuSPe4gtdp9rJggusj06lrks5qs2KJgaJpZM4KEndZ.

Shane Reed CINEGRAIN 888.217.9040

gregcotten commented 8 years ago

Very odd. It is working on 10.11.5. I haven't tested on 10.11.6. In any case, the issue is fixed and will be in the next release.

On Thu, Sep 22, 2016 at 10:30 PM Shane123Reed notifications@github.com wrote:

Not yet, still on El Capitan 10.11.6

One other amazingly radical feature you might consider (albeit tricky) is to generate ACES LMTs. Have the user specify from a pull down what a LUT that they’ve imported should expect - Cineon, ADX10, 709 etc.. and have Lattice handle the inverse IDT’s & ODT’s.

cheers Shane

On Sep 22, 2016, at 10:24 PM, Greg Cotten notifications@github.com wrote:

Yes it's a freshly discovered bug in Sierra. I assume you're an early adopter?

On Thu, Sep 22, 2016 at 10:23 PM Shane123Reed notifications@github.com wrote:

You’re rad! I looked under the hood a bit and found dctl and ctl to be quite far from each other as well :(

Also, I can’t seem to apply aces .ctl files running Lattice 1.6.3 (Build 1321.1), if I select or drag one in, it simply doesn’t show up in the list and the Apply button remains greyed out. Am I missing something?

Thanks so much! Shane

On Sep 22, 2016, at 10:15 PM, Greg Cotten notifications@github.com wrote:

Already in progress!

It's unfortunate because .dctl is absolutely nothing like .ctl and does not include built-in 1D or 3D LUT interpolation functions. I'm writing them from scratch and on top of there is no way to debug any issues with the .dctl - it either works in Resolve or it doesn't!

On Thu, Sep 22, 2016 at 10:12 PM Shane123Reed notifications@github.com wrote:

The Resolve Manual has documentation for its 'DaVinci CTL' here:

http://documents.blackmagicdesign.com/DaVinciResolve/20160706-ad21b4/DaVinci_Resolve_12_Reference_Manual.pdf

Just search the PDF for .dctl and it will come right up.

Cheers & thanks for this beautiful tool! Shane

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/videovillage/Lattice-Issues/issues/63, or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA4bNqoe4sK1OpwE0esnF6KjkBhG5TAsks5qs1-jgaJpZM4KEndZ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249104944 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AFRFXbeT9nFYMoV2SNgAFlZSKunUkoySks5qs2B7gaJpZM4KEndZ

.

Shane Reed CINEGRAIN 888.217.9040

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub < https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249105665 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AA4bNu5jR2f_vpx2zUuLrly3FLjKzFOWks5qs2JDgaJpZM4KEndZ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249105784>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AFRFXfIoSFDuSPe4gtdp9rJggusj06lrks5qs2KJgaJpZM4KEndZ .

Shane Reed CINEGRAIN 888.217.9040

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249106430, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4bNqZVwThlXqPB5mIQh23X8tcFYEJ4ks5qs2PygaJpZM4KEndZ .

Shane123Reed commented 8 years ago

Very cool, keep up the great work!

On Sep 22, 2016, at 10:36 PM, Greg Cotten notifications@github.com wrote:

Very odd. It is working on 10.11.5. I haven't tested on 10.11.6. In any case, the issue is fixed and will be in the next release.

On Thu, Sep 22, 2016 at 10:30 PM Shane123Reed notifications@github.com wrote:

Not yet, still on El Capitan 10.11.6

One other amazingly radical feature you might consider (albeit tricky) is to generate ACES LMTs. Have the user specify from a pull down what a LUT that they’ve imported should expect - Cineon, ADX10, 709 etc.. and have Lattice handle the inverse IDT’s & ODT’s.

cheers Shane

On Sep 22, 2016, at 10:24 PM, Greg Cotten notifications@github.com wrote:

Yes it's a freshly discovered bug in Sierra. I assume you're an early adopter?

On Thu, Sep 22, 2016 at 10:23 PM Shane123Reed notifications@github.com wrote:

You’re rad! I looked under the hood a bit and found dctl and ctl to be quite far from each other as well :(

Also, I can’t seem to apply aces .ctl files running Lattice 1.6.3 (Build 1321.1), if I select or drag one in, it simply doesn’t show up in the list and the Apply button remains greyed out. Am I missing something?

Thanks so much! Shane

On Sep 22, 2016, at 10:15 PM, Greg Cotten notifications@github.com wrote:

Already in progress!

It's unfortunate because .dctl is absolutely nothing like .ctl and does not include built-in 1D or 3D LUT interpolation functions. I'm writing them from scratch and on top of there is no way to debug any issues with the .dctl - it either works in Resolve or it doesn't!

On Thu, Sep 22, 2016 at 10:12 PM Shane123Reed notifications@github.com wrote:

The Resolve Manual has documentation for its 'DaVinci CTL' here:

http://documents.blackmagicdesign.com/DaVinciResolve/20160706-ad21b4/DaVinci_Resolve_12_Reference_Manual.pdf

Just search the PDF for .dctl and it will come right up.

Cheers & thanks for this beautiful tool! Shane

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/videovillage/Lattice-Issues/issues/63, or mute the thread <

https://github.com/notifications/unsubscribe-auth/AA4bNqoe4sK1OpwE0esnF6KjkBhG5TAsks5qs1-jgaJpZM4KEndZ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <

https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249104944 , or mute the thread <

https://github.com/notifications/unsubscribe-auth/AFRFXbeT9nFYMoV2SNgAFlZSKunUkoySks5qs2B7gaJpZM4KEndZ

.

Shane Reed CINEGRAIN 888.217.9040

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub < https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249105665 , or mute the thread < https://github.com/notifications/unsubscribe-auth/AA4bNu5jR2f_vpx2zUuLrly3FLjKzFOWks5qs2JDgaJpZM4KEndZ

.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub < https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249105784>, or mute the thread < https://github.com/notifications/unsubscribe-auth/AFRFXfIoSFDuSPe4gtdp9rJggusj06lrks5qs2KJgaJpZM4KEndZ .

Shane Reed CINEGRAIN 888.217.9040

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249106430, or mute the thread https://github.com/notifications/unsubscribe-auth/AA4bNqZVwThlXqPB5mIQh23X8tcFYEJ4ks5qs2PygaJpZM4KEndZ .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-249106989, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRFXQ8viIzY4_y5jHQ2rt8WHwkFZK97ks5qs2VAgaJpZM4KEndZ.

Shane Reed CINEGRAIN 888.217.9040

gregcotten commented 8 years ago

Turns out this isn't as simple as it seems. It seems to be OK with 1D LUTs, but 3D LUTs have too much data in them to be stored as constant memory. I'm looking into it but it doesn't seem good...

Shane123Reed commented 7 years ago

Hi Greg, I have a 3D film emulation LUT that expects ADX10 and delivers 709. Is there a way in Lattice to convert that same 3D film emulation LUT to expect ADX16 and still deliver the same 709? Thanks so much! Shane

On Oct 3, 2016, at 5:20 PM, Greg Cotten notifications@github.com wrote:

Turns out this isn't as simple as it seems. It seems to be OK with 1D LUTs, but 3D LUTs have too much data in them to be stored as constant memory. I'm looking into it but it doesn't seem good...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/videovillage/Lattice-Issues/issues/63#issuecomment-251264006, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRFXbUuq9js2OlX_HTHqIGNYW-zKx9Fks5qwZu9gaJpZM4KEndZ.

gregcotten commented 7 years ago

Hi Shane,

I made a 1D LUT (size 65535), and applied the "ACEScsc.ADX10_to_ACES" CTL script, and reversed the LUT (to effectively make it ACES_to_ADX10). I then created another 1D LUT (size 65535), applied the "ACEScsc.ADX16_to_ACES" CTL script, and then combined the "ACES_to_ADX10" LUT by dragging the Lattice LUT icon from the first LUT onto the second LUT.

I've attached the result cube - you'll need to remove the ".txt" extension.

ADX16_to_ADX10.cube.txt