Jump to content
rich_lord

Other ways to look through a camera

Recommended Posts

Is there any other ways to look through a camera? Other than the camera menu in the top right of the view port? My menu contains a ton of cameras.

The ideal thing would be to select a node and press a hot key or something.

Thanks!

Edited by rich_lord

Share this post


Link to post
Share on other sites

It's possible to drag cameras and lights onto the viewport and it will cause the viewer to look through them.

It's also possible to write a shelf tool type thing and assign a hotkey to it to cause the active viewer to look through a selected camera/light.

  • Like 5

Share this post


Link to post
Share on other sites

Dragging the camera into the view port is great and intuitive. Thanks Graham!

Share this post


Link to post
Share on other sites

A simple shelf tool script could go like this:

nodes = hou.selectedNodes()

path = nodes[0].path()

hou.ui.paneTabOfType(hou.paneTabType.SceneViewer).curViewport().setCamera(hou.node(path))

  • Like 1

Share this post


Link to post
Share on other sites

Thanks konstantin. That's really useful. I've not explored scripting yet.

Share this post


Link to post
Share on other sites
13 hours ago, graham said:

It's possible to drag cameras and lights onto the viewport and it will cause the viewer to look through them.

It's also possible to write a shelf tool type thing and assign a hotkey to it to cause the active viewer to look through a selected camera/light.

pretty good, didn't know about that one

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×