Add Camera from Viewport (and bind to marker)

add_camera_from_viewport.py (3.0 KB)

While watching HEAVYPOLY | Blender Everyday, a question was asking for an faster way to add cameras for creating shots.

Pablo quickly dismissed it saying he answered it in a previous video.
I have no idea was he’s talking about but I already made an addon for converting the viewport to a camera. I figured it wouldn’t be TOOOO much of a hassle to strip it to down to the essentials and add marker binding.

What I did not know until I already went through the trouble, was that there was already an addon basically doing exactly what this person asked, minus binding the camera to marker (they didn’t ask this as part of it, just this was the intended next step).

So rather than toss this in trash, and take it as a 100% loss of my time, I’m uploading it anyway.


My original version and purpose of the addon, is to convert the viewport to a camera, for usage with Eevee. I set the new camera as a local camera and lock it to the viewport.

The reason is to be able to add image(s) as overlays/screen fx (like vignette) and/ enable Depth of Field while animating or whatever.

3 Likes