Viewing 4 reply threads
  • Author
    Posts
    • #7616 Score: 0
      喂鱼
      Participant
      2 pts

      作业三角形剔除部分用的提供代码 没有改其他的,主要是写了rasterize_triangle 与computeBarycentric2D

      Attachments:
      You must be logged in to view attached files.
    • #7618 Score: 0
      喂鱼
      Participant
      2 pts

      代码如下

      Attachments:
      You must be logged in to view attached files.
    • #7620 Score: 0
      喂鱼
      Participant
      2 pts

      希望大佬来解答一下 不懂问题出在哪里

      Attachments:
      You must be logged in to view attached files.
    • #7624 Score: 0
      偏偏123456
      Participant

      应该是 判断条件改成 !insideTrangle(),看看是不是就OK了,检查一下点在三角形的判断方法哪里有问题

    • #7628 Score: 0
      喂鱼
      Participant
      2 pts

      嗯嗯 已经解决了,但是 第一次使用叉乘的不知道是什么问题暂时没看出来

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