Linear Transform From 3D Space To 2D Space

Linear Transform From 3D Space To 2D Space

Author: Kagula

Date: 2010-03-23

简介:

    本文是文章后半部分所列教材的学习笔记。

Introduction

  How a point from the 3d cartesian space project to window space. I  explanation it used  Matlab language symantics.I assume the reader be familiar with matlab and linear algebra.

World Space To Camera Space

  Here I suppose a point is in the 3d cartesian space,other words is in the world space. It’s already undergo the linear transform of some rotation , translation , uniform scales and the  shear.

  Now I stand in the original point and want view the star in the sky, how can I see it.

  Assume the star is a point in the world space I call it Xworld. The same point I see with my eye is in my view space(also name it camera space).How to transform the point from world space to camera space. 

  First I assume the point in the 4d tuple.The coordinate I defined here is, A Axis Left to right is positive direction I call it x axis. Down to up and perpendicular to x axis is y axis. Another axis perpendicular with x and y axis is z axis,From your eye to the monitor is positive direction. Where they cross is original point,I assigned it to(0,0,0). The fourth component of the point I defined  1,why be 1 I discuss later.

  Xworld=[x1,y1,z1,1]’

  Xview =[x2,y2,z2,1]’

  Mview=[a11 a12 a13 a14;a21 a22 a23 a24;a31 a32 a33 a34]

  So the identity should be like this

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

kagula086

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值