Home Forums GAMES在线课程(现代计算机图形学入门)讨论区 作业7 light的m_emission辐射量问题?

Tagged: 

Viewing 0 reply threads
  • Author
    Posts
    • #11299 Score: 0
      uerth
      Participant

      main.cpp 第25行
      Material* light = new Material(DIFFUSE, (8.0f * Vector3f(0.747f+0.058f, 0.747f+0.258f, 0.747f) + 15.6f * Vector3f(0.740f+0.287f,0.740f+0.160f,0.740f) + 18.4f *Vector3f(0.737f+0.642f,0.737f+0.159f,0.737f)));

      m_emission=8.0f * Vector3f(0.747f+0.058f, 0.747f+0.258f, 0.747f) + 15.6f * Vector3f(0.740f+0.287f,0.740f+0.160f,0.740f) + 18.4f *Vector3f(0.737f+0.642f,0.737f+0.159f,0.737f)

      其中的8.0f,15.6f,18.4f
      0.747f,0.74f,0.737f
      {0.058f,0.258f,0.0f},{0.287f,0.160f,0.0f},{0.642f,0.159f,0.0f}
      这些值如何求出来的,为什么这么定义?
      或者我能通过学习什么方面知识去求出这些值?

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