mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
17 test files covering spectral data parsing: Reflectance tests: - spectral-reflectance-001.usda: Basic wavelength:reflectance - spectral-reflectance-002.usda: With linear interpolation metadata - spectral-reflectance-003.usda: With cubic interpolation IOR tests: - spectral-ior-001.usda: Basic wavelength:ior - spectral-ior-002.usda: With linear interpolation - spectral-ior-sellmeier-001.usda: Fused silica Sellmeier coefficients - spectral-ior-sellmeier-002.usda: BK7 glass Sellmeier coefficients Emission tests: - spectral-emission-001.usda: Basic wavelength:emission - spectral-emission-002.usda: With interpolation metadata - spectral-emission-preset-*.usda: D65, D50, A, F2 illuminant presets Other tests: - spectral-stage-metadata-*.usda: Stage-level unitForWavelength - spectral-held-interp-001.usda: Held interpolation - spectral-material-binding-001.usda: Complete material with binding 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
310 B
Plaintext
16 lines
310 B
Plaintext
#usda 1.0
|
|
(
|
|
doc = "Test: Spectral emission with D65 illuminant preset"
|
|
)
|
|
|
|
def DistantLight "TestLight"
|
|
{
|
|
float inputs:intensity = 1.0
|
|
color3f inputs:color = (1.0, 1.0, 1.0)
|
|
float2[] wavelength:emission = [] (
|
|
customData = {
|
|
string illuminantPreset = "d65"
|
|
}
|
|
)
|
|
}
|