Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera position #2

Open
seyacat opened this issue Sep 17, 2010 · 1 comment
Open

Camera position #2

seyacat opened this issue Sep 17, 2010 · 1 comment

Comments

@seyacat
Copy link

seyacat commented Sep 17, 2010

Please help me, i cant copy blender camera matrix to papervision camera, i dont know well what are differnces of this matrix, but i can see ppv camera looks in Z+ and blender in Z-, and both have Yup, if you can help me with this i really appeciate.

@seyacat
Copy link
Author

seyacat commented Sep 21, 2010

var matCorrCam:Matrix3D = new Matrix3D(new Array(1,0,0,0 ,0,-1,0,0 ,0,0,-1,0 ,0,0,0,1))
matCorrCam.calculateMultiply(mat,matCorrCam);
_camera.copyTransform(matCorrCam);
_camera.x = mat.n14
_camera.y = mat.n24
_camera.z = mat.n34
_camera.transform = matCorrCam dont copy rotation its why _camera.copyTransform(matCorrCam); works better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant