Camera Request

unhandled

#1

I’d like to request a camera toolbar. Something that would show the current camera xyz, rotation, and lens size and allow you to change them. I always find myself in the perspective view, full screen with someone over my shoulder asking for camera info. It’s a drag to have to change to another view to select the camera and read the properties panel. If I’m doing this wrong, please let me know.


#2

When nothing is selected, the Properties panel shows all the camera/target info of the active view - no need to select the camera.


#3

Ah, I suspected I was missing something!

Thanks,
Dennis


#4

Some oldies, but they work fairly well.

Camera Lens, this will let you get / set lens lengths for motion picture cameras in a perspective viewport (it is a bit dated, and doesn’t handle some newer larger formats such as Arri 65, but will work for Super 35 and anamorphic)
Cam_Lens_091013.zip (12.6 KB)

Camera height, handy for getting / setting height above ground / object or the active cplane if there isn’t anything under the camera:
Camera_Height_090609.zip (6.9 KB)

Sam


(Chris Hanley) #5

not sure if grasshopper/python is an option, but from a scripting standpoint, you could get camera info with something like this. Think there are a few other plugins that do this as well. Human has a pretty robust Viewport Properties component. A simple version using python shown below. Could probably be modified to read into an modeless eto form, which would be pretty sweet!

import scriptcontext as sc
import rhinoscriptsyntax as rs


title = sc.doc.Views.ActiveView.ActiveViewport.Name
size = sc.doc.Views.ActiveView.ActiveViewport.Size
lens = round(sc.doc.Views.ActiveView.ActiveViewport.Camera35mmLensLength, 2)
location = sc.doc.Views.ActiveView.ActiveViewport.CameraLocation
target = sc.doc.Views.ActiveView.ActiveViewport.CameraTarget
distance = rs.Distance(location, target)

#6

or this!:grinning: