Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 21-06-2004 , 06:41 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695

remainder

I once did a mel function that basically looked for the remainder after dividing one number by another.

Example:

if ( $X remainder 5 == 0)
{ blah blah blah}

This says that if x/5 has a raimder of 0, then execute blah blah blah.

The problem is, I cannot remember what to put in place of where I've written the word remainder, and I cannot find it in the docs again. Anyone recall this command?

Thanks,
-dann

# 2 22-06-2004 , 10:32 AM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
put a percentage "%" sign. It's a modulus function.

Alan


Technical Director - Framestore

Currently working on: Your Highness

IMDB
# 3 22-06-2004 , 04:11 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
That's the one I'm looking for.

Thanks!

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off