Home › Forums › GAMES在线课程(现代计算机图形学入门)讨论区 › 作业三normal mode输出后上下左右颠倒 This topic has 3 replies, 3 voices, and was last updated 4 years, 8 months ago by 张仁杰. Viewing 3 reply threads Author Posts 2020年3月16日 at 上午10:06 #4269 Score: 0 张仁杰Participant 如图,我在做作业二时两个三角形上下左右就是颠倒的,但是当时没处理。 在作业三直接把作业二的’get_projection_matrix’(如图)复制过来了,然后现在渲染出的结果也是上下左右颠倒的(如图)。 请问各位有遇到类似的问题吗?是如何解决的?谢谢 Attachments:You must be logged in to view attached files. 2020年3月16日 at 上午10:35 #4272 Score: 1 Zhixiong RenParticipant 因为OpenCV 是左手坐标系,Z 轴和右手坐标系是相反的 所以变换需要多一步,同时将 x轴,和y轴变为 -x, -y 相当于乘以 -1, 0, 0, 0 0, -1, 0, 0 0, 0, 1, 0 0, 0, 0, 1 This post has received 1 vote up. Attachments:You must be logged in to view attached files. 2020年3月16日 at 上午10:59 #4274 Score: 0 SongsongParticipant Karma: 4 pts 作业1延后来的问题啦。改下投影矩阵z轴正负 2020年3月16日 at 下午12:17 #4276 Score: 0 张仁杰Participant 感谢,已解决,方法如2楼所示 Author Posts Viewing 3 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In