Arnold equivalent to Corona multimap

Arnold equivalent to Corona multimap

nano_langenheim
Advocate Advocate
878 Views
3 Replies
Message 1 of 4

Arnold equivalent to Corona multimap

nano_langenheim
Advocate
Advocate

HI @Mads Drøschler , is there an equivalent to the Corona multimap in Arnold, that is supported by Arnold GPU rendering in 3ds Max?

N-particle
0 Likes
879 Views
3 Replies
Replies (3)
Message 2 of 4

ACCCC
Advocate
Advocate

Try OSL -> Switchers -> 1 of N

Depending on what you're trying to achieve you could drive the index with other scene attribute data, or uvw data etc.

OSL -> UVW Coordinates -> f.e. UVW Channel

or

OSL -> Scene Attributes -> f.e. Material ID or Object ID


Let's say you want a variation of leafs in different colors, connect your maps to the inputs of a 1 of N (color) map and drive the index f.e. via material or object id

0 Likes
Message 3 of 4

lee_griggs
Autodesk
Autodesk
0 Likes
Message 4 of 4

madsd
Advisor
Advisor

For the more exotic Element ID, which returns independant IDs inside a larger mesh, a grass clump, or a tree with leafs, use DCM to generate the ID and fetch it with a uv map.

0 Likes