Profile Topics Started Replies Created Engagements Favorites Search replies: Forum Replies Created Viewing 2 posts - 1 through 2 (of 2 total) Author Posts 2020年6月2日 at 下午6:37 in reply to: 作业五 结果不对 #6605 Score: 0 wangzrParticipant intersect 里需要判断 u >= 0 && v >= 0 && (1-u-v) >= 0 && tnear >= 0 时返回true,因为这时候光线和三角形相交了(ppt13的p28有 2020年4月8日 at 下午5:18 in reply to: 作业二:图片显示结果全黑 #5271 Score: 0 wangzrParticipant 请问是depth_buffer[index]里z-interpolated里的取值加个负号吗? if(-z_interpolated < depth_buf[index]) depth_buf[index] = -z_interpolated; Author Posts Viewing 2 posts - 1 through 2 (of 2 total)