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

Arnold can use Anisotropy vector map for rotation?

1 REPLY 1
Reply
Message 1 of 2
darioOrtisi
529 Views, 1 Reply

Arnold can use Anisotropy vector map for rotation?

As the title. I have some texture where ither is a angle anisotropy map in rgb scale. Arnold take this into the account? And how i can connect to use it?

Thanks

Tags (1)
Labels (1)
1 REPLY 1
Message 2 of 2
timh5D75Z
in reply to: darioOrtisi

Arnold has an anisotropy slot in the standard shader that takes a float between 0 and 1 for rotation, so you would need to convert the vector representation to a scalar. I assume this is an 8 bit map, with red being x and green being y, negative values in 0-127 and positive values in 128-255. Subtract 0.5 from each channel using aiSubtract. Plug red into the X input of an aiAtan node, green into the Y input. Choose to output in degrees and divide the result by 360 before plugging into the anisotropic rotation of the shader. If the texture is also meant to yield anisotropic magnitude, you can use the aiLength node on the output of aiSubtract.

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

Post to forums  

Autodesk Design & Make Report