// Original HDRI Setup - 2003(C) Dmitry "Troydm" Geurkov // Modified Version - Brock Stearn proc createHDRIsphere(int $sphr,float $rad){ polySphere -n HDRIsphere -r 1 -sx 20 -sy 20 -ax 0 1 0 -tx 1 -ch 1; scale -r $rad $rad $rad ; setAttr "HDRIsphereShape.visibleInReflections" 0; setAttr "HDRIsphereShape.visibleInRefractions" 0; setAttr "HDRIsphereShape.primaryVisibility" 0; setAttr "HDRIsphereShape.receiveShadows" 0; setAttr "HDRIsphereShape.castsShadows" 0; if($sphr==0){ select -r HDRIsphere.f[0:179] HDRIsphere.f[360:379] ; delete; select -r HDRIsphere.map[0:20] ; polyEditUV -u 0 -v -0.5 ; select -r HDRIsphere.map[21:41] ; polyEditUV -u 0 -v -0.45 ; select -r HDRIsphere.map[42:62] ; polyEditUV -u 0 -v -0.4 ; select -r HDRIsphere.map[63:83] ; polyEditUV -u 0 -v -0.35 ; select -r HDRIsphere.map[84:104] ; polyEditUV -u 0 -v -0.3 ; select -r HDRIsphere.map[105:125] ; polyEditUV -u 0 -v -0.25 ; select -r HDRIsphere.map[126:146] ; polyEditUV -u 0 -v -0.2 ; select -r HDRIsphere.map[147:167] ; polyEditUV -u 0 -v -0.15 ; select -r HDRIsphere.map[168:188] ; polyEditUV -u 0 -v -0.1 ; select -r HDRIsphere.map[189:209] ; polyEditUV -u 0 -v -0.05 ; } return; } proc shading(){ shadingNode -n HDRI -asShader lambert ; sets -renderable true -noSurfaceShader true -empty -name HDRISG; connectAttr -f HDRI.outColor HDRISG.surfaceShader; shadingNode -n HDRIfile -asTexture file; shadingNode -n HDRIGammaCorrect -asUtility gammaCorrect; shadingNode -n HDRIplacement -asUtility place2dTexture; connectAttr -f HDRIplacement.outUV HDRIfile.uvCoord; connectAttr -f HDRIplacement.outUvFilterSize HDRIfile.uvFilterSize; connectAttr -f HDRIplacement.coverage HDRIfile.coverage; connectAttr -f HDRIplacement.translateFrame HDRIfile.translateFrame; connectAttr -f HDRIplacement.rotateFrame HDRIfile.rotateFrame; connectAttr -f HDRIplacement.mirrorU HDRIfile.mirrorU; connectAttr -f HDRIplacement.mirrorV HDRIfile.mirrorV; connectAttr -f HDRIplacement.stagger HDRIfile.stagger; connectAttr -f HDRIplacement.wrapU HDRIfile.wrapU; connectAttr -f HDRIplacement.wrapV HDRIfile.wrapV; connectAttr -f HDRIplacement.repeatUV HDRIfile.repeatUV; connectAttr -f HDRIplacement.vertexUvOne HDRIfile.vertexUvOne; connectAttr -f HDRIplacement.vertexUvTwo HDRIfile.vertexUvTwo; connectAttr -f HDRIplacement.vertexUvThree HDRIfile.vertexUvThree; connectAttr -f HDRIplacement.vertexCameraOne HDRIfile.vertexCameraOne; connectAttr -f HDRIplacement.noiseUV HDRIfile.noiseUV; connectAttr -f HDRIplacement.offset HDRIfile.offset; connectAttr -f HDRIplacement.rotateUV HDRIfile.rotateUV; shadingNode -n HDRinc -asTexture layeredTexture; shadingNode -n HDRdec -asTexture layeredTexture; shadingNode -n HDRexpinc -asUtility blendColors; shadingNode -n HDRexpdec -asUtility blendColors; shadingNode -n HDRlum -asUtility luminance; shadingNode -n hdrlumrev -asUtility reverse; shadingNode -n HDRexp -asTexture ramp; removeMultiInstance -break true HDRexp.colorEntryList[2]; removeMultiInstance -break true HDRexp.colorEntryList[1]; // Connect File to GammaCorrect connectAttr -force HDRIfile.outColor HDRIGammaCorrect.value; //connectAttr -force HDRIfile.outColor HDRexp.colorEntryList[0].color; // Reassign with GammaCorrect connectAttr -force HDRIGammaCorrect.outValue HDRexp.colorEntryList[0].color; connectAttr -f HDRIplacement.outUV HDRexp.uvCoord; connectAttr -f HDRIplacement.outUvFilterSize HDRexp.uvFilterSize; //connectAttr -force HDRIfile.outColor HDRlum.value; // Reassign with GammaCorrect connectAttr -force HDRIGammaCorrect.outValue HDRlum.value; connectAttr -f HDRlum.outValue hdrlumrev.inputX; connectAttr -f HDRlum.outValue hdrlumrev.inputY; connectAttr -f HDRlum.outValue hdrlumrev.inputZ; connectAttr -f HDRlum.outValue HDRdec.inputs[0].colorR; connectAttr -f HDRlum.outValue HDRdec.inputs[0].colorG; connectAttr -f HDRlum.outValue HDRdec.inputs[0].colorB; connectAttr -force hdrlumrev.output HDRdec.inputs[1].color; connectAttr -force HDRdec.outColor HDRexpdec.color1; connectAttr -force hdrlumrev.output HDRinc.inputs[0].color; connectAttr -f HDRlum.outValue HDRinc.inputs[1].colorR; connectAttr -f HDRlum.outValue HDRinc.inputs[1].colorG; connectAttr -f HDRlum.outValue HDRinc.inputs[1].colorB; connectAttr -force HDRinc.outColor HDRexpinc.color1; setAttr "HDRexpinc.color2" -type double3 0 0 0 ; setAttr "HDRexpinc.blender" 0; connectAttr -force HDRexpinc.output HDRexp.colorOffset; setAttr "HDRexpdec.color2" -type double3 1 1 1 ; setAttr "HDRexpdec.blender" 0; connectAttr -force HDRexpdec.output HDRexp.colorGain; connectAttr -force HDRexp.outColor HDRI.color; connectAttr -force HDRexp.outColor HDRI.incandescence; return; } proc nolights(){ defaultPointLight(1, 1,1,1, 0, 0, 0,0,0, 1); rename "nolights"; setAttr "nolightsShape.intensity" 0; return; } proc grouping(){ select -r HDRIsphere nolights ; group; xform -os -piv 0 0 0; rename "HDRIsetup"; return; } proc addingattrs(){ select -r HDRIsphere ; sets -e -forceElement HDRISG; select -r HDRIsetup; setAttr "HDRIfile.preFilter" 1; setAttr "HDRIfile.preFilterRadius" 1; setAttr "HDRIfile.filterType" 5; addAttr -ln Radius -at double -min 0 -max 120 -dv `getAttr HDRIsphere.scaleX` |HDRIsetup; connectAttr -f HDRIsetup.Radius HDRIsphere.scaleX; connectAttr -f HDRIsetup.Radius HDRIsphere.scaleY; connectAttr -f HDRIsetup.Radius HDRIsphere.scaleZ; return; } proc hdrifile(){ $path=`textFieldButtonGrp -q -tx imagefilename`+""; if(`filetest -f $path` == 1){ AEassignTextureCB HDRIfile.fileTextureName $path "image"; print ("The file \""+$path+"\" was set"); return; }else{ print ("The file \""+$path+"\" is missing"); return; } } proc initmrsetup(){ // Setup Mental Ray with Final Gathering autoUpdateAttrEd; updateMentalRayResolution; copyAttrForResolutionGate("mentalRay"); statusLineUpdateInputField; updateMentalRayFrameRenumberControls; control -edit -enable false renumberStartNumberCtrl; control -edit -enable false renumberByFrameCtrl; updateMentalRayTargetFilePreview; updateMentalRayResolution; copyAttrForResolutionGate("mentalRay"); updateMentalRayTargetFilePreview; statusLineUpdateInputField; miRenderQualityMenuChanged; miUpdateGlobalIllumGeneratingMenu; miUpdateCausticsGeneratingMenu; mentalRayOptionsCheckDiagGrid; control -edit -enable false miDiagnoseGridSizeCtrl; mentalRayOptionsCheckFinalGather; control -edit -enable true miFinalGatherCtrl; control -edit -enable false miFinalGatherFastCtrl; control -edit -enable false miFinalGatherRaysCtrl; control -edit -enable false miFinalGatherMinRadiusCtrl; control -edit -enable false miFinalGatherMaxRadiusCtrl; control -edit -enable false miFinalGatherFilenameCtrl; control -edit -enable false miFinalGatherRebuildCtrl; control -edit -enable false miDiagnosePhotonMenu; miUpdateDiagnosePhotonMenu; miUpdateRenderQualityMenu; control -edit -enable false miDiagnosePhotonDensityCtrl; miUpdateCausticFilterTypeMenu; mentalRayOptionsCheckCaustics; control -edit -enable true miCausticsCtrl; control -edit -enable false miCausticFilterKernelCtrl; control -edit -enable false miCausticAccuracyCtrl; control -edit -enable false miCausticRadiusCtrl; control -edit -enable false miPhotonVolumeAccuracyCtrl; control -edit -enable false miPhotonVolumeRadiusCtrl; control -edit -enable false miMaxReflectionPhotonsCtrl; control -edit -enable false miMaxRefractionPhotonsCtrl; control -edit -enable false miMaxPhotonDepthCtrl; control -edit -enable false miPhotonMapFilenameCtrl; control -edit -enable false miPhotonMapRebuildCtrl; control -edit -enable false miDiagnosePhotonMenu; mentalRayOptionsCheckGlobalIllum; control -edit -enable true miGlobalIllumCtrl; control -edit -enable false miGlobalIllumAccuracyCtrl; control -edit -enable false miGlobalIllumRadiusCtrl; control -edit -enable false miPhotonVolumeAccuracyCtrl; control -edit -enable false miPhotonVolumeRadiusCtrl; control -edit -enable false miMaxReflectionPhotonsCtrl; control -edit -enable false miMaxRefractionPhotonsCtrl; control -edit -enable false miMaxPhotonDepthCtrl; control -edit -enable false miPhotonMapFilenameCtrl; control -edit -enable false miPhotonMapRebuildCtrl; control -edit -enable false miDiagnosePhotonMenu; mentalRayOptionsCheckShadows; control -edit -enable true rebuildShadowMapsCtrl; control -edit -enable false motionBlurShadowMapsCtrl; miUpdateGlobalIllumReceivingMenu; miUpdateCausticsReceivingMenu; control -edit -enable false miDiagnosePhotonDensityCtrl; mentalRayOptionsCheckRayTracing; miUpdateRenderQualityMenu; control -edit -enable true maxReflectionRaysCtrl; control -edit -enable true maxRefractionRaysCtrl; control -edit -enable true maxRayDepthCtrl; control -edit -enable true rebuildShadowMapsCtrl; control -edit -enable false motionBlurShadowMapsCtrl; control -edit -enable true miCausticsCtrl; control -edit -enable false miCausticFilterKernelCtrl; control -edit -enable false miCausticAccuracyCtrl; control -edit -enable false miCausticRadiusCtrl; control -edit -enable false miPhotonVolumeAccuracyCtrl; control -edit -enable false miPhotonVolumeRadiusCtrl; control -edit -enable false miMaxReflectionPhotonsCtrl; control -edit -enable false miMaxRefractionPhotonsCtrl; control -edit -enable false miMaxPhotonDepthCtrl; control -edit -enable false miPhotonMapFilenameCtrl; control -edit -enable false miPhotonMapRebuildCtrl; control -edit -enable false miDiagnosePhotonMenu; control -edit -enable true miGlobalIllumCtrl; control -edit -enable false miGlobalIllumAccuracyCtrl; control -edit -enable false miGlobalIllumRadiusCtrl; control -edit -enable false miPhotonVolumeAccuracyCtrl; control -edit -enable false miPhotonVolumeRadiusCtrl; control -edit -enable false miMaxReflectionPhotonsCtrl; control -edit -enable false miMaxRefractionPhotonsCtrl; control -edit -enable false miMaxPhotonDepthCtrl; control -edit -enable false miPhotonMapFilenameCtrl; control -edit -enable false miPhotonMapRebuildCtrl; control -edit -enable false miDiagnosePhotonMenu; control -edit -enable true miFinalGatherCtrl; control -edit -enable false miFinalGatherFastCtrl; control -edit -enable false miFinalGatherRaysCtrl; control -edit -enable false miFinalGatherMinRadiusCtrl; control -edit -enable false miFinalGatherMaxRadiusCtrl; control -edit -enable false miFinalGatherFilenameCtrl; control -edit -enable false miFinalGatherRebuildCtrl; control -edit -enable false miDiagnosePhotonMenu; miUpdateShadowMapsMenu; mentalRayOptionsCheckShadows; control -edit -enable true rebuildShadowMapsCtrl; control -edit -enable false motionBlurShadowMapsCtrl; control -edit -enable false miDiagnosePhotonDensityCtrl; setAttr "miDefaultOptions.finalGather" 1; mentalRayOptionsCheckFinalGather; control -edit -enable true miFinalGatherCtrl; control -edit -enable true miFinalGatherFastCtrl; control -edit -enable true miFinalGatherRaysCtrl; control -edit -enable true miFinalGatherMinRadiusCtrl; control -edit -enable true miFinalGatherMaxRadiusCtrl; control -edit -enable true miFinalGatherFilenameCtrl; control -edit -enable true miFinalGatherRebuildCtrl; control -edit -enable false miDiagnosePhotonMenu; miUpdateDiagnosePhotonMenu; control -edit -enable false miDiagnosePhotonDensityCtrl; setAttr "miDefaultOptions.finalGatherMinRadius" 0.2; // // set this to 1.5 x the Radius setAttr "miDefaultOptions.finalGatherMaxRadius" 5; miUpdateRenderQualityMenu; } if(`objExists "HDRIsetup"` == 1){ proc hdrui(){ if (`window -exists "HDR"`) deleteUI "HDR"; window -title "HDRI Setup Controls" -sizeable false -widthHeight 500 450 -titleBar true -minimizeButton true -maximizeButton false -menuBarVisible true "HDR"; menuBarLayout; setParent ..; menu -label "File"; menuItem -label "File" -c loadimage ; menuItem -divider true; menuItem -label "Close" -c ("deleteUI -window "+"HDR") ; menu -label "Modify Setup"; menuItem -label "Reset Setup" -c resetHDR ; menuItem -label "Delete Setup" -c deleteHDR ; menu -label "Help" -helpMenu true; menuItem -label "About" -c aboutHDR ; setParent ..;setParent ..; columnLayout; columnLayout -adjustableColumn true -columnAlign "left" -columnOffset "both" 5 -rowSpacing 5 "Col"; textFieldButtonGrp -label "HDR file"-columnAlign 1 "left" -fi `getAttr HDRIfile.fileTextureName` -cc hdrifile -buttonLabel "Browse" -bc loadimage imagefilename; attrColorSliderGrp -label "Color Correct" -columnAlign 1 "left" -adjustableColumn 3 -showButton true -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRIfile.colorGain"; separator -h 5 -style "out" "Sep"; attrFieldSliderGrp -label "Gamma Correct - R" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRIGammaCorrect.gammaX"; attrFieldSliderGrp -label "Gamma Correct - G" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRIGammaCorrect.gammaY"; attrFieldSliderGrp -label "Gamma Correct - B" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRIGammaCorrect.gammaZ"; separator -h 5 -style "out" "Sep1"; attrFieldSliderGrp -label "Expose Increaser" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRexpinc.blender"; attrEnumOptionMenuGrp -label "Increament Mode" -columnAlign 1 "left" -adjustableColumn 1 -cat 1 "both" 2 -attribute "HDRinc.inputs[0].blendMode"; attrFieldSliderGrp -label "Increament Alpha" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRinc.inputs[0].alpha"; attrEnumOptionMenuGrp -label "Decreament Mode" -columnAlign 1 "left" -adjustableColumn 1 -cat 1 "both" 2 -attribute "HDRinc.inputs[1].blendMode"; attrFieldSliderGrp -label "Decreament Alpha" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRinc.inputs[1].alpha"; separator -h 5 -style "out" "Sep4"; attrFieldSliderGrp -label "Expose Decreaser" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRexpdec.blender"; attrEnumOptionMenuGrp -label "Decreament Mode" -columnAlign 1 "left" -adjustableColumn 1 -cat 1 "both" 2 -attribute "HDRdec.inputs[0].blendMode"; attrFieldSliderGrp -label "Decreament Alpha" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRdec.inputs[0].alpha"; attrEnumOptionMenuGrp -label "Increament Mode" -columnAlign 1 "left" -adjustableColumn 1 -cat 1 "both" 2 -attribute "HDRdec.inputs[1].blendMode"; attrFieldSliderGrp -label "Increament Alpha" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRdec.inputs[1].alpha"; separator -h 5 -style "out" "Sep5"; attrFieldSliderGrp -label "Reflection Energy" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRI.diffuse"; attrFieldSliderGrp -label "Blur" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRIfile.preFilterRadius"; separator -h 5 -style "out" "Sep2"; attrFieldSliderGrp -label "Radius" -columnAlign 1 "left" -adjustableColumn 3 -columnWidth 1 100 -columnWidth 2 60 -columnWidth 3 140 -columnWidth 4 30 -columnAttach 1 "both" 2 -columnAttach 1 "both" 2 -columnAttach 2 "both" 2 -attribute "HDRIsetup.Radius"; button -label "Initialize Mental Ray Setup" -align "center" -c initmrsetup; separator -h 5 -style "out" "Sep3"; button -label "Close" -c ("deleteUI -window "+"HDR") ; button -label "Delete Setup" -c deleteHDR ; setParent ..; setParent ..; window -e -wh 435 690 "HDR"; showWindow "HDR"; } hdrui(); }else{ if (`window -exists "HDR"`) deleteUI "HDR"; window -title "HDRI Setup Controls" -sizeable false -widthHeight 500 150 -titleBar true -rtf true -minimizeButton true -maximizeButton false -menuBarVisible true "HDR"; columnLayout -adjustableColumn 1; frameLayout -label "Sphere" -labelAlign "top" -bs "etchedOut"; columnLayout; radioButtonGrp -l1 "Half" -numberOfRadioButtons 2 -sl 2 -l2 "Full" spht; setParent ..; setParent ..; frameLayout -label "Radius" -bs "etchedOut"; floatSliderGrp -label "Radius" -field true -min 0 -max 120 -v 25 rslider; setParent ..; setParent ..; button -label "Create Setup" -c createSetup ; setParent ..; setParent ..; window -e -wh 405 130 "HDR"; showWindow "HDR"; } proc createSetup(){ $st = `radioButtonGrp -q -select spht`-1; $rt = `floatSliderGrp -q -v rslider` ; deleteUI "HDR"; createHDRIsphere($st,$rt); shading(); nolights(); grouping(); addingattrs(); hdrui(); return; } proc deleteHDR(){ deleteUI "HDR"; select -r HDRI HDRexp HDRIfile HDRIplacement HDRIsetup HDRexpinc hdrlumrev HDRlum HDRexpdec HDRinc HDRdec ; delete; print "::: HDRI setup was deleted :::\n"; return; } proc resetHDR(){ setAttr "HDRIfile.colorGain" -type double3 1 1 1 ; setAttr "HDRGammaCorrect.gammaX" 1; setAttr "HDRGammaCorrect.gammaY" 1; setAttr "HDRGammaCorrect.gammaZ" 1; setAttr "HDRexpinc.blender" 0; setAttr HDRinc.inputs[0].blendMode 1; setAttr "HDRinc.inputs[0].alpha" 1; setAttr HDRinc.inputs[1].blendMode 1; setAttr "HDRinc.inputs[1].alpha" 1; setAttr "HDRexpdec.blender" 0; setAttr HDRdec.inputs[0].blendMode 1; setAttr "HDRdec.inputs[0].alpha" 1; setAttr HDRdec.inputs[0].blendMode 1; setAttr "HDRdec.inputs[0].alpha" 1; setAttr HDRdec.inputs[1].blendMode 1; setAttr "HDRdec.inputs[1].alpha" 1; setAttr "HDRI.diffuse" 0.8; setAttr "HDRIfile.preFilterRadius" 1; setAttr "HDRIsetup.Radius" 25; return; } proc loadimage(){ $texture=`fileDialog -dm "*.map"`; setAttr -type "string" "HDRIfile.fileTextureName" $texture; textFieldButtonGrp -e -tx $texture imagefilename; print ("The file \""+$texture+"\" was set"); return; } proc aboutHDR(){ if (`window -exists "aboutHDRwin"`) deleteUI "aboutHDRwin"; $aboutHDRtext=" HDRI setup - by Brock Stearn \n\n"; $aboutHDRtext+=" Original HDRI setup is created by Dmitry \"Troydm\" Geurkov\n"; $aboutHDRtext+=" This version has been modified by Brock Stearn\n"; $aboutHDRtext+=" \n"; $aboutHDRtext+=" It creates an IBI setup that can be used for \n"; $aboutHDRtext+=" rendering HDRI images in Maya using Mental Ray\n"; $aboutHDRtext+=" Gamma Correction has been integrated as well for\n"; $aboutHDRtext+=" HDR images created in HDRShop, as well as\n"; $aboutHDRtext+=" additional increase/decease faked exposure settings\n"; $aboutHDRtext+="\n contact : brock@myanimator.com \n"; window -title "About" -sizeable false -w 100 -h 300 -titleBar true -minimizeButton true -maximizeButton false -menuBarVisible false "aboutHDRwin"; columnLayout -adjustableColumn true -columnAlign "center" -columnOffset "both" 5 -rowSpacing 3 "Col"; text -w 100 -h 300 -label $aboutHDRtext; setParent ..; window -e -wh 300 200 "aboutHDRwin"; showWindow "aboutHDRwin"; return; } print ("\n\n\n\n\n::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\n"); print (":::HDRI setup - by Brock Stearn:::\n");