Viewing 2 reply threads
  • Author
    Posts
    • #5861 Score: 0
      Justin
      Participant
      3 pts

      如题,已经参考过这个问题,但是反复查找,intersectP没有问题,路径追踪感觉也对,不知道没有物体的阴影,问题出在哪里?请求帮助

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

      这个是结果

      Attachments:
      You must be logged in to view attached files.
    • #5883 Score: 0
      奋斗的蜗牛
      Participant
      3 pts

      没有判断是不是光线是否被中间物体挡住吧。。

      • #5884 Score: 0
        Justin
        Participant
        3 pts

        可是我已经判断过light_ray.happened了,这个就是判断是否被中间物体挡住的呀

        • #5885 Score: 2
          Justin
          Participant
          3 pts

          我已经解决了,缺了个判断光线照到的点是否与一开始照到的点是不是同一个点。

          This post has received 2 votes up.
          • #5909 Score: 0
            pi
            Participant

            我也是一样的问题,请问这个要怎么判断呢

            • #5911 Score: 0
              Curry
              Participant
              1 pt

              老哥有没有解决好呢?我也一样的问题

          • #5912 Score: 0
            Curry
            Participant
            1 pt

            老哥你是怎么判断的呢?

      • #5886 Score: 0
        Justin
        Participant
        3 pts

        间接光照也要判断是否被中间物体挡住吗?

        • #5888 Score: 0
          haofeng
          Participant

          个人感觉是不需要的,因为直接光照是相当于在光源上积分,需要判断是否可达这一步;但是间接光照仍然是在交点处做积分,所以不用考虑。我理解也不深,如果说错希望指正。

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