Get width and Height of camera with George

A forum dedicated to George scripting questions
Post Reply
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Get width and Height of camera with George

Post by Mads Juul »

with

Code: Select all

tv_CameraEnumPoints index -> return x y angle size
I can read the x position and y position and angle and size of the Camera. But is there a way I can get the Width and height of the camera through George?
So I can calculate precisely where the upper left corner is on my Project canvas
-Mads
User avatar
Hervé
Site Admin
Posts: 3490
Joined: 08 Feb 2006, 17:00
Location: Metz France
Contact:

Re: Get width and Height of camera with George

Post by Hervé »

There is no way.
but you can save a frame with tv_project_savesequence Filename "camera" 0 0 and check the file properties :mrgreen:

I will add a function...
Hervé ADAM, TVPaint Team
User avatar
Mads Juul
Posts: 3992
Joined: 02 May 2007, 19:18

Re: Get width and Height of camera with George

Post by Mads Juul »

Hervé wrote: I will add a function...
great! thank you ;-)
Post Reply