Home Forums GAMES在线课程(现代计算机图形学入门)讨论区 作业5求相机到每个像素射线疑问?

Viewing 1 reply thread
  • Author
    Posts
    • #8879 Score: 0
      hide on bush
      Participant

      在作业中有这句话:”Also, don’t forget to multiply both of them with the variable *scale*, and
      x (horizontal) variable with the *imageAspectRatio*.”,我不明白为什么要做这个转换。

    • #8887 Score: 1
      tmk
      Participant
      4 pts

      在做这个变换之前是先将x和y映射到[-1,1],如果不做这个变换则整个画面是一个正方形,且不能视野的大小(fov)。

      This post has received 1 vote up.
Viewing 1 reply thread
  • You must be logged in to reply to this topic.