Skip to content

Commit ed6e062

Browse files
authored
Create README.md
1 parent 933afdb commit ed6e062

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# LonelyLens
2+
Transform fisheye images to equirectangular projections for use in VR players.
3+
4+
![LonelyLens](https://headjack.io/files/gifs/LonelyLens.gif)
5+
6+
## Usage
7+
The latest `LonelyLens.unitypackage` is available from the [releases](https://github.com/headjack-dev/LonelyLens/releases) page.
8+
9+
You can also clone and use the `headjack-dev/LonelyLens` git repository directly in a Unity project.
10+
11+
Inside, you find a shader, a C# script to enhance performance, and an example scene. You can configure the transformation using the `Angle` º fisheye and `Width` sliders.
12+
13+
`Angle` is the FOV of the fisheye lens used to shoot the image, for example 250º or 180º.
14+
15+
`Width` is the % of the total image frame the fisheye capture covers, see image below.
16+
17+
![LonelyLens width](https://headjack.io/files/gifs/LonelyLens-width.png)
18+
19+
For example, if the image frame is 2000 pixels wide, and the widest point of the fiseye capture is 1600px, then the `Width` slider should be set to `80%` (1600/2000).

0 commit comments

Comments
 (0)