Home Forums Games202-高质量实时渲染 作业2 里cubemapFaceDirections 是什么

Viewing 1 reply thread
  • Author
    Posts
    • #10507 Score: 0
      sid
      Participant

      如题, 作业2 里cubemapFaceDirections 是什么 , 为什么是这些坐标?
      const Eigen::Vector3f cubemapFaceDirections[6][3] = {
      {{0, 0, 1}, {0, -1, 0}, {-1, 0, 0}}, // negx
      {{0, 0, 1}, {0, -1, 0}, {1, 0, 0}}, // posx
      {{1, 0, 0}, {0, 0, -1}, {0, -1, 0}}, // negy
      {{1, 0, 0}, {0, 0, 1}, {0, 1, 0}}, // posy
      {{-1, 0, 0}, {0, -1, 0}, {0, 0, -1}}, // negz
      {{1, 0, 0}, {0, -1, 0}, {0, 0, 1}}, // posz
      };

    • #11550 Score: 0

      同问

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