Jump to content
Sign in to follow this  

parazoomCAM [settings]

Recommended Posts

Want to render "pixel correct" using a Parallel camera in Cinema?

(So one unit is equal to one pixel)

The relation for width and zoom for a parallel camera seems to be:


zoom = 1/width*1024.


Using a Rectangle spline as reference you can add a coffee tag

to a camera with the following(Width parameter of the spline sets zoom):

var width = doc->FindObject("Rectangle")#PRIM_RECTANGLE_WIDTH;
op#CAMERA_ZOOM = 1/width*1024;


Using render settings to set zoom add this to a coffeetag on a camera.

(Cinema R11 only):

var width = renderdata()#RDATA_XRES_VIRTUAL;
op#CAMERA_ZOOM = 1/width*1024;


Or simply type 1/thewidthyouwant*1024 into the Zoom field of a

Parallel (or Top,Right etc) Camera.


Linked a R11 scene example.


Hope this helps for your "Flat" renders! :)





Edited by tcastudios

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...