Home › Forums › GAMES在线课程(现代计算机图形学入门)讨论区 › 作业6中dirisNeg的理解 This topic has 0 replies, 1 voice, and was last updated 2 years, 4 months ago by kelir. Viewing 0 reply threads Author Posts 2022年7月13日 at 下午4:59 #12006 Score: 0 kelirParticipant Bound3::IntersectP()函数中实现光线与包围盒求交。光线某一维度是负方向时,计算得到的tmin和tmax需要交换(可以参考闫老师讲解2维情况时取反方向来思考)。可以借助dirisNeg判断,当!dirisNeg[x]为真时,交换tmin和tmax。 Author Posts Viewing 0 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In