Check my course "The Ride" for 25% OFF use "theride25" : https://jy3d.me/ridecourse
Today, We will build a script that will allow us to render as many blender files as we want when we're sleeping.
DL the script here : https://drive.google.com/file/d/1fUN_...
or copy and paste from there:
-------------------------------------------------------------------------------------------------
@echo off
set BLENDER_PATH="C:\Program Files\Blender Foundation\Blender 4.0\blender.exe"
:: Loop through each blend file and render it
for %%i in ("D:\blender\Project\TEST1.blend" "D:\blender\Project\TEST2.blend") do (
%BLENDER_PATH% -b "%%i" -a
echo Rendered: %%i
)
echo All files rendered.
echo Putting computer to sleep in 30 seconds...
timeout /t 30
:: Put computer to sleep
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
exit
-------------------------------------------------------------------------------------------------
Get my FREE professional car model rigged and ready for animation : https://jy3d.me/c63
My assets for the not so powerful computers :)
https://jy3d.me/city
To support the channel or to buy me a drink :) Thanks 💝
/ jeanyan