Tagged: 

Viewing 1 reply thread
  • Author
    Posts
    • #5261 Score: 0
      五十弦
      Participant

      最后得到的结果三角形顶点附近的着色是一团黑,有可能是什么原因导致的?

      Attachments:
      You must be logged in to view attached files.
    • #5265 Score: 0
      五十弦
      Participant

      解决了,发现是triangle::getinterdection(ray)函数对inter.coords赋值出问题了,以为这里直接用重心坐标就行了,结果要用光线起点来计算,就没问题了。

Viewing 1 reply thread
  • You must be logged in to reply to this topic.