Maya 2020 fundamentals - modelling the real world
Get halfway through a model and find it's an unworkable mess? Can't add edge loops where you need them? Can't subdivide a mesh properly? If any of this sounds familiar check this course out.
# 1 29-07-2016 , 06:04 AM
Registered User
Join Date: Jul 2016
Posts: 1

Maya Vray Mel Script to edit ir and lc path

Hi all, as i'm new to mel script i need help on coding,m working on prerender mel script where i need to give a hard coded path for maya vray irradiancemap and light cache from file path..code below..

setAttr "vraySettings.giOn" 0;
setAttr "vraySettings.giOn" 1;
setAttr "vraySettings.primaryEngine" 0;
setAttr "vraySettings.secondaryEngine" 3;

setAttr "vraySettings.imap_mode" 2;
setAttr "vraySettings.mode" 2;

setAttr "vraySettings.relements_enableall" 1;

setAttr "vraySettings.relements_separateRGBA" 1;

vray("loadFromFileEnd");


Last edited by Sixsteps; 29-07-2016 at 06:36 AM.
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