Files
tinyusdz/tests/usda/spectral-emission-preset-d65.usda
Syoyo Fujita 4b506dc780 Add LTE SpectralAPI unit test USDA files
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>
2025-11-30 03:41:58 +09:00

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"
}
)
}