forked from KhronosGroup/ANARI-SDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkhr_camera_perspective.json
69 lines (68 loc) · 2.45 KB
/
khr_camera_perspective.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
{
"info" : {
"name" : "KHR_CAMERA_PERSPECTIVE",
"type" : "extension",
"dependencies" : []
},
"objects" : [
{
"type" : "ANARI_CAMERA",
"name" : "perspective",
"description" : "perspective camera object",
"parameters" : [
{
"name" : "name",
"types" : ["ANARI_STRING"],
"tags" : [],
"description" : "optional object name"
}, {
"name" : "position",
"types" : ["ANARI_FLOAT32_VEC3"],
"tags" : ["point"],
"default" : [0.0, 0.0, 0.0],
"description" : "camera position"
}, {
"name" : "direction",
"types" : ["ANARI_FLOAT32_VEC3"],
"tags" : ["direction"],
"default" : [0.0, 0.0, -1.0],
"description" : "main viewing direction"
}, {
"name" : "up",
"types" : ["ANARI_FLOAT32_VEC3"],
"tags" : ["direction"],
"default" : [0.0, 1.0, 0.0],
"description" : "camera up direction"
}, {
"name" : "imageRegion",
"types" : ["ANARI_FLOAT32_BOX2"],
"tags" : [],
"default" : [0.0, 0.0, 1.0, 1.0],
"description" : "region mapped to the frame"
}, {
"name" : "fovy",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 1.0471975512,
"description" : "vertical field of view in radians"
}, {
"name" : "aspect",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"default" : 1.0,
"description" : "aspect ratio"
}, {
"name" : "near",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"description" : "near plane clip distance"
}, {
"name" : "far",
"types" : ["ANARI_FLOAT32"],
"tags" : [],
"description" : "far plane clip distance"
}
]
}
]
}