Home › Forums › GAMES在线课程(现代计算机图形学入门)讨论区 › 作业1,三角形颠倒问题 This topic has 1 reply, 2 voices, and was last updated 1 year, 4 months ago by Rakastan. Viewing 1 reply thread Author Posts 2021年9月1日 at 下午6:54 #9238 Score: 1 ZbcxcjParticipant Karma: 1 pt 这个问题相信不少人都遇到过 主要的问题就是在代码里面,zNear 和 zFar 被定义为 0.1 和 50,是正数 但是用于求坐标变换时,三个点的 z 值都是负的 所以如果 透视转正交矩阵 的第四列写成 0, 0, 1, 0的 话 最后求的坐标都会颠倒 所以最简单做法就是把第四列写成 0, 0, -1, 0 This post has received 1 vote up. 2021年11月22日 at 下午4:38 #9735 Score: 0 RakastanParticipant 完美解决问题 Author Posts Viewing 1 reply thread You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In