Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Customized default settings - MtoA

6 REPLIES 6
SOLVED
Reply
Message 1 of 7
T0M0X
529 Views, 6 Replies

Customized default settings - MtoA

Can someone tell me which file needs to be edited (or created) to customize default render settings ?

I would like to change values for Ray Depth, Filter Width, Verbosity level, Thread count, Sampling ...

Some guide/tutorial would be much appreciated. Thanks.

6 REPLIES 6
Message 2 of 7
Stephen.Blair
in reply to: T0M0X

Message 3 of 7
lee_griggs
in reply to: T0M0X

Presets may also work.

1469-render-preset.jpg

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 4 of 7
mspeer
in reply to: T0M0X

@Stephen Blair

My UserSetup.py does not work anymore after Maya 2018.3 update.

Example:

import mtoa.hooks

# default settings, Arnold for Maya

def setupOptions(options):
    options.AASamples.set(1)
mtoa.hooks.setupOptions = setupOptions

# Error: AttributeError: file ...scripts\userSetup.py line 6: 'unicode' object has no attribute 'AASamples'

Message 5 of 7
mspeer
in reply to: T0M0X

Partial answer found:

"Following the PyMel removal, any overrides in hooks.py will now expect node names, and not PyNode as hey did before."

Just need the correct node names now.

Message 6 of 7
Stephen.Blair
in reply to: T0M0X

You probably have to do something like I showed here: https://answers.arnoldrenderer.com/questions/4837/createstandin-doesnt-work-in-mtoa-300x.html

I haven't had time to do it myself yet, but I would start by trying something like this:

cmds.setAttr('{}.AASamples'.format(options), path, type="string")


// Stephen Blair
// Arnold Renderer Support
Message 7 of 7
mspeer
in reply to: T0M0X

options.AASamples.set(1)

becomes:

cmds.setAttr('defaultArnoldRenderOptions.AASamples'.format(options), 1)

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report