An Introduction to Scripting in Maya

所在平台: Udemy

课程主页: https://www.udemy.com/course/3dmotive-an-introduction-to-scripting-in-maya/

课程评论:没有评论

第一个写评论        关注课程

课程简介

## 课程总结:《Maya 脚本入门》 本课程由 Chad Morgan 主讲,将深入浅出地介绍如何在 Maya 中使用 MEL 和 Python 编写脚本。 **课程内容概览:** * **MEL 与 Python 的对比:** 详细讲解两种语言的区别、存在原因以及各自的优缺点。 * **脚本参考使用:** 指导学员如何查阅脚本参考,掌握命令及其参数,从而独立编写脚本。 * **语法演示:** 在 MEL 和 Python 中演示 Maya 命令的语法,包括如何传递参数。 * **程序结构:** 讲解如何创建过程(procedures)和定义(definitions),介绍变量的概念、创建方法以及如何在不同过程和定义之间传递变量。 * **常用编程功能:** * **迭代器 (Iterators):** 学习如何对对象列表执行重复性任务,了解其多种形式。 * **条件语句 (Conditional Statements):** 掌握如何根据条件执行代码,实现程序的逻辑分支。 * **脚本保存与加载:** 演示如何在 MEL 和 Python 中保存和重新加载脚本。 **讲师介绍:** Chad Robert Morgan,拥有在 LucasArts 的工作经验,并受到行业内优秀导师的指导,学习并掌握了 Maya 的使用。他热衷于分享知识,曾受邀在 Autodesk Master Classes 讲学,发表于 3D World 杂志,并在 YouTube 上发布教程。目前,他在加州湖森林与妻子 Carol 和儿子 Xander 一同生活。 **学习资源:** 请在“第一部分 / 第一讲”下载区查找与课程内容相关的源文件。

课程评论(0条)

课程详情

In this course, instructor Chad Morgan will go through the basics in writing scripts in Maya in both MEL and Python. We will begin by discussing the difference between MEL and Python, why there are two different languages, and the pros and cons to each. We will show you how to bring up the scripting reference which will allow you to search the commands and their parameters so you can learn to create your own scripts. We demonstrate the syntax on both MEL and Python commands in Maya, including passing arguments to them. We will demonstrate how to create procedures and definitions, what variables are and how to create them, and how to pass variables between procedures and definitions. Following that, we will show, in both MEL and in Python, some of the more common functions in programming. The first are iterators, which allow us to perform the same task over lists of objects and comes in several forms. The second function common to all programming languages is the conditional statement, which allows us to test conditions before executing code and allowing us to branch the program depending on what conditions are met. We finish by demonstrating how to save and reload your scripts in both languages.(Students - please look under Section 1 / Lecture 1 downloads for the source files associated with the lesson.)More about the Instructor:Chad Robert Morgan started his career at LucasArts where, as a newbie to the industry, was fortunate enough to work with some very talented mentors who taught him how to use Maya. Since then, Chad has been trying to pay it forward by sharing what he has learned, first by giving lectures at Autodesk Master Classes, then publishing an article in 3D World magazine, posting tutorials on YouTube, and finally teaming up with 3dmotive. Chad currently lives in Lake Forest, CA with his wife Carol and his son Xander.

课程标签

0人关注该课程

主题相关的课程