Expanding the render area without altering the perspective

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
  03 March 2013
Expanding the render area without altering the perspective

Hey all,

I am rendering a background for some product packaging, and I need to render more than my camera is showing. Obviously if I move the camera back I will see more, but the perspective of the objects will be altered.

I discovered Camera Offset, so I am able to shift the camera either right or left, up or down, and re-render to get more image without changing the perspective, however then I have to render upwards of 4 times to get additional image on the top left, bottom left, top right, bottom right.

Is there a way to get more image on all sides and maintain the exact contents of the center of the image?

Thanks!
 
  03 March 2013
Increase the camera sensor size (camera object tab).
 
  03 March 2013
Some of the guys in the forum posted this script months/years ago

var xres1 = 400; //this is the old width of the image
var xres2 =600.0; //this is the new width of the image;
var fov1 = Radians(62); //this is the old field of view

var fov2 = Degree(atan(xres2/xres1*tan(fov1/2.0))*2.0); //calculates the new field of view

println(fov2);

it outputs the value into the console.

hope this helps
 
  03 March 2013
look up the film zoom, film move and film magnify in the help file
__________________


demafleez.com | twitter
 
  03 March 2013
Okay, more detail....

Say you want to increase the border by 20% without affecting the perspective or pixel size of your scene elements. Very easy:

1. Go to your Camera>Object>Sensor size and type [current value]*1.2

2. Go to your render>output settings, check the "lock ratio" box, and then type [current value]*1.2 in either the width or height.

That's it. If you want a bigger border use a bigger multiplier and vv.
 
  04 April 2013
Thank you AdamT, sensor size was exactly what I needed!
 
  04 April 2013
ok, so i've discovered a new problem. The sensor size doesn't seem to work properly with the physical renderer! Without changing any settings, the physical render output is a different angle than the standard renderer! Any ideas?
 
  04 April 2013
aha! turns out the sensor size/physical render was not the problem. my floor has a formula deformer on it and i didn't realize it was moving, so when i moved to frame 5 to get the motion blur i needed, the background was moving too! converting the formula to an editable object solved my problem.
 
  04 April 2013
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
__________________
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 05:25 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.