У нас вы можете посмотреть бесплатно 0x09 Python for (Nuke) Compers - Anatomy of a function. Sorry this is kinda long :| или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
By now, you're probably itching to write small packets of code you can use and reuse. You've also almost certainly played around with functions so thought I'd peel one apart with a focus on more the.. I guess.. structure? Excuse the length, this one runs out to ~20 mins partly because I decided to do more than initially expected, and I get slightly distracted explaining things I probably didn't need to: 0:22 - a barebones function 5:07 - a tile colour changer 7:05 - function spec and docstring 9:26 - a slight diversion on the calculation 13:17 - defaults, for the lazy! 15:31 - extracting the tile colour calculator function 18:50 - yet more diversion around why 0.5 == 0.498 20:30 - closing remarks (links below for Ben/Erwan's pages on tile colour you'd probably hit if you searched for them) The code I was typing out: https://pastebin.com/CWzMFmZH Nuke & Python: Making your first functional plugin: Node colors presets. Part 1/2: http://erwanleroy.com/nuke-python-mak... Quick Tip: Programmatically Dealing with Hex Colour in Nuke https://benmcewan.com/blog/2019/06/03...