- 博客(2)
- 资源 (9)
- 收藏
- 关注
原创 读wildmagic和ogre源码的感受
1。类命名不当会极大地影响系统的可理解性,自认为这一点ogre比wildmagic比差了好多。wildmagic中的类和对象的意义都非常容易理解。而ogre中的类名往往与类的功能相矛盾。比如按MovableObject这个类名理解这个类应该定义有关移动的信息,比如位置,方向,速度等。然而这个类的设计目的却是作为挂接在Node节点的内容和可显示的对象如Entity的父类。而Renderable接口首
2007-09-29 16:38:00 3465 1
原创 何为左手坐标系(LH)和右手坐标系(RH)
由于一开始接触的是direct 3d的左手笛卡尔坐标系,养成了一种惯性思维,认为无论哪种坐标系,camera就应该沿着z轴的正向看出去,因此怎么也理解不了D3DXMatrixLookAtRH中为什么zaxis = normal(Eye - At)。现在终于明白了,如果把我们的眼睛是camera,在左手坐标系中我们看到的是z轴的正向,在右手坐标系中我们看到的是z轴的负向,我们看到的东西自然在我们前方
2007-09-29 16:37:00 10761 1
the Art of game design 2nd.Edition
2016-12-13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人