The following programs are required in order for you to run the software:
- Install the latest version of Blender
- Install the latest version of Java
- You must be on an up to date version of Windows 11/10
C:\Program Files\Blender Foundation\Blender X.X
-
This should be the default location, but it must be here in order to work properly
-
After downloading Java from the provided link above, ensure you run the downloadable and follow its instructions
- In the first section, there is a button to open up an integrated file browser retrieve your file. It must be a .blend file in order for the program to work.
- Once selected, you can search for your .blend file. In this case, the shown file below is 1CLIGroundRenderTest.blend.
- Afterwards, we have a few sections. Starting off, we have your rendering device. CPU is for CPU rendering, Optix is for Nvidia GPUs, while CUDA is an older platform for Nvidia GPUs
- OneAPI is for Intel GPUs (Intel® Arc™ graphics card with the Xe HPG architecture), HIP is for AMD GPUs, and Metal is for Apple ARM Silicon
- You may want to use CUDA if you are just barely above your VRAM limits, otherwise use CPU render if your scene is too large
- Take note that the program tells you to use the folder that you must use the folder created when Blender is first installed.
- This is due to Blender overwriting files for smaller updates (4.2 vs 4.2.X). You can identify newer files for larger updates (4.2 vs 4.3), as seen below:
- You can now select what type of rendering engine you are using. Using scene settings simply uses the rendering engine set in your profile
- Using a different rendering engine sets the rendering engine settings (such as their sample count) to their default settings (Cycles: 4096, EEVEE Next: 64)
- You can set Blender's CLI rendering client to render a specific frame, or a set of frames
- Once done, you can render your image!
- Once you hit the 'Render!' button, the program will do two things:
- It will open up the command line
- It will open up the C:\tmp folder (This is where your images will be outputted to)
- Once completed, you can take a look at your rendered image!
Command line rendering has a few advantages over rendering within Blender:
- It does not have to update any GUIs, so it uses less memory and renders slightly faster
- Due to this, it is also more stable with larger scenes, and is significantly less prone to crashing
From testing, here are a few results from rendering in Blender, and rendering from the CLI. All tests were using the Cycles rendering engine with default settings, and the resolution (2560 x 1600).
- Test 1:
- CLI: (Mem): 1334.38MB, (Time): 07.54.92
- In Blender: (Mem): 1542.92MB, (Time): 08.08.42
- Test 2:
- CLI: (Mem): 320.14MB, (Time): 05.05.55
- In Blender: (Mem): 560.84MB, (Time): 05.04.84
- Time is not always faster, but it usually is in most instances
- Test 3:
- CLI: (Mem): 863.80MB, (Time): 36.30.91
- In Blender: (Mem): 1179.24MB, (Time): 36.31.03
- Processor: AMD Ryzen 7 7745HX
- Memory: 32GB DDR5 5200 MT/s
- GPU: Mobile RTX 4060