import{_ as n}from"./plugin-vue_export-helper-DlAUqK2U.js";import{c as a,a as t,b as Q,e as l,o as m}from"./app-DlommLbD.js";const d="/assets/metal-Dck04b93.png",e="/assets/nonmetal-CI7Tab9J.png",s="/assets/diffuse-DzA4a2DL.png",o="/assets/Subsurface-OKPGhRs8.png",r="/assets/BRDF-BEtmk4Gk.svg",g={},i={class:"MathJax",jax:"SVG",display:"true",style:{position:"relative"}},h={style:{"vertical-align":"-2.389ex"},xmlns:"http://www.w3.org/2000/svg",width:"20.353ex",height:"5.91ex",role:"img",focusable:"false",viewBox:"0 -1556 8996 2612","aria-hidden":"true"},p={class:"MathJax",jax:"SVG",style:{position:"relative"}},H={style:{"vertical-align":"-0.464ex"},xmlns:"http://www.w3.org/2000/svg",width:"1.244ex",height:"2.059ex",role:"img",focusable:"false",viewBox:"0 -705 550 910","aria-hidden":"true"},c={class:"MathJax",jax:"SVG",style:{position:"relative"}},u={style:{"vertical-align":"-0.357ex"},xmlns:"http://www.w3.org/2000/svg",width:"2.147ex",height:"2.271ex",role:"img",focusable:"false",viewBox:"0 -846 949 1003.8","aria-hidden":"true"},f={class:"MathJax",jax:"SVG",style:{position:"relative"}},M={style:{"vertical-align":"-0.357ex"},xmlns:"http://www.w3.org/2000/svg",width:"2.371ex",height:"2.271ex",role:"img",focusable:"false",viewBox:"0 -846 1047.9 1003.8","aria-hidden":"true"},L={class:"MathJax",jax:"SVG",style:{position:"relative"}},Z={style:{"vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"6.636ex",height:"2.48ex",role:"img",focusable:"false",viewBox:"0 -846 2932.9 1096","aria-hidden":"true"},x={class:"MathJax",jax:"SVG",style:{position:"relative"}},D={style:{"vertical-align":"-0.357ex"},xmlns:"http://www.w3.org/2000/svg",width:"2.371ex",height:"2.271ex",role:"img",focusable:"false",viewBox:"0 -846 1047.9 1003.8","aria-hidden":"true"},w={class:"MathJax",jax:"SVG",style:{position:"relative"}},b={style:{"vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"6.317ex",height:"2.48ex",role:"img",focusable:"false",viewBox:"0 -846 2791.9 1096","aria-hidden":"true"},V={class:"MathJax",jax:"SVG",style:{position:"relative"}},v={style:{"vertical-align":"-0.357ex"},xmlns:"http://www.w3.org/2000/svg",width:"2.147ex",height:"2.271ex",role:"img",focusable:"false",viewBox:"0 -846 949 1003.8","aria-hidden":"true"},y={class:"MathJax",jax:"SVG",display:"true",style:{position:"relative"}},j={style:{"vertical-align":"-2.013ex"},xmlns:"http://www.w3.org/2000/svg",width:"48.652ex",height:"5.533ex",role:"img",focusable:"false",viewBox:"0 -1556 21504.2 2445.7","aria-hidden":"true"},R={class:"MathJax",jax:"SVG",style:{position:"relative"}},O={style:{"vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"25.603ex",height:"2.48ex",role:"img",focusable:"false",viewBox:"0 -846 11316.6 1096","aria-hidden":"true"},C={class:"MathJax",jax:"SVG",display:"true",style:{position:"relative"}},k={style:{"vertical-align":"-2.389ex"},xmlns:"http://www.w3.org/2000/svg",width:"27.634ex",height:"5.91ex",role:"img",focusable:"false",viewBox:"0 -1556 12214.3 2612","aria-hidden":"true"},B={class:"MathJax",jax:"SVG",display:"true",style:{position:"relative"}},A={style:{"vertical-align":"-5.146ex"},xmlns:"http://www.w3.org/2000/svg",width:"36.816ex",height:"11.424ex",role:"img",focusable:"false",viewBox:"0 -2774.7 16272.7 5049.4","aria-hidden":"true"},F={class:"MathJax",jax:"SVG",display:"true",style:{position:"relative"}},X={style:{"vertical-align":"-1.922ex"},xmlns:"http://www.w3.org/2000/svg",width:"13.278ex",height:"5.021ex",role:"img",focusable:"false",viewBox:"0 -1370 5868.8 2219.5","aria-hidden":"true"},S={class:"MathJax",jax:"SVG",style:{position:"relative"}},J={style:{"vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"18.803ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 8310.8 1000","aria-hidden":"true"},G={class:"MathJax",jax:"SVG",style:{position:"relative"}},N={style:{"vertical-align":"-0.023ex"},xmlns:"http://www.w3.org/2000/svg",width:"2.905ex",height:"1.593ex",role:"img",focusable:"false",viewBox:"0 -694 1284 704","aria-hidden":"true"},E={class:"MathJax",jax:"SVG",style:{position:"relative"}},z={style:{"vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.398ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3711.9 1000","aria-hidden":"true"};function P(_,T){return m(),a("div",null,[T[50]||(T[50]=t('

BRDF(双向反射分布函数)


1. 物体对光的反应

1.1 金属

对于金属,折射进表面的光线的能量会立即被金属中的自由电子吸收,转换成电子的能量,不再可见

1.2 非金属

对于非金属(电介质或绝缘体),它们往往不是由单一成分构成,而可以认为其中包含了很多折射率不同的微粒,光线遇到这些粒子后发生反射折射,在物质内部不断传播,散射到不同方向,其中一部分会再次穿过表面被观察到,这种现象称为次表面散射(Subsurface Scattering)

1.2.1 观察尺度

根据物质属性和观察尺度的不同,次表面散射会表现出不同的效果

如果光线在物质中传播距离小于观察尺度(绿色区域,可以认为是一个像素区域),我们看到情况如下面的右上图,入射点、反射点、次表面散射的出射点看起来是同一个点。其中反射部分(图中浅棕色出射光)就是我们常说的高光(Specular Light),常聚集在一个方向周围,向这个方向观察该点会看到明显的高光,从其他方向观察该点时高光则比较微弱;次表面散射部分(图中蓝色出射光)是漫射光(Diffuse Light),光线被散射到各个方向。

如果光线在物质中的传播距离大于观察尺度,就需要使用次表面散射算法来建模

2. BRDF

2.1 定义

BRDF(bidirectional reflectance distribution function),是用来描述反光小平面的反射光和入射光的比例关系的函数,设一个不透明的、不发光的小平面,BRDF的定义为

',18)),Q("mjx-container",i,[(m(),a("svg",h,[...T[0]||(T[0]=[t('',1)])])),T[1]||(T[1]=Q("mjx-assistive-mml",{unselectable:"on",display:"block"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},[Q("mi",null,"f"),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",null,","),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")"),Q("mo",null,"="),Q("mfrac",null,[Q("mrow",null,[Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"L"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")")]),Q("mrow",null,[Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"E"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")")])])])],-1))]),T[51]||(T[51]=Q("figure",null,[Q("img",{src:r,alt:"",tabindex:"0",loading:"lazy"}),Q("figcaption")],-1)),Q("p",null,[T[16]||(T[16]=l("其中",-1)),Q("mjx-container",p,[(m(),a("svg",H,[...T[2]||(T[2]=[Q("g",{stroke:"currentColor",fill:"currentColor","stroke-width":"0",transform:"scale(1,-1)"},[Q("g",{"data-mml-node":"math"},[Q("g",{"data-mml-node":"mi"},[Q("path",{"data-c":"1D453",d:"M118 -162Q120 -162 124 -164T135 -167T147 -168Q160 -168 171 -155T187 -126Q197 -99 221 27T267 267T289 382V385H242Q195 385 192 387Q188 390 188 397L195 425Q197 430 203 430T250 431Q298 431 298 432Q298 434 307 482T319 540Q356 705 465 705Q502 703 526 683T550 630Q550 594 529 578T487 561Q443 561 443 603Q443 622 454 636T478 657L487 662Q471 668 457 668Q445 668 434 658T419 630Q412 601 403 552T387 469T380 433Q380 431 435 431Q480 431 487 430T498 424Q499 420 496 407T491 391Q489 386 482 386T428 385H372L349 263Q301 15 282 -47Q255 -132 212 -173Q175 -205 139 -205Q107 -205 81 -186T55 -132Q55 -95 76 -78T118 -61Q162 -61 162 -103Q162 -122 151 -136T127 -157L118 -162Z"})])])],-1)])])),T[3]||(T[3]=Q("mjx-assistive-mml",{unselectable:"on",display:"inline"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[Q("mi",null,"f")])],-1))]),T[17]||(T[17]=l("就是BRDF函数",-1)),T[18]||(T[18]=Q("br",null,null,-1)),Q("mjx-container",c,[(m(),a("svg",u,[...T[4]||(T[4]=[t('',1)])])),T[5]||(T[5]=Q("mjx-assistive-mml",{unselectable:"on",display:"inline"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])])])],-1))]),T[19]||(T[19]=l("是入射光方向,",-1)),T[20]||(T[20]=Q("br",null,null,-1)),Q("mjx-container",f,[(m(),a("svg",M,[...T[6]||(T[6]=[t('',1)])])),T[7]||(T[7]=Q("mjx-assistive-mml",{unselectable:"on",display:"inline"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→")])])])],-1))]),T[21]||(T[21]=l("是观察方向",-1)),T[22]||(T[22]=Q("br",null,null,-1)),Q("mjx-container",L,[(m(),a("svg",Z,[...T[8]||(T[8]=[t('',1)])])),T[9]||(T[9]=Q("mjx-assistive-mml",{unselectable:"on",display:"inline"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[Q("msub",null,[Q("mi",null,"L"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")")])],-1))]),T[23]||(T[23]=l("是",-1)),Q("mjx-container",x,[(m(),a("svg",D,[...T[10]||(T[10]=[t('',1)])])),T[11]||(T[11]=Q("mjx-assistive-mml",{unselectable:"on",display:"inline"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→")])])])],-1))]),T[24]||(T[24]=l("方向反射光的亮度(Luminance)",-1)),T[25]||(T[25]=Q("br",null,null,-1)),Q("mjx-container",w,[(m(),a("svg",b,[...T[12]||(T[12]=[t('',1)])])),T[13]||(T[13]=Q("mjx-assistive-mml",{unselectable:"on",display:"inline"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[Q("msub",null,[Q("mi",null,"E"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")")])],-1))]),T[26]||(T[26]=l("是小平面接受的照度在",-1)),Q("mjx-container",V,[(m(),a("svg",v,[...T[14]||(T[14]=[t('',1)])])),T[15]||(T[15]=Q("mjx-assistive-mml",{unselectable:"on",display:"inline"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])])])],-1))]),T[27]||(T[27]=l("方向上的分量, 由照度和亮度的定义可知,来自入射方向的入射光的辐射率(亮度)为",-1))]),Q("mjx-container",y,[(m(),a("svg",j,[...T[28]||(T[28]=[t('',1)])])),T[29]||(T[29]=Q("mjx-assistive-mml",{unselectable:"on",display:"block"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},[Q("msub",null,[Q("mi",null,"L"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")"),Q("mo",null,"="),Q("mfrac",null,[Q("mrow",null,[Q("mi",null,"d"),Q("mi",{mathvariant:"normal"},"Φ")]),Q("mrow",null,[Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mi",null,"d"),Q("msup",null,[Q("mi",null,"A"),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mi",null,"P"),Q("mi",null,"r"),Q("mi",null,"o"),Q("mi",null,"j")])])])]),Q("mo",null,"="),Q("mfrac",null,[Q("mrow",null,[Q("mi",null,"d"),Q("mi",{mathvariant:"normal"},"Φ")]),Q("mrow",null,[Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mi",null,"d"),Q("mi",null,"A"),Q("mi",null,"cos"),Q("mo",{"data-mjx-texclass":"NONE"},"⁡"),Q("msub",null,[Q("mi",null,"θ"),Q("mi",null,"i")])])]),Q("mo",null,"="),Q("mfrac",null,[Q("mrow",null,[Q("mi",null,"d"),Q("mi",null,"E"),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")")]),Q("mrow",null,[Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mi",null,"cos"),Q("mo",{"data-mjx-texclass":"NONE"},"⁡"),Q("msub",null,[Q("mi",null,"θ"),Q("mi",null,"i")])])])])],-1))]),Q("p",null,[T[32]||(T[32]=l("得到",-1)),Q("mjx-container",R,[(m(),a("svg",O,[...T[30]||(T[30]=[t('',1)])])),T[31]||(T[31]=Q("mjx-assistive-mml",{unselectable:"on",display:"inline"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"E"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")"),Q("mo",null,"="),Q("msub",null,[Q("mi",null,"L"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")"),Q("mi",null,"cos"),Q("mo",{"data-mjx-texclass":"NONE"},"⁡"),Q("msub",null,[Q("mi",null,"θ"),Q("mi",null,"i")]),Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")])])],-1))]),T[33]||(T[33]=l(",所以",-1))]),Q("mjx-container",C,[(m(),a("svg",k,[...T[34]||(T[34]=[t('',1)])])),T[35]||(T[35]=Q("mjx-assistive-mml",{unselectable:"on",display:"block"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},[Q("mi",null,"f"),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",null,","),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")"),Q("mo",null,"="),Q("mfrac",null,[Q("mrow",null,[Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"L"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")")]),Q("mrow",null,[Q("msub",null,[Q("mi",null,"L"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")"),Q("mi",null,"cos"),Q("mo",{"data-mjx-texclass":"NONE"},"⁡"),Q("msub",null,[Q("mi",null,"θ"),Q("mi",null,"i")]),Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")])])])])],-1))]),T[52]||(T[52]=Q("h3",{id:"_2-2-特性",tabindex:"-1"},[Q("a",{class:"header-anchor",href:"#_2-2-特性"},[Q("span",null,"2.2 特性")])],-1)),Q("mjx-container",B,[(m(),a("svg",A,[...T[36]||(T[36]=[t('',1)])])),T[37]||(T[37]=Q("mjx-assistive-mml",{unselectable:"on",display:"block"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},[Q("mtable",{displaystyle:"true",columnalign:"right left",columnspacing:"0em",rowspacing:"3pt"},[Q("mtr",null,[Q("mtd",null,[Q("mi",null,"f"),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",null,","),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")")]),Q("mtd",null,[Q("mi"),Q("mo",null,"≥"),Q("mn",null,"0")])]),Q("mtr",null,[Q("mtd",null,[Q("mi",null,"f"),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",null,","),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")")]),Q("mtd",null,[Q("mi"),Q("mo",null,"="),Q("mi",null,"f"),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",null,","),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")")])]),Q("mtr",null,[Q("mtd",null,[Q("mi",{mathvariant:"normal"},"∀"),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",null,","),Q("msub",null,[Q("mo",{"data-mjx-texclass":"OP"},"∫"),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mi",{mathvariant:"normal"},"Ω")])]),Q("mi",null,"f"),Q("mo",{stretchy:"false"},"("),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",null,","),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mover",null,[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→")])]),Q("mo",{stretchy:"false"},")"),Q("mi",null,"cos"),Q("mo",{"data-mjx-texclass":"NONE"},"⁡"),Q("msub",null,[Q("mi",null,"θ"),Q("mi",null,"o")]),Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")])]),Q("mtd",null,[Q("mi"),Q("mo",null,"≤"),Q("mn",null,"1")])])])])],-1))]),T[53]||(T[53]=t('

2.3 为什么BRDF方程是L和E的比值

参考

2.3.1 从测量方面来看

测量入射光的设备测量小平面的照度(E)最方便,不用关心方向,而测量出射光则是测量辐射率(L)最方便,用狭长的测光筒

2.3.2 从数学角度来解释

一束光照到平面后,被平面反射到各个方向,其中一个出射方向的光通量只是整个反射光通量极小的一部分,当出射方向立体角趋于0时,

',6)),Q("mjx-container",F,[(m(),a("svg",X,[...T[38]||(T[38]=[t('',1)])])),T[39]||(T[39]=Q("mjx-assistive-mml",{unselectable:"on",display:"block"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML",display:"block"},[Q("munder",null,[Q("mo",{"data-mjx-texclass":"OP",movablelimits:"true"},"lim"),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("msub",null,[Q("mi",null,"ω"),Q("mi",null,"o")]),Q("mo",{stretchy:"false"},"→"),Q("mn",null,"0")])]),Q("mfrac",null,[Q("mrow",null,[Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"L"),Q("mi",null,"o")])]),Q("msub",null,[Q("mi",null,"L"),Q("mi",null,"i")])]),Q("mo",null,"="),Q("mn",null,"0")])],-1))]),Q("p",null,[T[46]||(T[46]=l("所以在实际计算中使用辐射率和辐射率比值是没有意义的。而如果分母改成表面上接收到的来自光源方向的微分辐照度,",-1)),Q("mjx-container",S,[(m(),a("svg",J,[...T[40]||(T[40]=[t('',1)])])),T[41]||(T[41]=Q("mjx-assistive-mml",{unselectable:"on",display:"inline"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[Q("mi",null,"d"),Q("mi",null,"E"),Q("mo",null,"="),Q("msub",null,[Q("mi",null,"L"),Q("mi",null,"i")]),Q("mo",{stretchy:"false"},"("),Q("mi",null,"l"),Q("mo",{stretchy:"false"},")"),Q("mi",null,"d"),Q("mi",null,"ω"),Q("mi",null,"cos"),Q("mo",{"data-mjx-texclass":"NONE"},"⁡"),Q("msub",null,[Q("mi",null,"θ"),Q("mi",null,"i")])])],-1))]),T[47]||(T[47]=l(",",-1)),Q("mjx-container",G,[(m(),a("svg",N,[...T[42]||(T[42]=[t('',1)])])),T[43]||(T[43]=Q("mjx-assistive-mml",{unselectable:"on",display:"inline"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[Q("mi",null,"d"),Q("mi",null,"E")])],-1))]),T[48]||(T[48]=l("会小很多,所以比值",-1)),Q("mjx-container",E,[(m(),a("svg",z,[...T[44]||(T[44]=[t('',1)])])),T[45]||(T[45]=Q("mjx-assistive-mml",{unselectable:"on",display:"inline"},[Q("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"L"),Q("mi",null,"o")]),Q("mrow",{"data-mjx-texclass":"ORD"},[Q("mo",null,"/")]),Q("mi",null,"d"),Q("msub",null,[Q("mi",null,"E"),Q("mi",null,"i")])])],-1))]),T[49]||(T[49]=l("是有意义的",-1))])])}const q=n(g,[["render",P]]),U=JSON.parse('{"path":"/note/graphics/illumination_model/BRDF/BRDF.html","title":"BRDF(双向反射分布函数)","lang":"zh-CN","frontmatter":{"description":"BRDF(双向反射分布函数) 1. 物体对光的反应 1.1 金属 对于金属,折射进表面的光线的能量会立即被金属中的自由电子吸收,转换成电子的能量,不再可见 1.2 非金属 对于非金属(电介质或绝缘体),它们往往不是由单一成分构成,而可以认为其中包含了很多折射率不同的微粒,光线遇到这些粒子后发生反射折射,在物质内部不断传播,散射到不同方向,其中一部分会再...","head":[["script",{"type":"application/ld+json"},"{\\"@context\\":\\"https://schema.org\\",\\"@type\\":\\"Article\\",\\"headline\\":\\"BRDF(双向反射分布函数)\\",\\"image\\":[\\"\\"],\\"dateModified\\":\\"2025-02-22T14:42:02.000Z\\",\\"author\\":[{\\"@type\\":\\"Person\\",\\"name\\":\\"JinChao\\",\\"url\\":\\"https://thecodeway.com\\"}]}"],["meta",{"property":"og:url","content":"https://thejinchao.github.io/note/graphics/illumination_model/BRDF/BRDF.html"}],["meta",{"property":"og:site_name","content":"我的博客和笔记"}],["meta",{"property":"og:title","content":"BRDF(双向反射分布函数)"}],["meta",{"property":"og:description","content":"BRDF(双向反射分布函数) 1. 物体对光的反应 1.1 金属 对于金属,折射进表面的光线的能量会立即被金属中的自由电子吸收,转换成电子的能量,不再可见 1.2 非金属 对于非金属(电介质或绝缘体),它们往往不是由单一成分构成,而可以认为其中包含了很多折射率不同的微粒,光线遇到这些粒子后发生反射折射,在物质内部不断传播,散射到不同方向,其中一部分会再..."}],["meta",{"property":"og:type","content":"article"}],["meta",{"property":"og:locale","content":"zh-CN"}],["meta",{"property":"og:updated_time","content":"2025-02-22T14:42:02.000Z"}],["meta",{"property":"article:modified_time","content":"2025-02-22T14:42:02.000Z"}]]},"git":{"createdTime":1740235322000,"updatedTime":1740235322000,"contributors":[{"name":"thejinchao","username":"thejinchao","email":"thejinchao@gmail.com","commits":1,"url":"https://github.com/thejinchao"}]},"readingTime":{"minutes":2.94,"words":883},"filePathRelative":"note/graphics/illumination_model/BRDF/BRDF.md","autoDesc":true}');export{q as comp,U as data};