question

Ciro Cardoso avatar image
Ciro Cardoso asked ·

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?

operator
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Stephen Blair avatar image
Stephen Blair answered ·

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, ...)

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Fixed the typo and changed sideness to sidedness

0 Likes 0 · ·
Ciro Cardoso avatar image
Ciro Cardoso answered ·

I tried that but isn't working.


doubleside.jpg (170.0 KiB)
4 comments Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

why are there forward slashes in the selection expression?

0 Likes 0 · ·
Ciro Cardoso avatar image Ciro Cardoso Stephen Blair ♦♦ ·

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.


0 Likes 0 · ·

@

Oops, typo...

sidedness

not

sideness

1 Like 1 · ·
Show more comments
Ciro Cardoso avatar image
Ciro Cardoso answered ·

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

1 comment Share
10 |600 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

@ 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

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 2.0 MiB each and 9.8 MiB total.

Welcome to the Arnold Answers community.

This is the place for Arnold renderer users everywhere to ask and answer rendering questions, and share knowledge about using Arnold, Arnold plugins, workflows and developing tools with Arnold.

If you are a new user to Arnold Answers, please first check out our FAQ and User Guide for more information.

When posting questions, please be sure to select the appropriate Space for your Arnold plugin and include the plugin version you are using.

Please include images, scene and log files whenever possible as this helps the community answer your questions.

Instructions for generating full verbosity log files are available for MtoA, MaxtoA, C4DtoA, HtoA, KtoA, and Kick.

If you are looking for Arnold Documentation and Support please visit the Arnold Support site.

To try Arnold please visit the Arnold Trial page.

Bottom No panel present for this section.