3DS max Post-render Open Photoshop

in #design5 years ago (edited)

https://www.elifulkerson.com/projects/
https://forums.autodesk.com/t5/3ds-max-programming/max-last-render-to-photoshop/td-p/4185663
Readme.jpg
播放提示音,将文件保存并用PS打开。

 --Attention MaxScript & PS
 --By Lin
 --Opening Theme
shellLaunch "D:/Script/sounder.exe" "A320-bingbong.wav"
shellLaunch "D:/Script/voice" "voice -v 100 -r -3 -k renderfinish.txt"
(
 --Save "Last Render" to temp file on desktop
  RImage = GetLastRenderedImage copy:true
 NewImage = bitmap (RImage.width) (RImage.height) filename:"D:\Script\Temp.tga"
 copy RImage NewImage
 save NewImage
 
-- Opens "Last Render" in photoshop
 local ps = CreateOLEObject ("Photoshop.Application")
 ps.application.name
 ps.application.visible = true
 PhotoDoc = ps.open "D:\Script\Temp.tga"
 releaseOLEObject ps
 ) 
shellLaunch "D:/Script/sounder.exe" "airport-bingbong.wav"
Sort:  

Congratulations @linbenyi! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!