Home › Forums › GAMES在线课程(现代计算机图形学入门)讨论区 › 作业3踩坑分享 Tagged: 作业3踩坑分享 This topic has 18 replies, 13 voices, and was last updated 11 months, 1 week ago by w93163red. Viewing 8 reply threads Author Posts 2020年3月21日 at 下午7:52 #4623 Score: 1 eileenParticipant Karma: 1 pt 分享作业3踩过的坑,大家得到奇怪图时也许可以参考。 This post has received 1 vote up. Attachments:You must be logged in to view attached files. 2020年3月30日 at 上午1:23 #4935 Score: 0 xxrlParticipant Karma: 1 pt 我也贴一张 v没有normalize()导致specular过大… Attachments:You must be logged in to view attached files. 2022年9月22日 at 上午1:14 #13379 Score: 0 EricYoung0228Participant 是这个问题吗,我v做过normalized之后任然是这样 2020年3月31日 at 下午8:07 #4990 Score: 0 VoyagerParticipant 补一个实现奶牛纹理遇到的问题… 不按提示写payload的texture参数也会变成虚空黑牛… 2021年5月12日 at 下午12:27 #8421 Score: 0 IamlivehahaParticipant 这个太坑了,按照老师给的是t.tex,但这个根本就没赋值,得换成私有变量texture 2020年4月7日 at 下午1:19 #5245 Score: 0 saniacParticipant Karma: -1 pt 请问少p具体是啥意思,我也遇到了图中少p那张图的情况。 2020年4月7日 at 下午2:53 #5247 Score: 0 saniacParticipant Karma: -1 pt 已解决,我是求夹角余弦没有normalized,导致有反射的地方全部变成白色。 2020年4月10日 at 下午5:34 #5329 Score: 0 eileenParticipant Karma: 1 pt 我当时好像是忘记加指数p了 2021年8月25日 at 下午9:14 #9208 Score: 0 Arika HoshinoParticipant Karma: 3 pts +1 我也是没有normalize normal,light,shuchu1结果就是“少P”那张图 2022年1月28日 at 下午1:32 #10521 Score: 0 aifreedomParticipant 我的摄像头大概放错了地方, 渲染出来的角度是对着牛的屁股 Attachments:You must be logged in to view attached files. 2022年3月6日 at 下午10:29 #10936 Score: 0 噼里啪啦Participant 正交变换矩阵错了,距震中的第[2][2]项应该乘个-1就转过来了 2022年3月23日 at 上午12:58 #11065 Score: 0 YFParticipant 为什么这里的正交矩阵不能复制粘贴之前的正交矩阵呢? 以及,这种类型的问题有什么好的DEBUG方法么 2022年3月23日 at 上午10:23 #11066 Score: 0 YFParticipant 没事了,copy之前的代码就可以了,不会出问题。是我自己弄错了 2022年3月20日 at 下午2:12 #11038 Score: 0 DaedraParticipant 高光范围过小,还没找出原因 Attachments:You must be logged in to view attached files. 2022年3月21日 at 下午2:28 #11060 Score: 0 DaedraParticipant half vector计算错误 2022年7月23日 at 上午11:57 #12058 Score: 0 unkvccParticipant Karma: 2 pts 牛牛身体部分较暗,不知哪里出了问题?高光是按照公式计算的 Attachments:You must be logged in to view attached files. 2022年7月23日 at 下午5:04 #12067 Score: 0 unkvccParticipant Karma: 2 pts 已解决,没有把光照颜色计算的结果累加起来,而是覆盖了上一个光照颜色计算的结果 2022年7月23日 at 下午5:41 #12068 Score: 2 unkvccParticipant Karma: 2 pts bump用到了displacement是什么意思? 就是说,在根据凹凸贴图UV计算新的法向量后,顶点要实际移动,按照注释多写一行,然后再修改法向量 point = point + kn * n * payload.texture->getColor(u,v).norm(); This post has received 2 votes up. This reply was modified 1 year, 2 months ago by unkvcc. Attachments:You must be logged in to view attached files. 2022年10月30日 at 下午11:27 #14678 Score: 0 w93163redParticipant 我也上一张……我查了好久 bump里面 (u + 1.0 / w, v) (u, v + 1.0 / h) 写成了 ((u + 1.0) / w, v), (u, (v + 1.0) / h) 就会变成下面这样: Attachments:You must be logged in to view attached files. Author Posts Viewing 8 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In