Introduction to Maya - Modeling Fundamentals Vol 1
This course will look at the fundamentals of modeling in Maya with an emphasis on creating good topology. We'll look at what makes a good model in Maya and why objects are modeled in the way they are.
# 1 16-06-2014 , 08:37 AM
Luc.Adriaens's Avatar
Lifetime Member
Join Date: Jan 2011
Posts: 19

Command line rendering: disabling shadows

Hi there!

I'm using 'command line rendering' to render my scenes in the Terminal (OSX):

I use the basic command so the scene will use the settings from the file itself:
Render -r mr ~/maya/SCENE_NAME_X.ma

What I would like to do, is to add some code to disable the rendering of shadows.
But I cannot find such info on how to do this...
(List of command line code: https://cghelpline.com/article/render...ine-render/390)

What is this piece of code and how/where do I add this?

Thanks for helping me out here!
Luc

# 2 16-06-2014 , 02:34 PM
EduSciVis-er
Join Date: Dec 2005
Location: Toronto
Posts: 3,374
I think that would be something you would want to change in the file itself before you send it to render. If you want to render the same scene out with shadows and without, or do something like that, you could try adding a render layer.

# 3 17-06-2014 , 05:58 AM
Luc.Adriaens's Avatar
Lifetime Member
Join Date: Jan 2011
Posts: 19
Working with an extra layer and disabling the shadows for that layer works! Pretty cool. Didn't know that you could do that! Thx, mate.

Still, to get smarter, any feedback on how to add that extra code to the command line would be appreciated!
Luc

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