I'm trying to apply a perspective projection to a matrix3D, but as soon as I do so, everythng goes black.
finalTransform = new Matrix3D();
var projectionTransform = new PerspectiveMatrix3D();
var aspect:Number = 4/3;
var zNear:Number = 0.1;
var zFar:Number = 1000;
var fov:Number = 45*Math.PI/180;
projectionTransform.perspectiveFieldOfViewLH(fov, aspect, zNear, zFar);
//This line makes everything black
Any idea / suggestion?
there is an undocumented but supported perspectivematrix3d class: http://barliesque.com/easy_agal/docs/com/adobe/utils/PerspectiveMatrix 3D.html
Europe, Middle East and Africa