91 lines
2.0 KiB
JSON
91 lines
2.0 KiB
JSON
{
|
|
"id": "fisheye-equirectangular-mirror",
|
|
"name": "Fisheye Equirectangular Mirror",
|
|
"description": "Unwraps a single fisheye lens into a 360x180 equirectangular map by mirroring the rear hemisphere into the same fisheye source.",
|
|
"category": "Projection",
|
|
"entryPoint": "shadeVideo",
|
|
"parameters": [
|
|
{
|
|
"id": "lensFovDegrees",
|
|
"label": "Lens FOV",
|
|
"type": "float",
|
|
"default": 180.0,
|
|
"min": 1.0,
|
|
"max": 220.0,
|
|
"step": 0.1
|
|
},
|
|
{
|
|
"id": "center",
|
|
"label": "Optical Center",
|
|
"type": "vec2",
|
|
"default": [0.5, 0.5],
|
|
"min": [0.0, 0.0],
|
|
"max": [1.0, 1.0],
|
|
"step": [0.001, 0.001]
|
|
},
|
|
{
|
|
"id": "radius",
|
|
"label": "Fisheye Radius",
|
|
"type": "vec2",
|
|
"default": [0.5, 0.5],
|
|
"min": [0.001, 0.001],
|
|
"max": [2.0, 2.0],
|
|
"step": [0.001, 0.001]
|
|
},
|
|
{
|
|
"id": "yawDegrees",
|
|
"label": "Yaw",
|
|
"type": "float",
|
|
"default": 0.0,
|
|
"min": -180.0,
|
|
"max": 180.0,
|
|
"step": 0.1
|
|
},
|
|
{
|
|
"id": "pitchDegrees",
|
|
"label": "Pitch",
|
|
"type": "float",
|
|
"default": 0.0,
|
|
"min": -120.0,
|
|
"max": 120.0,
|
|
"step": 0.1
|
|
},
|
|
{
|
|
"id": "rollDegrees",
|
|
"label": "Roll",
|
|
"type": "float",
|
|
"default": 0.0,
|
|
"min": -180.0,
|
|
"max": 180.0,
|
|
"step": 0.1
|
|
},
|
|
{
|
|
"id": "seamAngleDegrees",
|
|
"label": "Seam Angle",
|
|
"type": "float",
|
|
"default": 0.0,
|
|
"min": -180.0,
|
|
"max": 180.0,
|
|
"step": 0.1
|
|
},
|
|
{
|
|
"id": "fisheyeModel",
|
|
"label": "Fisheye Model",
|
|
"type": "enum",
|
|
"default": "equidistant",
|
|
"options": [
|
|
{ "value": "equidistant", "label": "Equidistant" },
|
|
{ "value": "equisolid", "label": "Equisolid" },
|
|
{ "value": "stereographic", "label": "Stereographic" },
|
|
{ "value": "orthographic", "label": "Orthographic" }
|
|
]
|
|
},
|
|
{
|
|
"id": "outsideColor",
|
|
"label": "Outside Color",
|
|
"type": "color",
|
|
"default": [0.0, 0.0, 0.0, 1.0]
|
|
}
|
|
]
|
|
}
|