Home › Forums › Games202-高质量实时渲染 › [作业2]预计算结果中是否应该包含diffuse项 Tagged: 作业2 This topic has 2 replies, 2 voices, and was last updated 3 years, 8 months ago by cmc233. Viewing 1 reply thread Author Posts 2021年4月24日 at 下午8:15 #8271 Score: 0 zkfParticipant 在预计算的结果中是否需要包含diffuse brdf对应的rho/pi,如果需要应该包含在哪一部分? 2021年4月24日 at 下午9:42 #8273 Score: 0 cmc233Participant Karma: 6 pts prt.cpp的preprocess()已经写了 auto shCoeff = sh::ProjectFunction(SHOrder, shFunc, m_SampleCount); for (int j = 0; j < shCoeff->size(); j++) { m_TransportSHCoeffs.col(i).coeffRef(j) = (*shCoeff)[j]; } 2021年4月24日 at 下午9:51 #8274 Score: 0 cmc233Participant Karma: 6 pts 不好意思,把 = (*shCoeff)[j]看成*= (shCoeff)[j]了,源代码好像是没乘系数orz Author Posts Viewing 1 reply thread You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In