游戏开发论坛

 找回密码
 立即注册
搜索
查看: 5601|回复: 10

D3DMatrix????4*4?16???????????

[复制链接]

36

主题

135

帖子

135

积分

注册会员

Rank: 2

积分
135
发表于 2004-3-25 21:49:00 | 显示全部楼层 |阅读模式
?????????????????16????_11?_44????????????????????????????????????????????????

5

主题

17

帖子

17

积分

新手上路

Rank: 1

积分
17
发表于 2004-3-25 22:19:00 | 显示全部楼层

Re:D3DMatrix????4*4?16???????????

????????? ??? ...??????
???????QQ,????
43493418

5

主题

255

帖子

255

积分

中级会员

Rank: 3Rank: 3

积分
255
发表于 2004-3-26 15:23:00 | 显示全部楼层

Re:D3DMatrix????4*4?16???????????

??????

10

主题

40

帖子

59

积分

注册会员

Rank: 2

积分
59
发表于 2004-3-26 21:28:00 | 显示全部楼层

Re:D3DMatrix????4*4?16???????????

?????????

10

主题

40

帖子

59

积分

注册会员

Rank: 2

积分
59
发表于 2004-3-26 21:31:00 | 显示全部楼层

Re:D3DMatrix????4*4?16???????????

X000
0Y00
00Z0
0001
???XYZ?? ??XYZ?
X--m[0]     Y--m[5]      Z--m[10]

??????????????

0

主题

17

帖子

21

积分

注册会员

Rank: 2

积分
21
发表于 2004-4-2 10:34:00 | 显示全部楼层

Re:D3DMatrix????4*4?16???????????

P(x1,y1,z1,w1)=P(x0,y0,z0,w0)*M ??

x1= _11*x0 + _21*y0+_31*z0+_41*w0
y1= _12*x0 + _22*y0+_32*z0+_42*w0
z1= _13*x0 + _23*y0+_33*z0+_43*w0
w1=_41*x0 + _42*y0+_42*z0+_44*w0

11

主题

132

帖子

132

积分

注册会员

Rank: 2

积分
132
QQ
发表于 2004-4-3 17:11:00 | 显示全部楼层

Re:D3DMatrix????4*4?16???????????

M0   M1    M2   M3
M4   M5    M6   M7
M7   M8    M9   M10
M11  M12  M13 M14

X_?: M0 M4 M7   Y?: M1 5 8   Z_?:M2 6 9

MO M5 M9 ??
M3 M7 M10??
M14 ????????,

???API,????????????,?????????,
(OGL??????????????)

8

主题

71

帖子

85

积分

注册会员

Rank: 2

积分
85
发表于 2004-4-4 23:24:00 | 显示全部楼层

Re:D3DMatrix????4*4?16???????????

whether you or me say wrong?
M11,M12,M13 is translation.
M14,you say right,is used for perspective projection.

11

主题

132

帖子

132

积分

注册会员

Rank: 2

积分
132
QQ
发表于 2004-4-5 11:58:00 | 显示全部楼层

Re:D3DMatrix????4*4?16???????????

harrrmm  ...........I think that in Grap API the matrix is hard to understand
But easy to use. Just like <<Hack empire>>...
you say m11 m12 m13 is translation  is very right !!! so am i
(A*B)t  =Bt *At      ( At is invers Matrix of A,etc)
So how you define your matrix,how to understand them how to Apply them in yourself order ,at last you send them to API....
Remember,,there is nothing absolute in matrix algorithm....

11

主题

132

帖子

132

积分

注册会员

Rank: 2

积分
132
QQ
发表于 2004-4-5 12:00:00 | 显示全部楼层

Re:D3DMatrix????4*4?16???????????

Kit .... I'm poor in English ,,,,,Type chinese please
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-9-13 03:50

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表