Community
Arnold General Rendering Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

visibility override on procedurals

2 REPLIES 2
Reply
Message 1 of 3
Shawn_Kearney1
212 Views, 2 Replies

visibility override on procedurals

I'm having some trouble understanding how to override specific shapes' visibility. I took a look at the ass file and noticed that the "visibility" parameter changed to something like 244 (or 144) from 255. But when I tried setting the visibility parameter in the procedural override there was no effect.

I tested the selection with matte=on, so I have the correct node selected. But I cannot get the visibility to work right.

2 REPLIES 2
Message 2 of 3

Depends what you want to do.

visiblity is a bitmask.

In decimal:

  • AI_RAY_CAMERA = 1
  • AI_RAY_SHADOW = 2
  • AI_RAY_DIFFUSE_TRANSMIT = 4
  • AI_RAY_SPECULAR_TRANSMIT = 8
  • AI_RAY_VOLUME = 16
  • AI_RAY_DIFFUSE_REFLECT = 32
  • AI_RAY_SPECULAR_REFLECT = 64
  • AI_RAY_SUBSURFACE = 128

So visiblity = 13 gives you camera and transmission (1 + 4 + 8 = 13 )



// Stephen Blair
// Arnold Renderer Support
Message 3 of 3
schwungsau
in reply to: Shawn_Kearney1

is this somewhere in the Doc's? if yes, it's impossible to find ...

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

Post to forums  

Autodesk Design & Make Report