- Germany
- https://www.sheepit-renderfarm.com/
-
A Blender lover and admin on SheepIt
- Joined on
2020-01-09
We are able to set the cores in the performance tab or with -t
.
But if I understand correctly, the expected behavior doesn't match the actual behavior because of the different usage of the…
It appears, that Python has its own STDOUT buffer that we must flush with sys.stdout.flush() to get the print with the correct timing :) Btw, the wrong order is at least till Blender 2.79 that way
So, after researching, it seems like STDOUT and STDERR are not in proper order because they are buffered differently. But I don't know how to fix that
Very interesting. If I run .\blender.exe -b -P 'C:\Users\raimu\Downloads\before_render_script.py' -f 1
in Powershell, everything gets displayed as it should.
PS C:\Program Files\Blender…
If you enabled them before... ¯\(ツ)/¯
Use --factory-startup
for clean preferences and CPU only.
But please use this ticket only for related stuff. So, just the message print issue 😉
Well, message printing and device selection are two different issues.
For the device stuff, you should try --debug-cycles
to see if the correct devices got selected.
The thing is, I am currently trying to get a print before we render as well. But on the local machine, everything works as expected, but as soon as Blender gets called from our Java client, the…
Can you please do a test for me? Add a script with the following content:
import bpy
print('Before Frame 1')
bpy.context.scene.render.engine = 'CYCLES'
bpy.context.scene.cycles.samples…