Walkthrough with Saved IR Map : calculated at rendertime anyway ?

Hi,
I’m still not very familiar with animation with vray and have a question.
I’m currently working on a walkthrough. I am rendering the lightwache then the irradiance map files just as explained in the tutorial.
Then when I launch the final render, vray calculates a “prepass 1 of 1” for each and every frame before rendering it. Why is it doing that while I’m stating to use the Irr map from file ? Is it normal ?

any interpolated material in the scene?

You mean with “use interpolation” option checked ?
I’ll check but I never use that usually

I don’t seem to have any materials with interpolation ON.
Are there any other parameters that could force the IR Map to re-render ? For eg. I have a bunch of VrayLight materials in the scene.

There is a script from Sevens Heaven that will turn them all off automatically. (interpolated’s) just in case you missed one…
If you have the Imap setup to “use File” no prepass should be happening…

I looked on sevenheaven.nl and scriptspot but couldn’t find that script

Check this thread:
http://www.chaosgroup.com/forums/vbulletin/showthread.php?t=36135&highlight=interpolated+material+script

To confirm that the problem is related to a material you can try to render with override material as well.

Cheers

other then that it would be easier to post some settings otherwise its a bit of blind guess to try to figure it out;)

Ok tried that script but didn’t work.
Apart from a lot of cars scattered everywhere all of the scene elements were created by me and I’m sure they don’t use any interpolation.
So i simply turned off the layer containing the cars… and indeed it worked !
So now the question is why was the script inefficient on these cars materials ? Is it because they are vrayproxies ?

Maybe the script does not traverse multi-subobject mats? Or blends or something?

You can try this other script too:

m = getclassinstances VRayMtl
for i in m do i.reflection_useInterpolation = false
```If still fails with the cars check the error that appears on the Maxscript listener.

are you turning off for all for both reflections and refractions?
if it’s just a few cars you could go in manually i guess…the script works for us almost all the time, but multi-subs can defeat some scripts for sure…