• This topic has 11 replies, 9 voices, and was last updated 4 years ago by Troy.
Viewing 8 reply threads
  • Author
    Posts
    • #5049 Score: 0
      夏莉莉
      Participant

      下图是我的代码,我把各位大佬在论坛的帖子都看了一遍,修改了一下代码,但是还是不对。希望各位大佬能帮忙看一下到底是哪里出了问题,谢谢。

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

      图放不下了,还有两张

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

      应该是inter的赋值吧……inter总共有6个参数,都赋了试试

    • #5071 Score: 0
      xxrl
      Participant
      1 pt

      图1别减eye_pos 试试,虽然我也不知道为什么,但是把这个改了就显示了…

    • #5075 Score: 0
      夏莉莉
      Participant

      我把inter属性都赋了,eyepos也没减了,不过出的图中间有很明显的细线,有哪位大佬知道怎么回事吗

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

        计算x,y的时候是用的像素中心点,而不是端点,应该是这个问题

      • #5161 Score: 0
        小狮子
        Participant
        1 pt

        应该是因为求bounding box交点的时候没考虑 Diretion 为0的情况

    • #5138 Score: 0
      condyy
      Participant
      2 pts

      想问一下,你的图三、图四里的t为什么计算用pmin减direction啊?不应该是减origin吗?

      • #5170 Score: 0
        Troy
        Participant
        -1 pt

        确实应该是origin,可能这里是个bug

    • #5165 Score: 0
      6君
      Participant
      1 pt

      你写完了么,写了多久了

    • #5166 Score: 0
      CICI
      Participant

      我也遇到同样的情况了,一直改不对,请为你inter赋了什么值呀?

    • #5167 Score: 0
      夏莉莉
      Participant

      inter的赋值可以看看这个帖子,我是从楼主的思路里面得到的

      作业6 做完了4步之后运行仍是一片蓝

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