Community
Arnold for 3ds Max
Rendering with Arnold in 3ds Max using the MaxtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Skydome updates background - but not lighting

8 REPLIES 8
Reply
Message 1 of 9
jotZ9HDD
272 Views, 8 Replies

Skydome updates background - but not lighting

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 ?

Tags (1)
Labels (1)
8 REPLIES 8
Message 2 of 9
Stephen.Blair
in reply to: jotZ9HDD

No, the image.filename is resolved at translation time. There won't be any "multiplyDivide" node (or the Arnold equivalent) in the exported scene.



// Stephen Blair
// Arnold Renderer Support
Message 3 of 9
Stephen.Blair
in reply to: jotZ9HDD

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



// Stephen Blair
// Arnold Renderer Support
Message 4 of 9
jotZ9HDD
in reply to: jotZ9HDD

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?

Message 5 of 9
Stephen.Blair
in reply to: jotZ9HDD

An expression would update IPR

For an aiSwitch, you would have an aiImage for each



// Stephen Blair
// Arnold Renderer Support
Message 6 of 9
jotZ9HDD
in reply to: jotZ9HDD

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

Message 7 of 9
Stephen.Blair
in reply to: jotZ9HDD

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.



// Stephen Blair
// Arnold Renderer Support
Message 8 of 9
jotZ9HDD
in reply to: jotZ9HDD

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

Message 9 of 9
jotZ9HDD
in reply to: jotZ9HDD

4439-expression.png

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.

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

Post to forums  

Autodesk Design & Make Report