http://www.3dluvr.com/rogueldr/tutorials/eye/eyes.html
http://forums.cgsociety.org/showthread.php?t=12472&highlight=pixar+eyes
Wednesday, June 1, 2011
Wednesday, May 11, 2011
GUI windows in MEL
Copy and Paste heaven for the window builders out there.
window -title "new window" -widthHeight 300 200 myWindow;
showWindow myWindow;
http://accad.osu.edu/~aprice/courses/694/gui.html
window -title "new window" -widthHeight 300 200 myWindow;
showWindow myWindow;
http://accad.osu.edu/~aprice/courses/694/gui.html
Tuesday, May 10, 2011
Wednesday, April 27, 2011
Tuesday, April 26, 2011
DMM physics plugin for Maya 2011
The most insane physics simulator on earth. Albert - you need to use this for your stone cracking!!
http://www.pixelux.com/dmmPlugin.html
http://www.pixelux.com/dmmPlugin.html
Procedural modeling script
Excellent tutorial and script for creating a procedurally modeled spiral:
http://cg.tutsplus.com/tutorials/autodesk-maya/procedural-modeling-with-mel-scripts-in-maya-day-2/
http://cg.tutsplus.com/tutorials/autodesk-maya/procedural-modeling-with-mel-scripts-in-maya-day-2/
Tuesday, April 19, 2011
Create and animate a sphere
polySphere -r 1 -sx 20 -sy 20 -ax 0 1 0 -cuv 2 -ch 1;
setKeyframe -at ty -v 0 -t 0sec -breakdown 0 -hierarchy none -controlPoints 0 -shape 0;
setKeyframe -at ty -v 3 -t 1sec -breakdown 0 -hierarchy none -controlPoints 0 -shape 0;
setKeyframe -at ty -v 0 -t 2sec -breakdown 0 -hierarchy none -controlPoints 0 -shape 0;
setKeyframe -at ty -v 0 -t 0sec -breakdown 0 -hierarchy none -controlPoints 0 -shape 0;
setKeyframe -at ty -v 3 -t 1sec -breakdown 0 -hierarchy none -controlPoints 0 -shape 0;
setKeyframe -at ty -v 0 -t 2sec -breakdown 0 -hierarchy none -controlPoints 0 -shape 0;
Wednesday, April 13, 2011
Circles and Spheres
for ($x = 0; $x < 5; $x++)
{
int $whichShape = rand(2.0);
switch ($whichShape)
{
case 0:
polySphere;
move -r 0 ($x * 3) 0;
case 1:
circle;
move -r ($x * 3) 0 0;
}
}
{
int $whichShape = rand(2.0);
switch ($whichShape)
{
case 0:
polySphere;
move -r 0 ($x * 3) 0;
case 1:
circle;
move -r ($x * 3) 0 0;
}
}
First test script
string $input[] = `ls -sl`;
float $pos = rand(-100, 100);
float $ok = `getAttr $input.ty`;
for ( $i = 1, $j = $ok; $i < $ok; $i = $i + 1 ) {
polyCube;
move -r $pos ($i * 3) ($pos * -1);
scale -r $ok $ok $ok;
}
float $pos = rand(-100, 100);
float $ok = `getAttr $input.ty`;
for ( $i = 1, $j = $ok; $i < $ok; $i = $i + 1 ) {
polyCube;
move -r $pos ($i * 3) ($pos * -1);
scale -r $ok $ok $ok;
}
Syllabus
The Art Institute of California – San Francisco
Course Syllabus
Course Number: CA536
Course Title: Production Techniques in Computer Animation
Class Meetings: Monday 8-12 am
Session/Year: Spring 2010
Instructor Name: Greg Lemon
Email Address: glemon@edmc.edu
Phone: Please use email
Instructor Availability Outside of Class: By Appointment
Production Techniques in Computer Animation
Course Description:
Advanced computer animation applications utilize scripting languages to allow animators to automate tedious repetitive tasks. This graduate level course introduces students to scripting in an industry standard 3D application.
Course Length: 11 Weeks
Contact Hours: 44 Hours
Lecture:2 Hours per week
Lab: 2 Hours per week
Credit Values: 3 Credits
Course Competencies:
Upon successful completion of this course, students should be able to:
Understand the script editor in an industry standard 3D software package.
Understand the specific syntax of a 3D scripting language.
Create scripts to enrich artist’s production needs.
Customize scripts to serve an animation design purpose.
Identify industry-standard scripting techniques used in 3D software packages.
Course Prerequisite(s):
Text(s):
MEL Scripting for Maya Animators by Mark R. Wilkins and Chris Kazmier; ISBN: 1558608419;
The Art of Rigging, Vol 1, 2, 3 -cgtoolkit.com ISBN: 0-9768003-0-6
Materials and Supplies: Note taking material, blank CDs or CDR
Estimated Homework Hours: 4-6 hours per week.
Technology Needed: PC/NT, Maya,
Grading Scale:
All assignments must have clear criteria and objectives to meet. All students shall be treated equitably. It will be that student’s right to know his/her grade at any reasonable point that information is requested by that student. The criteria for determining a student’s grade shall be as follows (on a percentage of total points basis):
A 100-93
A- 92-90
B+ 89-87
B 86-83
B- 82-80
C+ 79-77
C 76-73
C- 72-70
D+ 69-67
D 66-65
F 64 or below
Process for Evaluation:
Attendance and Participation 10%
Assignments and Exercises 10%
Mid-Term Project/Examination 30%
Final Project/Examination 60%
Student Evaluation/Grading Policies:
Class time will be spent in a productive manner.
Grading will be done on a point system.
Points for individual activities will be announced.
All work must be received by the set deadlines.
Late work receives a grade of zero.
On-time projects may be redone with instructor approval.
ABSOLUTELY NO WORK WILL BE ACCEPTED AFTER THE FINAL CLASS MEETS WEEK 11.
Classroom Policy:
No food allowed in class or lab at any time. Drinks in recloseable bottles allowed in classroom.
Edible items brought to class or lab must be thrown out.
If student elects to eat/drink outside class or lab door, missed time is recorded as absent.
Attendance is taken hourly. Tardiness or absence is recorded in 15-minute increments.
Break times are scheduled by the instructor at appropriate intervals.
No private software is to be brought to lab or loaded onto school computers.
No software games are allowed in lab (unless in course curriculum).
Headphones are required if listening to music during lab. No headphones are allowed in lecture.
Any student who has special needs that may affect his or her performance in this class is asked to identify his/her needs to the instructor in private by the end of the first day of class. Any resulting class performance problems that may arise for those who do not identify their needs will not receive any special grading considerations.
Disability Policy Statement:
It is our policy not to discriminate against qualified students with documented disabilities in its educational programs, activities, or services. If you have a disability-related need for adjustments or other accommodations in this class, contact the Disabilities Services Coordinator at 415-276-1060.
Academic Honesty Policy:
Students are expected to maintain the highest standards of academic honesty while pursuing their studies at AiCA-SF. Academic dishonesty includes but is not limited to: plagiarism and cheating; misuse of academic resources or facilities; and misuse of computer software, data, equipment or networks.
Student work that appears to violate AiCA-SF’s standards of academic honesty will be reviewed by the Committee on Academic Honesty. If the work is judged to have violated standards of academic honesty, appropriate sanctions will be given. Sanctions include but are not limited to course failure and academic termination.
Suggested Course Outline
Week 1:
Lecture: Introductions; Class overview.
Overview of Rigging and Scripting; Creating shelf shortcuts; Executing simple MEL commands; Using the Command Reference and Maya Help Windows.
What custom scripts would the class find useful for their production needs?
What tasks can easily be automated? Don’t reinvent the wheel, accessing websites with useful scripts that have already been created.
Mel verus Expressions. Question and Answer session.
Lab: Create Spheres, name them and move them. Create a procedure that calls the createSpheres script. Create a window that executes the createSpheres script.
Homework: Think of a script that would help you in your production workflow.
Script that will create a vase.
Week2:
Using scripts to create a stretchy rig.
Lab: Learn the procedures needed to create a stretch rig. Create it using Utility nodes. Build a script that will use utility nodes to create a stretchy rig.
Homework: Finish stretchy rig script..
Week3:
Write a script that will create Hair effects.
Lab: Talk about the many uses for hair and how it might help in production..
Homework: Write a hair script that will allow joints to follow hair curve.
Week4:
Creating Cloth. Presets and constraints.
Writing Pseudocode.
Lab: Get into groups and discuss cloth and how we can use it..
Homework/Lab: Create a shirt and top made out of cloth.
Week5:
Growing tree branches and squid tendrils..
Lab: Use blend shapes, non linear deformers and nurbs curves to create growing branches of a tree.
Homework: write a script to automize this procedure.
Week 6:
Lecture: Self Directed study.
Using rigging and scripting knowledge to create rigs for your short.
Lab:Homework: Continue working on rigs for short.
Week 7:
Lecture: Self Directed study.
Using rigging and scripting knowledge to create rigs for your short.
Lab:
Homework: Continue work on on rigs for short..
Week 8:
Lecture: Self Directed study.
Using rigging and scripting knowledge to create rigs for your short..
Lab: Homework: Continue work on on rigs for short..
Week 9:
Lecture: Self Directed study.
Using rigging and scripting knowledge to create rigs for your short..
Lab:
Homework: Continue work on on rigs for short..
Week 10:
Lecture: Self Directed study.
Using rigging and scripting knowledge to create rigs for your short..
Homework: Complete final project.
Week11:
Lecture:
Show and tell of final cripts and rigs to the group.
Tutorial based class. Reviewing any aspects of Mel and Rigging
Course Syllabus
Course Number: CA536
Course Title: Production Techniques in Computer Animation
Class Meetings: Monday 8-12 am
Session/Year: Spring 2010
Instructor Name: Greg Lemon
Email Address: glemon@edmc.edu
Phone: Please use email
Instructor Availability Outside of Class: By Appointment
Production Techniques in Computer Animation
Course Description:
Advanced computer animation applications utilize scripting languages to allow animators to automate tedious repetitive tasks. This graduate level course introduces students to scripting in an industry standard 3D application.
Course Length: 11 Weeks
Contact Hours: 44 Hours
Lecture:2 Hours per week
Lab: 2 Hours per week
Credit Values: 3 Credits
Course Competencies:
Upon successful completion of this course, students should be able to:
Understand the script editor in an industry standard 3D software package.
Understand the specific syntax of a 3D scripting language.
Create scripts to enrich artist’s production needs.
Customize scripts to serve an animation design purpose.
Identify industry-standard scripting techniques used in 3D software packages.
Course Prerequisite(s):
Text(s):
MEL Scripting for Maya Animators by Mark R. Wilkins and Chris Kazmier; ISBN: 1558608419;
The Art of Rigging, Vol 1, 2, 3 -cgtoolkit.com ISBN: 0-9768003-0-6
Materials and Supplies: Note taking material, blank CDs or CDR
Estimated Homework Hours: 4-6 hours per week.
Technology Needed: PC/NT, Maya,
Grading Scale:
All assignments must have clear criteria and objectives to meet. All students shall be treated equitably. It will be that student’s right to know his/her grade at any reasonable point that information is requested by that student. The criteria for determining a student’s grade shall be as follows (on a percentage of total points basis):
A 100-93
A- 92-90
B+ 89-87
B 86-83
B- 82-80
C+ 79-77
C 76-73
C- 72-70
D+ 69-67
D 66-65
F 64 or below
Process for Evaluation:
Attendance and Participation 10%
Assignments and Exercises 10%
Mid-Term Project/Examination 30%
Final Project/Examination 60%
Student Evaluation/Grading Policies:
Class time will be spent in a productive manner.
Grading will be done on a point system.
Points for individual activities will be announced.
All work must be received by the set deadlines.
Late work receives a grade of zero.
On-time projects may be redone with instructor approval.
ABSOLUTELY NO WORK WILL BE ACCEPTED AFTER THE FINAL CLASS MEETS WEEK 11.
Classroom Policy:
No food allowed in class or lab at any time. Drinks in recloseable bottles allowed in classroom.
Edible items brought to class or lab must be thrown out.
If student elects to eat/drink outside class or lab door, missed time is recorded as absent.
Attendance is taken hourly. Tardiness or absence is recorded in 15-minute increments.
Break times are scheduled by the instructor at appropriate intervals.
No private software is to be brought to lab or loaded onto school computers.
No software games are allowed in lab (unless in course curriculum).
Headphones are required if listening to music during lab. No headphones are allowed in lecture.
Any student who has special needs that may affect his or her performance in this class is asked to identify his/her needs to the instructor in private by the end of the first day of class. Any resulting class performance problems that may arise for those who do not identify their needs will not receive any special grading considerations.
Disability Policy Statement:
It is our policy not to discriminate against qualified students with documented disabilities in its educational programs, activities, or services. If you have a disability-related need for adjustments or other accommodations in this class, contact the Disabilities Services Coordinator at 415-276-1060.
Academic Honesty Policy:
Students are expected to maintain the highest standards of academic honesty while pursuing their studies at AiCA-SF. Academic dishonesty includes but is not limited to: plagiarism and cheating; misuse of academic resources or facilities; and misuse of computer software, data, equipment or networks.
Student work that appears to violate AiCA-SF’s standards of academic honesty will be reviewed by the Committee on Academic Honesty. If the work is judged to have violated standards of academic honesty, appropriate sanctions will be given. Sanctions include but are not limited to course failure and academic termination.
Suggested Course Outline
Week 1:
Lecture: Introductions; Class overview.
Overview of Rigging and Scripting; Creating shelf shortcuts; Executing simple MEL commands; Using the Command Reference and Maya Help Windows.
What custom scripts would the class find useful for their production needs?
What tasks can easily be automated? Don’t reinvent the wheel, accessing websites with useful scripts that have already been created.
Mel verus Expressions. Question and Answer session.
Lab: Create Spheres, name them and move them. Create a procedure that calls the createSpheres script. Create a window that executes the createSpheres script.
Homework: Think of a script that would help you in your production workflow.
Script that will create a vase.
Week2:
Using scripts to create a stretchy rig.
Lab: Learn the procedures needed to create a stretch rig. Create it using Utility nodes. Build a script that will use utility nodes to create a stretchy rig.
Homework: Finish stretchy rig script..
Week3:
Write a script that will create Hair effects.
Lab: Talk about the many uses for hair and how it might help in production..
Homework: Write a hair script that will allow joints to follow hair curve.
Week4:
Creating Cloth. Presets and constraints.
Writing Pseudocode.
Lab: Get into groups and discuss cloth and how we can use it..
Homework/Lab: Create a shirt and top made out of cloth.
Week5:
Growing tree branches and squid tendrils..
Lab: Use blend shapes, non linear deformers and nurbs curves to create growing branches of a tree.
Homework: write a script to automize this procedure.
Week 6:
Lecture: Self Directed study.
Using rigging and scripting knowledge to create rigs for your short.
Lab:Homework: Continue working on rigs for short.
Week 7:
Lecture: Self Directed study.
Using rigging and scripting knowledge to create rigs for your short.
Lab:
Homework: Continue work on on rigs for short..
Week 8:
Lecture: Self Directed study.
Using rigging and scripting knowledge to create rigs for your short..
Lab: Homework: Continue work on on rigs for short..
Week 9:
Lecture: Self Directed study.
Using rigging and scripting knowledge to create rigs for your short..
Lab:
Homework: Continue work on on rigs for short..
Week 10:
Lecture: Self Directed study.
Using rigging and scripting knowledge to create rigs for your short..
Homework: Complete final project.
Week11:
Lecture:
Show and tell of final cripts and rigs to the group.
Tutorial based class. Reviewing any aspects of Mel and Rigging
Subscribe to:
Comments (Atom)