Basically, you export each thing you want per-light inside the Illum loop, then in the Mantra ROP, you specify the same VEX export variable multiple times, but point to a different light for each variable.
I added a couple of very simple custom expressions to make life easier when setting up the ROP that extract the light and the variable for you from the Deep Raster entry (uses $CH in the custom expression which returns the name of the channel it's being used in).
The ROP is something that you'd ultimately write a simple RMB script for, that would automagically scan for all export variables and all lights and fill the ROP in for you.
Also, sadly VOPs still is not complete, there are quite a few VEX functions that do not have VOPs
Cheers,
Peter B
PerlightIllumLoop_v0001.hip.gz (33.99K)
Number of downloads: 311

Sign In
Register
Help




MultiQuote

