
Python 是一种广泛使用的脚本语言,它集成到 NUKE 中,让我们的艺术家可以控制用户界面,快速修改许多节点并与外部应用程序集成。通过学习一些 Python 命令和工作流程,我们可以扩展 NUKE 并编写让我们专注于艺术创作的脚本。我们将通过回显 NUKE 内部使用的 Python 命令开始本 NUKE 教程,并开始编写我们自己的代码。从那里我们将学习如何正确创建节点、在创建节点时设置属性以及让我们的脚本在 NUKE 启动时自动运行。从那里,我们可以开始处理一些项目,例如根据用户输入选择特定类的所有节点的脚本和自动将多通道 EXR 分解为单独的自动裁剪随机节点的脚本,以便我们可以更快地开始合成.
Introduction to Python Scripting in NUKE
19xHDRip | MP4/AVC, ~1496 kb/s | 1280×720 | Duration: 02:46:50 | English: AAC, 192 kb/s (2 ch) | 2.08 GBGenre: Development / Programming
Python is a widely used scripting language that is integrated into NUKE to let us artists control the user interface, quickly modify many nodes and integrate with external applications. By learning some Python commands and workflows we can extend NUKE and write scripts that let us focus on creating art. We will start this NUKE tutorial by echoing the Python commands that NUKE uses internally and begin writing our own code. From there we will learn how to correctly create nodes, set properties at node creation and have our scripts automatically run whenever NUKE starts up. From there, we can begin working on some projects, like a script that selects all nodes of a specific class based on user input and a script to automatically break a multi-channel EXR into individual auto-cropped shuffle nodes so we can begin compositing faster.
![Introduction to Python Scripting in NUKE [repost]](https://www.0daydown.com/wp-content/uploads/2014/12/00318c34.jpeg)
![Introduction to Python Scripting in NUKE [repost]](https://www.0daydown.com/wp-content/uploads/2014/12/00318c35.jpeg)
原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/26564.html