Skip to content

earlyworm cg

wip and stuff

Tag: hlg

HyperLogGamma

Nuke expression reminder to self. Linear to HyperLogGamma and back again.

(left) HLG (right) linear
r = current channel (r, g, b)
a1 = 0.17883277
b1 = 0.28466892
c1 = 0.55991073

To HLG

r > 1 ? a1 * log ((r) - b1) + c1 : 0.5 * sqrt(r

From HLG

r > 0.5 ? exp( (r - c1) / a1) + b1 : 4 * pow(r,2)
Author earlywormPosted on May 5, 2017Categories NukeTags hdr, hdri, hlg, hyperloggamma, linear, nukeLeave a comment on HyperLogGamma

About:

A collection of works-in-progress, snippets of knowledge and other various bits and pieces to do with CG, VFX and Animation.

Pages

  • OSL Shading Nodes

Recent Posts

  • Reading Metadata in Nuke
  • Renderman + Masks
  • Atmosphere in Nuke
  • Renderman – Batch Render tips
  • Renderman Commandline

Recent Comments

  • earlyworm on Renderman + Masks
  • João Martins on Renderman + Masks
  • João Martins on Renderman – Batch Render tips
  • emir karasakal on Rendering Overscan in Maya
  • VideoPortal on Linux for CG – “easily goto directories, even if they don’t exist yet”

Archives

  • November 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • March 2017
  • July 2016
  • December 2015
  • October 2014
  • June 2014
  • May 2014
  • September 2013
  • February 2013
  • January 2013
  • July 2012
  • June 2012
  • May 2012
  • February 2012

Categories

  • 3Delight
  • Blender
  • Linux
  • Maya
  • Mental Ray
  • Nuke
  • renderman
  • Shading
  • Uncategorized
  • VFX
  • Video
  • Vray
  • Zbrush

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
earlyworm cg Proudly powered by WordPress