Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 1 13-06-2005 , 05:59 PM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695

A dumbed down version

OK, for some reason, I can't seem to post another reply to my thread right now, so I had to start a new one. Poor etiquette I know. Sorry.

Why doesn't this work? If the variable is global, why does Maya say it's undefined?

global proc localGlobal ()
{
global string $thisIsAGlobalVariable = "It's global.";
}
global proc printIt ()
{
print $thisIsAGlobalVariable ;
}

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

Similar Threads