Home › Forums › GAMES在线课程(现代计算机图形学入门)讨论区 › 作业三 想请教下关于 图片颠倒与投影矩阵中-z问题 This topic has 2 replies, 2 voices, and was last updated 2 years, 10 months ago by wyz. Viewing 2 reply threads Author Posts 2021年11月27日 at 下午9:47 #9866 Score: 0 SorukaParticipant 代码全都跑通了一遍,但是因为小牛渲染出来是倒着的,我就把投影矩阵p2o改成-1,然后为了zbuffer的正确 又改了r.darw 里面的f1f2 改了成负的了… texture normal phong depth 都是正确出图,但是跑bump 的时候,报segmentation fault(core dump)不知道为什么… 求大佬指教 Attachments:You must be logged in to view attached files. 2021年11月27日 at 下午9:55 #9869 Score: 0 SorukaParticipant 这个是bump的shader…写了好多次..之前也一直出segmentation fault(core dump) This reply was modified 2 years, 11 months ago by Soruka. Attachments:You must be logged in to view attached files. 2022年1月5日 at 上午11:50 #10221 Score: 0 wyzParticipant 我也遇到过这个问题,我看了一下是获取u,v的时候值可能不在0-1内,加了一个限制就好了 Author Posts Viewing 2 reply threads You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In