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 Console,I've done this:
First, I set a variable to the area that is the 3D Viewport for convenience. Then I check the shading and it's WIREFRAME. From there, I render that space, the 3D Viewport. It always renders from the default camera. My first test render rendered in the SOLID mode, but now I can't get it to render the 3D Viewport view (using bpy.ops.render.opengl()
) and it always renders in RENDERED mode. Here's a sample - rather crowded and from the top:
I was under the impression that if I rendered the 3D Viewport space, I could get it to render in whatever shading method that was currently set for the Viewport. Is that not the case? Other than using plugins, is there a way to control the shading for rendering the view in the Viewport?
I'm beginning to think it just won't work, but I thought I saw instructions (that worked) that would let me do this and I've been searching, but can't find a way to do it.
So, bottom line, how can I specify the shading mode in the Viewport, render that view, then save the file?