Hello.
Settings up a lookdev environment with a custom UI - Im using a couple of different HDRI's.
The HDRI's is loaded as an image seqeunce via the aiimage node - and then plugged into the skydome.
Im using a multiply divide node to swich between the frames instead of using the timeline.
When i swap the HDRI with the IPR running the HDRI change in the background - however the lighting doesnt update untill i do a full scene update in the arnold renderview.
Is there a way around this ?
No, the image.filename is resolved at translation time. There won't be any "multiplyDivide" node (or the Arnold equivalent) in the exported scene.
You can't use a shader to drive the frame of an aiImage. Typically you would use the <attr> token, but I don't know that that works with a skydome.
How many images in the sequence? 10? 100? 1000?
An aiSwitch plugged into the skydome color will update IPR
Ahh that sucks.. Was able to do it that way in redshift - I have around 35 4k hdri images.
Was hoping I didn't have to load all of them into the scene at the beginning - but only load the needed one when clicked on in my ui - which was linked the to multipltdivide.
With the switch I need an aiimage for each right?
An expression would update IPR
For an aiSwitch, you would have an aiImage for each
and how would i set it up with an expression ? I have my own custom UI atm that loaded the HDRI via mel (setAttr - on my multiplydivide)
Is there a way for me to setup multiple skydomes and change them - without loading up the scene with 2 aiswitch and 35 big images.
Its for a little skydome script that runs a UI with a preset of 35 HDRI's to swap between - so i really only want the one selected hdri in the scene - and not all 35.
It was originally made for redshift where it works just fine with the 1 file node - so i was hoping for something similar
I don't know what you do with the multiply divide, so I don't know what to do with an expression. But probably the ui could set a value in the scene, and that value would be used in the expression.
Images are loaded only if used in the render.
I used the multiplydivide just to get a float value i could easily change via mel (My ui button uses a simple mel script to change the value). I plugged the translatex from multiplydivide into the frame on the aiimage.
Im just not sure how to drive a value through an expression
Here i tried making a interger atribute on a null and putting it through an expression and then into the aiimage node - It works the same as before - background updates - lighting doesnt.