Graphics 版 (精华区)

发信人: jun (☆子夜☆), 信区: Graphics
标  题: opengl的坐标问题/
发信站: 哈工大紫丁香 (Sat Jan  9 11:20:15 1999), 转信

再问一次。
我记得那为兄弟说过,是左手系,即x向右,y向上,z轴指向屏幕内侧。
那旋转时呢?譬如我按x旋转 30度,结果是按左手还是右手旋转?
另外,redbook中好象示意图中z周正向都指向屏幕外侧,
不知为什么?
请教!

--
※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 166.111.33.119]

--
☆ 来源:.哈工大紫丁香 bbs.hit.edu.cn.[FROM: sunup.bbs@bbs.net.ts]
发信人: jun (☆子夜☆), 信区: Graphics
标  题: Re: opengl的坐标问题/
发信站: 哈工大紫丁香 (Sat Jan  9 11:22:23 1999), 转信

【 在 airneed (空谷) 的大作中提到: 】
: 再问一次。
: 我记得那为兄弟说过,是左手系,即x向右,y向上,z轴指向屏幕内侧。
: 那旋转时呢?譬如我按x旋转 30度,结果是按左手还是右手旋转?
: 另外,redbook中好象示意图中z周正向都指向屏幕外侧,
: 不知为什么?
: 请教!
the view matrix is the left hand, but the other coordinate system is right 
hand, world coordinate. So if you translate or use rotate the object, you
use right hand coordinate. The left hand coordinate is only used for define
the view frustum and Z range. So in most case, you can just consider the 
right hand coordinate.


--
           Am I wrong to be hurt
           Am I wrong to feel pain
           Am I wrong to be in the rain
           Am I wrong to wish the night won't end
           Am I wrong to cry
           But I know  It's not worng to sing the last song

※ 来源:·BBS 水木清华站 bbs.net.tsinghua.edu.cn·[FROM: 166.111.68.238]

--
☆ 来源:.哈工大紫丁香 bbs.hit.edu.cn.[FROM: sunup.bbs@bbs.net.ts]
[百宝箱] [返回首页] [上级目录] [根目录] [返回顶部] [刷新] [返回]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:4.383毫秒