All Questions
Tagged with python cycles-render-engine
212
questions
-1
votes
1
answer
19
views
Server GPUs are not being detected by Blender Cycles CUDA?
I have a shared server with 8 RTX A5000s and am trying to enable GPUs allocated via CUDA_VISIBLE_DEVICES=... when running blender. The code I have so far is:
...
1
vote
1
answer
45
views
How can I count the number of visible objects in a rendered image?
I used to do this on blender2.78c+ubuntu20.04(cuda11.8+4090), but it will error after process around 700+ images.
...
0
votes
0
answers
16
views
Custom engine in material output target
I have copied the source code of Cycles engine (which is just an addon)
https://projects.blender.org/blender/blender/src/branch/main/intern/cycles/blender/addon
renamed it to "Mask" (and all ...
0
votes
0
answers
41
views
NodeTree missing input attribute
I am using the super image denoiser and when I click create SID, an error happens. Here is the code:
...
0
votes
1
answer
43
views
How to call Operator inside another Operator
I am working on script/addon that will run bake operator every frame before rendering. The main purpose of the script is to bake diffuse shadows and color to an image so that I can use it in the ...
0
votes
0
answers
78
views
How to write a python code for changing color space of image texture attached to normal map as well as strength of normal map?
I want to write a code for changing color space of all image textures attached to normal maps as well as strength of all normal maps to 1.
0
votes
0
answers
68
views
Bulk Texture Baking of multiple models in Blender
Is there any way to bake the textures of the 1000s of buildings using any plugins or python scripts in Blender?
Each building has two models:
High poly model and
Low poly Model
I want the textures ...
0
votes
0
answers
58
views
Copying the 3D view Framebuffer doesn't give me the current frame. Bug or expected behavior?
I'm writing an addon for which I need to extract information out of a cycles viewport render.
In essence, I'm using a callback function in the SpaceView3D that gets called every time the 3D viewport ...
0
votes
0
answers
40
views
Geting the curent status of the cycles viewport Render with the Python API
Is it possible to find out if a cycles viewport Rendering is done using the Python API? It is displayed on the top left corner of the 3D viewport, so the information has to be somewhere, but I can't ...
0
votes
0
answers
40
views
frame_change_pre (or _post) handler issue with object location
I created the appended test scene, to investigate an issue in a much more complex scene I have.
“Luckily” the issue appears also in this small recreation of the basic principles of the scene which I ...
1
vote
1
answer
166
views
BPY render using "Blender_eevee" can not work
I'm using bpy python module in Ubuntu 20.04, I try to render picture using engine='BLENDER_EEVEE' engine as shown below.
...
2
votes
1
answer
84
views
The right engine to render simple objects with little texture fastest way possible
I have a (very large) number of simple scenes, containing a simple object (lego brick) with the camera positioned somewhere near it, all of which I'm trying to render using a python script.
Since the ...
0
votes
1
answer
99
views
Blender bake error 'Current render engine does not support baking' when calling bpy.ops.object.bake(type = 'DIFFUSE')
I am currently attempting to bake diffuse image textures using python in blender. I know this question is extremely similar to "Current render engine does not support baking" when calling ...
0
votes
1
answer
122
views
Rotate object while rendering animation
I'm trying to produce animation frames for a rotated animation with everything else on scene left intact.
My rendering code looks as follows:
...
0
votes
0
answers
65
views
Blender 6D pose data generation
I am trying to get relative pose of object ( x,y,z and rotations ) with respect to the camera. My object is placed at origin (0,0,0) World Coordinates and the camera is following a trajectory while ...