Changing Field of View for a wider camera lens???????


as architect, need inside 3-dimensional models. acrobat 3d seems great looking @ objects not experiencing interiors since perspective narrow. can walk me through how change fov. saw posting involving changing fov through camera settings can't seem figure out. appreciated

sorry answer stinking late. (can say, 'vacation'?).
here's code want.

//=================================================

//get/set active camera
mycamera = scene.cameras.getbyindex(0);

//create handler, , set drive camera
mykeyhandler = new keyeventhandler();
mykeyhandler.onevent = function(event)
{
switch(event.charactercode)
{
case 28: //left arrow
mycamera.fov += 0.02;
break;

case 29: //right arrow
mycamera.fov -= 0.02;
break;
}
//redraw screen
runtime.refresh();
}
//register , process
runtime.addeventhandler(mykeyhandler);

//inform user
console.println("use arrow keys change camera fov +/- 0.1 radians.");
//==========================================


More discussions in Rich Media & 3D


adobe

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code