All Questions
15
questions
0
votes
0
answers
34
views
Force Viewport Visibility to Respect Render Visibility
I use the viewport render to do all my look dev, and lighting, so I make things enabled or disabled based on what I need for that render layer/scene. But of course when I go to actually render the ...
0
votes
1
answer
1k
views
Render a 3d viewport and save using Python
I need to render a 3d viewport and save it. I use this command
bpy.ops.render.render(use_viewport = True, write_still=True)
but this option not work ...
0
votes
0
answers
78
views
How to directly store Blender File Images Externally?
I'm using this answer to generate images from view port
but is there a way to directly externally store/generate this image?
and by that I mean NOT having to manually save them through Image Editor
0
votes
1
answer
50
views
Python script in start up folder to set 3d viewport shading doesnt work
I am running the following python script to convert 3dview to rendered view, which works fine in the scripting editor but not if run from the startup folder which reports the following type error ...
0
votes
0
answers
50
views
Shapekey driver miscalculates during playback and render?
video example, slightly NSFW
I am using corrective shapekeys for my ankles (see video link above).
The driver expression is the angle between two bone vectors.
Blender does notify me that it's "...
4
votes
1
answer
492
views
Optimal renders of the same scene from multiple cameras
I am using Cycles with OptiX to render a lot of different camera angles of the same scene.
Using code like:
...
1
vote
1
answer
1k
views
How can I do a render of the 3D Viewport, in Python, so it uses the shading style I've selected?
I've found that I can't change the normal rendering, from a camera, to WIREFRAME, SOLID, or anything but RENDERED. (Actually, there isn't a setting to change, it just goes to RENDERED.) In the Python ...
3
votes
0
answers
1k
views
Viewport Render results from Python
I have a python script that receives data over a socket and uses that data to update a scene. The resulting render of that scene then needs to be sent to an output socket. This needs to occur in ...
2
votes
1
answer
1k
views
How to force update the 3d view port in blender during python file execution
I am trying to connect a physical robot arm with its digital replica using blender I am able to communicate between the two using MQTT but the changes in blender are reflected only when the python ...
0
votes
1
answer
894
views
Automate random shape generator and export viewport render with python
I originally thought I could just keyframe and export the animation of the 'random seed' property of the addon but blender just gives me an error:
"random_seed" property cannot be animated
Now I'm ...
4
votes
1
answer
4k
views
Change active View Layer with Python
I'm currently trying to figure out how i can change the active view layer with python. The change to 2.8 made sourcing for documentation quite difficult.
I'd be thankfull for any help!
18
votes
2
answers
13k
views
How to automatically fit the camera to objects in the view?
I'm using blender to render avatar and avatar accessories on a website, however there is a problem, when a hat, or accessory is made a bit large, the it doesn't fit in the viewport, is there anyway to ...
5
votes
1
answer
454
views
3D view rendering in the background
I'm writing an addon, which let the user the option to see the dynamics of its data. The user can create an offline movie, or try to run it online.
In this addon, there is quite a complex mesh, with ...
1
vote
1
answer
361
views
Turn off the headers for the rendered window
I am using python script to render the image. I only want to show the IMAGE_EDITOR area( I think the rendered image gets shown in IMAGE_EDITOR area). It should show only the rendered image.
So ...
13
votes
4
answers
19k
views
How to toggle visibible / selectable / renderable for multiple objects?
For quite long time, I was looking for a faster way to toggle (or toggle off) visible / selectable and renderable for many objects, as illustrated below:
I know we can do the relatively quick select ...