Home › Forums › GAMES在线课程(现代计算机图形学入门)讨论区 › 代码中对顶点法线的坐标变换是否错误? Tagged: vertex normal transformation This topic has 2 replies, 3 voices, and was last updated 4 years, 7 months ago by fuzhanzhan. Viewing 2 reply threads Author Posts 2020年3月14日 at 下午2:51 #4041 Score: 0 KeneyrParticipant Karma: 7 pts 在rasterrize.cpp文件中,对顶点法线的变换是这样的,看样子是把model space下的normal变换到view space下的normal。这里是否写错了? 正确的应该是把normal变换到world space吧。。。 Attachments:You must be logged in to view attached files. 2020年3月15日 at 下午8:19 #4181 Score: 0 sQParticipant Karma: 1 pt https://blog.csdn.net/liyaxin2010/article/details/84761280 2020年4月10日 at 下午8:39 #5335 Score: 0 fuzhanzhanParticipant 着色可以在world space 或者 view space 中进行,只要相关的向量都在同一个空间就行,而代码中选择在 view space 中进行,所以都变换到 view space 中了。 Author Posts Viewing 2 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In