Home › Forums › GAMES在线课程(现代计算机图形学入门)讨论区 › 作业5阴影处有蓝点 This topic has 1 reply, 2 voices, and was last updated 2 years, 1 month ago by 新瓜不保熟. Viewing 1 reply thread Author Posts 2022年8月16日 at 上午11:09 #12176 Score: 0 unkvccParticipant Karma: 2 pts 如图,求助阴影处有蓝点的问题 Attachments:You must be logged in to view attached files. 2022年10月4日 at 上午11:24 #13805 Score: 0 新瓜不保熟Participant 在图11.07.26 float x,y的取值问题,你的坐标(x,y)值都是经过移动的(假设像素在每个格子的中间+0.5),然后有因为校准拉扯,修复像素大小等等问题,最后你没有因为这些操作去修改x,y值的起始值 float x=(2.0f * (i+0.5)/(float)scene.width – 1)*imageAspectRatio * scale; float y=(1-2.0f * (j+0.5)/(float)scene.height)*scale; 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