Home Forums GAMES在线课程(现代计算机图形学入门)讨论区 代码框架三角形面积没除2?

Viewing 2 reply threads
  • Author
    Posts
    • #5395 Score: 0
      cmc233
      Participant
      6 pts

      代码框架triangle.cpp里,算三角形面积area = crossProduct(e1, e2).norm()是不是忘记除以2?除以2后得到的渲染图比作业说明暗一些

    • #5396 Score: 1
      助教
      Keymaster
      14 pts

      对,这个问题我会在明早前修正。

      This post has received 1 vote up.
      • #5397 Score: 0
        cmc233
        Participant
        6 pts

        好的,谢谢助教

    • #5402 Score: 1
      助教
      Keymaster
      14 pts

      已解决。

      This post has received 1 vote up.
Viewing 2 reply threads
  • You must be logged in to reply to this topic.