Skip to content

Nuke tool. Creates a tree of lightgroups or illumination passes and recombines them

Notifications You must be signed in to change notification settings

artandmath/aov_krakout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

aov_krakout

Nuke tool. Creates a tree of lightgroups or illumination passes and recombines them. screenshot

Install instructions

  • Install aov_krakout.py into somewhere nuke can find it (~/.nuke is fine for single user)
  • Paste contents of aov_krakout.nk into nuke.

Properties:

krackout to: (direction) >> break out tree to left or right

x grid units: (xgu) >> this is the amount of horizontal working space generated between each aov

y grid units small: (ygu_small) >> vertically space out dots and shuffles Y grid units

y grid units large: (ygu_large) >> this is the amount of vertical working space generated

aov pattern: (aov_pattern) >> Uses a bash style query system for searching AOV layers. Comma delineated. AOVs will vary depending on show and facility.

half x grid units for ^/ queries: (x_half) >> Use half the amount of horizontal working space between each aov if dividing or multiplying one AOV by another using the '/' or '^' query terms.

subtract sum of aovs from rgb: subtract_aovs >> Gather up any left over data that wasn't captured by the renderer by subtracting the queried AOVs from the rgb. Useful for debugging lighting. Final production renders should not need to use this functionality.

krakout! (krackout) >> Create the nuke tree.

Pattern query syntax:

  • , >> separates each AOV search query
  • / >> divide AOV by another AOV and multiply back together
  • ^ >> multiply AOV by another
  • ! >> exclude this AOV
  • * >> wildcard to capture multiple AOVs - works with /,^,!
  • $ >> parse an environment variable

Pattern query examples:

lg*,!lg0 >> Fetch all AOVs starting with 'lg', ignore 'lg0'.

light/diffuse,reflect,refract_raw^refract_filter,spec,gi >> Explicitly break out some aovs. Divide 'light' by 'diffuse' multiply 'refract_raw' by 'refract_filter'.

$char_aovs >> Will fetch the string contained in the environment variable 'char_aovs' and then parse that string into the query system.

The original krakout

The inspiration to break out a tree to the left or right was derived from a 1987 breakout game where the player could chose to play on the left or right sides of the screen. https://www.c64-wiki.com/wiki/Krakout

License

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

In jurisdictions that recognize copyright laws, the author or authors of this software dedicate any and all copyright interest in the software to the public domain. We make this dedication for the benefit of the public at large and to the detriment of our heirs and successors. We intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to http://unlicense.org/

About

Nuke tool. Creates a tree of lightgroups or illumination passes and recombines them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages