a little macro that pops up a dialog to load a saved irr map into memory (thanks for the maxscript command vlado )
------------------------------
macroscript LoadIrradianceMap
category:"VRay"
(
rollout Irradiancemaploader "please pick irradiancemap"
(
button b1 "pick *.vrmap file"
on b1 pressed do
(
fsin = getopenfilename()
renderers.current.loadirradiancemap fsin
destroydialog Irradiancemaploader
)
)
createdialog Irradiancemaploader
)
------------------------------
maybe it's of some use for anyone out there.
------------------------------
macroscript LoadIrradianceMap
category:"VRay"
(
rollout Irradiancemaploader "please pick irradiancemap"
(
button b1 "pick *.vrmap file"
on b1 pressed do
(
fsin = getopenfilename()
renderers.current.loadirradiancemap fsin
destroydialog Irradiancemaploader
)
)
createdialog Irradiancemaploader
)
------------------------------
maybe it's of some use for anyone out there.
Comment