-
Notifications
You must be signed in to change notification settings - Fork 47
Expand file tree
/
Copy pathHelideDefinitions.json
More file actions
151 lines (151 loc) · 4.15 KB
/
HelideDefinitions.json
File metadata and controls
151 lines (151 loc) · 4.15 KB
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
{
"info": {
"name": "HELIDE_DEVICE",
"type": "device",
"dependencies": [
"anari_core_1_0",
"anari_core_objects_base_1_0",
"khr_volume_transfer_function1d",
"khr_camera_orthographic",
"khr_camera_perspective",
"khr_device_synchronization",
"khr_frame_channel_primitive_id",
"khr_frame_channel_object_id",
"khr_frame_channel_instance_id",
"khr_frame_completion_callback",
"khr_geometry_cone",
"khr_geometry_curve",
"khr_geometry_cylinder",
"khr_geometry_quad",
"khr_geometry_sphere",
"khr_geometry_triangle",
"khr_instance_transform",
"khr_instance_transform_array",
"khr_material_matte",
"khr_material_physicallyBased",
"khr_renderer_ambient_light",
"khr_renderer_background_color",
"khr_renderer_background_image",
"khr_sampler_image1d",
"khr_sampler_image2d",
"khr_sampler_image3d",
"khr_sampler_primitive",
"khr_sampler_transform",
"khr_spatial_field_structured_regular"
]
},
"objects": [
{
"type": "ANARI_DEVICE",
"parameters": [
{
"name": "allowInvalidMaterials",
"types": ["ANARI_BOOL"],
"tags": [],
"default": true,
"description": "show surfaces with invalid materials"
},
{
"name": "invalidMaterialColor",
"types": ["ANARI_FLOAT32_VEC4"],
"tags": [],
"default": [
1.0,
0.0,
1.0,
1.0
],
"description": "color to identify surfaces with invalid materials"
}
]
},
{
"type": "ANARI_RENDERER",
"name": "default",
"parameters": [
{
"name": "mode",
"types": ["ANARI_STRING"],
"tags": [],
"default": "default",
"values": [
"default",
"primitiveId",
"objectId",
"instanceId",
"embreePrimID",
"embreeGeomID",
"embreeInstID",
"Ng",
"Ng.abs",
"uvw",
"backface",
"hitSurface",
"hitVolume",
"geometry.attribute0",
"geometry.attribute1",
"geometry.attribute2",
"geometry.attribute3",
"geometry.color",
"opacityHeatmap",
"testFrame"
],
"description": "visualization modes (most for debugging)"
},
{
"name": "ignoreAmbientLighting",
"types": ["ANARI_BOOL"],
"tags": [],
"default": true,
"description": "ignore 'ambientRaidance' and 'ambientColor' parameters on the renderer"
},
{
"name": "eyeLightBlendRatio",
"types": ["ANARI_FLOAT32"],
"tags": [],
"default": 0.5,
"minimum": 0.0,
"maximum": 1.0,
"description": "how much eye lighting factor should be used in default render mode"
},
{
"name": "volumeSamplingRate",
"types": ["ANARI_FLOAT32"],
"tags": [],
"default": 0.5,
"minimum": 0.001,
"maximum": 10.0,
"description": "sampling rate of volumes when ray marching"
},
{
"name": "taskGrainSizeWidth",
"types": ["ANARI_INT32"],
"tags": [],
"default": 4,
"minimum": 1,
"maximum": 128,
"description": "grain size of the render task along the width of the frame"
},
{
"name": "taskGrainSizeHeight",
"types": ["ANARI_INT32"],
"tags": [],
"default": 4,
"minimum": 1,
"maximum": 128,
"description": "grain size of the render task along the height of the frame"
}
]
}
],
"functions" : [
{
"name" : "anariNewHelideDevice",
"returnType" : "ANARIDevice",
"arguments" : [
{"name" : "statusCallback", "type" : "ANARIStatusCallback", "default" : "0"},
{"name" : "statusCallbackUserData", "type" : "const void*", "default" : "0"}
]
}
]
}