Home Forums GAMES在线课程(现代计算机图形学入门)讨论区 有大佬帮忙看看结果为啥这样么?

Viewing 3 reply threads
  • Author
    Posts
    • #5976 Score: 0
      V_V
      Participant
      1 pt

      ssp = 1, 直接光照的结果为什么这样呀?一直没看出问题出在哪?有大佬指点一下么?非常感谢!

      Attachments:
      You must be logged in to view attached files.
    • #5990 Score: 0
      sublimation
      Participant
      3 pts

      只产生了左边的一小块,是不是BVH求交这里有问题?

    • #5991 Score: 0
      V_V
      Participant
      1 pt

      应该没啥问题吧,上次作业可以的,大佬能否帮忙看看?

      我把判断条件if (inter_obj_light.happened && !is_blocked)注释掉,结果是下面的样子

      还没搞清楚问题出在哪

      Attachments:
      You must be logged in to view attached files.
    • #5999 Score: 0
      clarence
      Participant
      -2 pt

      把t_enter<t_exit改成t_enter<=t_exit看看

      • #6017 Score: 0
        V_V
        Participant
        1 pt

        谢谢大佬,真就是这个原因。估计物体都是平面,写成 < 把很多相交剔除了。看了好久没意识到。
        非常感谢

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