Home Forums GAMES在线课程(现代计算机图形学入门)讨论区 作业三phong模型结果亮度很高

Tagged: 

Viewing 2 reply threads
  • Author
    Posts
    • #3953 Score: 0
      EchoBu
      Participant

      如题,不知道是哪里理解有问题,代码和结果图片如下

      Attachments:
      You must be logged in to view attached files.
    • #3957 Score: 0
      助教
      Keymaster
      14 pts

      除了 v 没有 normalize,我暂未发现其他问题。

      • #3968 Score: 0
        EchoBu
        Participant

        嗯嗯确实是没有normalize的关系,发现除了v,l也需要在计算完r之后进行normalize操作,谢谢助教

    • #17112 Score: 0
      rocksky25
      Participant

      您好请教个问题,我觉得eye_pos和point不是在同一坐标系下的,这个直接相减是不是有问题的?

      Attachments:
      You must be logged in to view attached files.
Viewing 2 reply threads
  • You must be logged in to reply to this topic.