Home › Forums › GAMES在线课程(现代计算机图形学入门)讨论区 › 作业3 超采样牛牛,但没有消除锯齿。 Tagged: 抗锯齿 This topic has 0 replies, 1 voice, and was last updated 3 weeks, 2 days ago by jarmoy. Viewing 0 reply threads Author Posts 2023年3月9日 at 下午3:49 #16243 Score: 0 jarmoyParticipant 首先维护了属于Sample的两个vector。 一个是sample_frame_buf[2*width * 2*height]。 另一个是sample_depth_buf[2*width * 2*height]。 对于一个特定像素,会遍历他的四个子像素。然后给四个子像素进行赋值(frame_buf depth_buf)。只要至少有一个子像素被赋值,那么这个像素就会被赋值。取均值。 这个算法在第二个作业中消除了锯齿。 但是没法给小牛牛消除锯齿。 Attachments:You must be logged in to view attached files. 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