Home Forums GAMES在线课程(现代计算机图形学入门)讨论区 请教个问题 关于 shader的坐标变换后的坐标范围的问题

Viewing 0 reply threads
  • Author
    Posts
    • #6732 Score: 0
      ranran
      Participant

      在shader中:’gl_Position = projectionMatrix * viewMatrix * modelMatrix * position4;’
      模型坐标 范围=>position4M{+无穷大,-无穷大},经过模型变换后(modelMatrix * position4)成了世界坐标系下的点worldPosition,此时点worldPosition的值的范围是什么?
      worldPosition经过视图矩阵变换(viewMatrix * modelMatrix * position4)后=>viewPosition ,
      此时的坐标的取值范围是否是 -1,1

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