I'm trying to rebuild Photon Map and Final Gather Map from maxscript but without any luck. Both give "Unknown property".
Any idea how to solve this? How can you get the same result in maxscript as pressing the "Generate Final Gather Map File Now" button (regenerate map but don't render)?
Thank you very much!
mentalRR = mental_ray_renderer ()
if classof renderers.current==mental_ray_renderer then
mentalRR.FinalGatherEnable2 = true
mentalRR.UseFinalGatherFile = true
mentalRR.FinalGatherFilename = @"F:\work\test.fgm"
mentalRR.FinalGatherRebuild = true
>> MAXScript FileIn Exception: -- Unknown property: "FinalGatherRebuild" in mental_ray_renderer:mental_ray_renderer <<