How to check any image properties inside Houdini

   314   1   0
User Avatar
Member
75 posts
Joined: Feb. 2013
Offline
When I load an Image as background in the viewport or in the camera. Is there any way I can check the properties such as its resolution etc from inside Houdini ?
User Avatar
Member
197 posts
Joined: May 2017
Offline
I dont think it's directly possible through the camera or viewport. But you can provide a cop network as an image reference for the background of the camera or viewport. Then read the resolution in cops in the node info of the file.

To calculate the corresponding aspect ratios for the cam you can use vex [www.sidefx.com] or python [www.sidefx.com].

Attachments:
bgres.jpg (5.1 KB)

  • Quick Links