2.2f is scaling objects up instead of scaling them down
Posted: Tue Aug 17, 2010 11:57 am
I was experimenting with maya2octane today (bought Octane only a week ago), and I was surprised to see that depth of field stayed very deep no matter how large the aperture was. It was as if I was working with objects many meters in size, while the models I was trying to render were actually quite small — about 50 centimeters on a side. I did some investigation and, well, here's the culprit:
This should read:
Thus, a 1x1x1 centimeter box created in Maya would translate to a 0.01x0.01x0.01 meter box in Octane, not to a 100x100x100 meter monstrosity.
Code: Select all
global proc exportScale()
<snip>
case 1:
float $sSize = 1000;
break;
case 2:
float $sSize = 100;
break;
This should read:
Code: Select all
case 1:
float $sSize = 0.01;
break;
case 2:
float $sSize = 0.01;
break;
Thus, a 1x1x1 centimeter box created in Maya would translate to a 0.01x0.01x0.01 meter box in Octane, not to a 100x100x100 meter monstrosity.