Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #5685 Score: 0
      2020Rafa
      Participant

      按照自己的理解写了下castray函数,得到如下的错误结果。不知道是哪里理解错了,请各位大佬帮忙看看,哪里搞错了我再重新理解一下。。

      Attachments:
      You must be logged in to view attached files.
    • #5689 Score: 0
      安安
      Participant
      -1 pt

      我也想问,我和你的思路基本一样,就对了一个判断是不是光源。但是我的结果比你的还差,出了光源是白的,别的全黑

      Attachments:
      You must be logged in to view attached files.
    • #5693 Score: 0
      夏莉莉
      Participant

      请问楼主解决了吗,我的思路和你的差不多,但是直接结果就是全黑….

    • #5711 Score: 0
      xxrl
      Participant
      1 pt

      ws和wo都没有normalize
      你这代码那自己能看的下去么…

      • #5718 Score: 0
        2020Rafa
        Participant

        谢谢指出,确实是忘记考虑这个了,改过来之后目前是如下的结果orz。我再检查下

        Attachments:
        You must be logged in to view attached files.
        • #5724 Score: 0
          Mxkkk
          Participant
          1 pt

          这个问题助教老师有说过, 在IntersectP in the Bounds3.hpp中 t_enter = t_exit时判断为相交即可

          • #5728 Score: 0
            2020Rafa
            Participant

            刚刚试了一下,果然!感谢~

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