ProjectionPlane#
This projection method is based on providing three corner points that are used to construct a virtual image plane. The units of the positions are all relative to the user’s position so are ultimately arbitrary.
type
string = “ProjectionPlane”Defines the type of this projection.
lowerleft
vec3The position of the lower left corner of the projection plane relative to the User’s position. The units for these values are arbitrary.
upperleft
vec3The position of the upper left corner of the projection plane relative to the User’s position. The units for these values are arbitrary.
upperright
vec3The position of the upper right corner of the projection plane relative to the User’s position. The units for these values are arbitrary.
Example#
{
"version": 1,
"masteraddress": "localhost",
"nodes": [
{
"address": "localhost",
"port": 20400,
"windows": [
{
"pos": { "x": 50, "y": 50 },
"size": { "x": 1280, "y": 720 },
"viewports": [
{
"projection": {
"type": "ProjectionPlane",
"lowerleft": { "x": -1.778, "y": -1.0, "z": 0.0 },
"upperleft": { "x": -1.778, "y": 1.0, "z": 0.0 },
"upperright": { "x": 1.778, "y": 1.0, "z": 0.0 }
}
}
]
}
]
}
],
"users": [
{
"eyeseparation": 0.06,
"pos": { "x": 0, "y": 0, "z": 4.0 }
}
]
}
