示例代码3
多色 (XYZ) 数据的格式示例。每个单独的波长拥有分立的DataBegin和DataEnd定义行。
如果有多个样本旋转方向,则数据将添加在每个波长组最后一行数据后,且在DataEnd定义行之前。
- #Data Generated by Radiant Imaging's 'Imaging Sphere'
- #6/1/2007 11:30:46 AM
- #Name: Ron
- #Model #: BTDF of matte sample
- Source Measured
- Symmetry PlaneSymmetrical
- SpectralContent XYZ
- ScatterType BRDF
- SampleRotation 1
- 0
- AngleOfIncidence 6
- 01020304560
- ScatterAzimuth 5
- 0306090180
- ScatterRadial 15
- 0123.556.7813.1 ...
- TristimulusX
- DataBegin
- TIS 0.72
- 3.689E+00 3.575E+00 2.907E+00 ...
- 3.689E+00 3.585E+00 3.108E+00 ...
- 3.689E+00 3.585E+00 3.044E+00 ...
- 3.689E+00 3.511E+00 3.143E+00 ...
- 3.689E+00 3.313E+00 2.905E+00 ...
- TIS 0.70
- 3.605E+00 3.491E+00 2.778E+00 ...
- 3.605E+00 3.444E+00 2.968E+00 ...
- 3.605E+00 3.444E+00 2.874E+00 ...
- 3.605E+00 3.316E+00 2.955E+00 ...
- 3.605E+00 3.206E+00 2.825E+00 ...
- TIS 0.61
- 3.154E+00 3.059E+00 2.455E+00 ...
- 3.154E+00 2.924E+00 2.472E+00 ...
- 3.154E+00 2.924E+00 2.374E+00 ...
- 3.154E+00 2.768E+00 2.454E+00 ...
- 3.154E+00 2.892E+00 2.615E+00 ...
- TIS 0.49
- 2.508E+00 2.453E+00 2.040E+00 ...
- 2.508E+00 2.341E+00 2.014E+00 ...
- 2.508E+00 2.341E+00 1.925E+00 ...
- 2.508E+00 2.203E+00 1.976E+00 ...
- 2.508E+00 2.311E+00 2.121E+00 ...
- TIS 0.27
- 1.391E+00 1.362E+00 1.186E+00 ...
- 1.391E+00 1.351E+00 1.228E+00 ...
- 1.391E+00 1.351E+00 1.203E+00 ...
- 1.391E+00 1.324E+00 1.233E+00 ...
- 1.391E+00 1.323E+00 1.255E+00 ...
- TIS 0.10
- 5.262E-01 5.333E-01 5.332E-01 ...
- 5.262E-01 5.295E-01 5.196E-01 ...
- 5.262E-01 5.295E-01 4.988E-01 ...
- 5.262E-01 5.122E-01 4.955E-01 ...
- 5.262E-01 5.070E-01 4.962E-01 ...
- DataEnd
- TristimulusY
- DataBegin
- TIS 0.72
- 3.689E+00 3.575E+00 2.907E+00 ...
- 3.689E+00 3.585E+00 3.108E+00 ...
- 3.689E+00 3.585E+00 3.044E+00 ...
- 3.689E+00 3.511E+00 3.143E+00 ...
小结
BSDF数据交换文件格式是由Zemax和RVS公司共同开发的,该格式提供了一个简单快捷的方式将BSDF数据输入到OpticStudio中。输入到OpticStudio中的数据将用于在非序列模式下描述任意物体表面的表面散射分布。
本文来自微信公众号ZemaxChina,推荐关注!