Home Forums GAMES在线课程(现代计算机图形学入门)讨论区 作业三 phong 模型不能显示漫反射和高光问题

Viewing 2 reply threads
  • Author
    Posts
    • #4502 Score: 0
      一学
      Participant

      照着公式打的代码,一直没发现错误,请大佬们帮帮忙

      Attachments:
      You must be logged in to view attached files.
    • #4505 Score: 0
      zyk
      Participant
      5 pts

      norm函数是取模,normalized函数才是取单位向量

      • #4506 Score: 0
        一学
        Participant

        我用norm求距离,没毛病啊

    • #4514 Score: 0
      Witlau
      Participant
      1 pt

      光栅化函数写了没?

      • #4516 Score: 0
        一学
        Participant

        写了,可以显示正确normal

Viewing 2 reply threads
  • You must be logged in to reply to this topic.