Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Making a Procedural Christmas Light Generator in Maya MEL Part 1

Loading...

Sign in or sign up now!
2,683
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Jun 1, 2009

Here's Part 1 of a multi-part MEL scripting tutorial that will go through the creation of a procedural christmas light generator from start to finish.

This part shows you the absolute basics of MEL, specifically walking you through creating a circle using MEL script and assigning variables to control the circle's radius.

The next part will walk you through using the created circles as a basis for extruding the Christmas light cord.

The final MEL script for this part is:
float $circle_radius = 4.2;
string $tube1[] = `circle -ch off -o on -nr 0 1 0 -r $circle_radius;
move -r ($circle_radius * .66) 0 0 ;
string $tube2[] = `circle -ch off -o on -nr 0 1 0 -r $circle_radius;
move -r ($circle_radius * -.66) 0 0 ;

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • ace in the face! good job keep it up :)

  • AWSOME...thanks man...5*

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more