Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nickkraakman authored Nov 20, 2017
1 parent 933afdb commit ed6e062
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# LonelyLens
Transform fisheye images to equirectangular projections for use in VR players.

![LonelyLens](https://headjack.io/files/gifs/LonelyLens.gif)

## Usage
The latest `LonelyLens.unitypackage` is available from the [releases](https://github.com/headjack-dev/LonelyLens/releases) page.

You can also clone and use the `headjack-dev/LonelyLens` git repository directly in a Unity project.

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.

`Angle` is the FOV of the fisheye lens used to shoot the image, for example 250º or 180º.

`Width` is the % of the total image frame the fisheye capture covers, see image below.

![LonelyLens width](https://headjack.io/files/gifs/LonelyLens-width.png)

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 comments on commit ed6e062

Please sign in to comment.