--	Script to produce all six textures for cube map
loadMaxFile "EnvApp.max"
outname="test"
render camera:$camUp outputfile:(outname+"up.tga")
render camera:$camDown outputfile:(outname+"dn.tga")
render camera:$camLeft outputfile:(outname+"lf.tga")
render camera:$camRight outputfile:(outname+"rt.tga")
render camera:$camFront outputfile:(outname+"ft.tga")
render camera:$camBack outputfile:(outname+"bk.tga")
quitMax #noPrompt
