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: 

Operators and displacement?

10 REPLIES 10
Reply
Message 1 of 11
Anonymous
893 Views, 10 Replies

Operators and displacement?

I'm trying to hook up a scen with operators but can't get displacement to work.

This is the syntax I'm trying : disp_map = 'displacementShader'

have tried alot of diffrent stuff but cant get it to work 😞

Any ideas?

cheers

Tags (1)
Labels (1)
10 REPLIES 10
Message 2 of 11
Stephen.Blair
in reply to: Anonymous

You need to use the name of the shader node that is exported to Arnold (eg what you see in an ASS file).

disp_map= "displacementShader1.displacement"


// Stephen Blair
// Arnold Renderer Support
Message 3 of 11
Anonymous
in reply to: Anonymous

So fu... cool 🙂 Thanks. Im gonna do this with all my scens from now on. So much better way to work with cached files.........

Thanks Stephen.

Message 4 of 11
olivierlambertrouillard
in reply to: Anonymous

I had success using operator to assign shaders but I can't make it work for the displacement.

When I use that syntax : disp_map="displacementShader1.displacement"

I got that error: // Error: [ass] line 1: /ring/ringShape.disp_map: unresolved reference to 'displacementShader1.displacement' //

Had this error before ?

thx

Message 5 of 11

Still can't figure out what i'm doing wrong. I include this time a screen shot of the setup and a scene file.

dispoperator.zip

example.jpg

It might be related to that: unresolved reference

Any clues what it can be?

thx

Message 6 of 11
Christoph_Schaedl
in reply to: Anonymous

I hope with the next MToA update we get this Operators more featured in the Docs.
Some workflow tutorials would help here.

----------------------------------------------------------------
https://linktr.ee/cg_oglu
Message 7 of 11
olivierlambertrouillard
in reply to: Anonymous

Hi @Marcus Jungerstam I know it's been a while since that post but do you have a simple scene example for a working scene? Or anybody else?

Message 8 of 11

@olivier lr

You need to enable Export All Shading Groups (Render Settings > System tab).

Otherwise the shaders are not exported, because they are not used by any object in the scene.



// Stephen Blair
// Arnold Renderer Support
Message 9 of 11

Oh wow I though I tried that. Work perfectly thx!

The confusing part for me was that you don't need a Shading Group when you only want to assign a surface shader. Displacement need one. cheers

Message 10 of 11
Anonymous

Sure thing!

I put toghter a file I use as a preset when I set up my operators. I usally do the same thing like assigning a shader and displacement map to cached files so this works pretty good for that.

Make sure to click "export all shading groups" it wount work otherwise

This is how my scen looks like:

operators.png

download link = https://www.dropbox.com/s/c1icht2kcffhrlp/operators.mb?dl=0

Message 11 of 11
olivierlambertrouillard
in reply to: Anonymous

Yes that was the main problem. Thx for sharing!

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

Post to forums  

Autodesk Design & Make Report