Community
Arnold for Maya Forum
Rendering with Arnold in Maya using the MtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disable Double-Sided globally

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
CiroCardoso3v
500 Views, 9 Replies

Disable Double-Sided globally

Is it possible to disable double-sided globally instead of adding the Arnold Properties Modifier? Or there is a way to do that with Operators?

Lead Enviroment Artist @Axis Studios

Arnold Discord Server


Ciro Cardoso

EESignature

Tags (1)
Labels (1)
9 REPLIES 9
Message 2 of 10

You can do it with operators.

Selection:

*.(@node=='polymesh')

Parameter assignment:

sidedness=0


0 makes it single-sided for all ray types (camera, diffuse reflection, transmission, ...)



// Stephen Blair
// Arnold Renderer Support
Message 3 of 10

Thank you so much. I was trying this using double_sided = 0. Are those Parameter assignments available as a list?

Lead Enviroment Artist @Axis Studios

Arnold Discord Server


Ciro Cardoso

EESignature

Message 4 of 10

@ Unfortunately not in the 3ds Max user interface

The values are like this:

  • camera 1
  • shadow 2
  • diffuse transmit 4
  • specular transmit 8
  • volume 16
  • diffuse reflect 32
  • specular reflect 64


So if you want an object to be double-sided for camera and shadow rays and diffuse reflection, you would put sideness=35

1 + 2 + 32 = 35



// Stephen Blair
// Arnold Renderer Support
Message 5 of 10

I tried that but isn't working.6043-doubleside.jpg

Lead Enviroment Artist @Axis Studios

Arnold Discord Server


Ciro Cardoso

EESignature

Message 6 of 10

why are there forward slashes in the selection expression?



// Stephen Blair
// Arnold Renderer Support
Message 7 of 10

Yes, it was a mistake, but then I tried the following

*.(@node=='polymesh')

/*.(@node == 'polymesh' or @node == 'ginstance')

/Box*


Still nothing changes. And then replace the sideness = 0 with shader ="/Gray" and it works. So the selection work, is just the bit about the sideness that isn't working.


Lead Enviroment Artist @Axis Studios

Arnold Discord Server


Ciro Cardoso

EESignature

Message 8 of 10

@

Oops, typo...

sidedness

not

sideness



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

Fixed the typo and changed sideness to sidedness



// Stephen Blair
// Arnold Renderer Support
Message 10 of 10

Thanks. You are a star

Lead Enviroment Artist @Axis Studios

Arnold Discord Server


Ciro Cardoso

EESignature

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

Post to forums  

Autodesk Design & Make Report