special_instruction
来自「图形处理算法合集3:包括图形处理、帧缓存技术、渲染、矩阵运算、建模方法」· 代码 · 共 15 行
TXT
15 行
// ******************************************************************//// The following C++ code computes a sample point and its probability // on the spherical or triangular luminaire according to the solid // angle from the view point. These are the center part of the direct // lighting computation via Monte Carlo integration.//// The function hit() is assumed to exist. It returns the intersection // point of a ray and a luminaire.// // Use the command, CC -c *.C -lm, to compile (not link). The code // needs to be combined with a ray tracer to complete. // ******************************************************************
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?