Announcement

Collapse
No announcement yet.

Script: Calling Imapviewer from within MAX UI

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Script: Calling Imapviewer from within MAX UI

    Hi all,
    just got sick of that whole lot of mousework when you just want to have a look at your saved/autosaved irradiance map and wrote those two little macros. They're really simple, all you have to do is to edit the path to imapviewer.exe to fit it to your needs.
    enjoy,
    Michael

    Code:
    macroScript ShowSavedIrradianceMap
    	category:"sushidelictools"
    	toolTip:"display saved irradiancemap in imapviewer"
    (
    	if renderers.production.adv_irradmap_autoSaveFileName == undefined then
    		(
    		messagebox "No saved Imap present"
    		)
    	else
    		(
    		shelllaunch "c:\\3dsmax8\\imapviewer.exe" renderers.production.adv_irradmap_loadFileName
    		)
    
    	
    )
    Code:
    macroScript ShowAutosaveIrradianceMap
    	category:"sushidelictools"
    	toolTip:"display autosave irradiancemap in imapviewer"
    (
    	if renderers.production.adv_irradmap_autoSaveFileName == undefined then
    		(
    		messagebox "No autosaved Map present"
    		)
    	else
    		(
    		shelllaunch "c:\\3dsmax8\\imapviewer.exe" renderers.production.adv_irradmap_autoSaveFileName
    		)
    )
    This signature is only a temporary solution

  • #2
    nice one, thanks a lot

    Lele

    Comment

    Working...
    X