SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Animation / Mel Scripts & Programming / mel script for breathing?
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 08-10-2003, 04:58 PM   #1
skyzeyez
Registered User
 
Join Date: Sep 2002
Location: Philadelphia
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default mel script for breathing?

hello all!
Do we have a script or expression to automate the breathing action of a chest cavity over time? I am certain that the problem has been handled and I may fumble through it myself but I thought I may have success with my friends at Simply. All the best, and thank you.
skyzeyez is offline   Reply With Quote
Old 13-10-2003, 11:50 PM   #2
mark_wilkins
Registered User
 
mark_wilkins's Avatar
 
Join Date: Jan 2003
Posts: 161
Thanks: 0
Thanked 1 Time in 1 Post
Default

Why not set up a cluster and animate its scale appropriately? Then, you can either use a simple expression to drive the appropriate scale attributes or you can hand-keyframe.

-- Mark
__________________
Mark R. Wilkins
author of MEL Scripting for Maya Animators
www.melscripting.com
mark_wilkins is offline   Reply With Quote
Old 14-10-2003, 09:30 PM   #3
skyzeyez
Registered User
 
Join Date: Sep 2002
Location: Philadelphia
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you Mark. By the way, I worked through your book and compared it to the others. I found that while all were well written, I gained an understanding of scripting by cross referencing. I'll continue to do so as no book seems comprehensive.
skyzeyez is offline   Reply With Quote
Old 17-10-2003, 06:22 PM   #4
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

you could also create two blend shapes and just use an expression to control the "mix" between them over time

Alan
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote
Old 23-10-2003, 03:17 AM   #5
mark_wilkins
Registered User
 
mark_wilkins's Avatar
 
Join Date: Jan 2003
Posts: 161
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally posted by skyzeyez
Thank you Mark.
A truly comprehensive book on MEL would be thousands of pages and require several authors to write.

Each of us who have written on the topic (David, David, and I) took different approaches to decide what to focus on, and the result is complementary books.

However, I'm sure you'll agree that their niches are clear: MEL Scripting for Maya Animators is an introduction to MEL that's oriented toward Maya-familiar users who are new to programming. The MEL Companion is a more advanced book that includes a lot of interesting applications that cover a range of material we didn't. Complete Maya Programming is aimed at more experienced programmers and people who wish to develop plug-ins.

If you have any specific feedback given the audience and intended focus of MEL Scripting for Maya Animators, please consider dropping by the new forums on the book's site at

http://forums.melscripting.com/

-- Mark
__________________
Mark R. Wilkins
author of MEL Scripting for Maya Animators
www.melscripting.com
mark_wilkins is offline   Reply With Quote
Old 04-11-2003, 09:03 PM   #6
jschleifer
Registered User
 
Join Date: Aug 2002
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you've probably got this solved by now, but I'd higly recommend against making an automated expression for breathing unless you want your character to look mechanical.

Breathing is a big part of bringing something to life.. you can use it very smartly to help define what a character is thinking.. how they're reacting to something.. etc. Imagine the difference between the following:
1) The character's face is passive but they're taking long deep breaths
2) The character's face is passive but they're holding their breath
3) The character's face is passive but they're taking short shallow breaths

all three represent something completely different.. the first, the character is at rest.. relaxed. The second, they're scared.. possibly, or maybe a bit startles. The third, they're definitely scared or excited about something.

Just a quick tip.
__________________
jason schleifer
ah-ni-may-tor
weta digital
jschleifer is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MEL headache! happymat27 Members Lounge 5 05-12-2010 08:43 AM
MEL headache!! happymat27 Mel Scripts & Programming 1 03-12-2010 03:41 PM

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.