-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathkhr_light_ring.json
97 lines (96 loc) · 3.77 KB
/
khr_light_ring.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"info" : {
"name" : "KHR_LIGHT_RING",
"type" : "extension",
"dependencies" : []
},
"objects" : [
{
"type" : "ANARI_LIGHT",
"name" : "ring",
"description" : "ring light object",
"parameters" : [
{
"name" : "name",
"types" : ["ANARI_STRING"],
"tags" : [],
"description" : "optional object name"
}, {
"name" : "color",
"types" : ["ANARI_FLOAT32_VEC3"],
"tags" : ["color"],
"default" : [1.0, 1.0, 1.0],
"minimum" : [0.0, 0.0, 0.0],
"maximum" : [1.0, 1.0, 1.0],
"description" : "color of the light"
}, {
"name" : "position",
"types" : ["ANARI_FLOAT32_VEC3"],
"tags" : ["point"],
"default" : [0.0, 0.0, 0.0],
"description" : "position of the light source"
}, {
"name" : "direction",
"types" : ["ANARI_FLOAT32_VEC3"],
"tags" : ["direction"],
"default" : [0.0, 0.0, -1.0],
"description" : "the axis the ring is pointing at"
}, {
"name" : "openingAngle",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 3.14159265359,
"description" : "opening angle in radians"
}, {
"name" : "falloffAngle",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 0.1,
"description" : "falloff angle in radians"
}, {
"name" : "intensity",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 1.0,
"description" : "overall amount of light emitted in a direction in W/sr"
}, {
"name" : "power",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 1.0,
"description" : "overall amount of light energy emitted in W"
}, {
"name" : "radius",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 0.0,
"description" : "outer radius of the ring"
}, {
"name" : "innerRadius",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 0.0,
"description" : "inner radius of the ring"
}, {
"name" : "radiance",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 1.0,
"description" : "the amount of light emitted by a point on the light source in a direction in W/sr/m^2"
}, {
"name" : "intensityDistribution",
"types" : ["ANARI_ARRAY1D", "ANARI_ARRAY2D"],
"elementType" : ["ANARI_FLOAT32"],
"tags" : [],
"description" : "luminous intensity distribution for photometric lights"
}, {
"name" : "c0",
"types" : ["ANARI_FLOAT32_VEC3"],
"tags" : [],
"default" : [1.0, 0.0, 0.0],
"description" : "direction of the C0-(half)plane"
}
]
}
]
}