Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/keijiro/unity-oblique-projection
Provides an oblique projection matrix for a camera.
https://github.com/keijiro/unity-oblique-projection
Last synced: about 2 months ago
JSON representation
Provides an oblique projection matrix for a camera.
- Host: GitHub
- URL: https://github.com/keijiro/unity-oblique-projection
- Owner: keijiro
- Created: 2013-10-08T23:52:48.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2018-04-06T14:38:33.000Z (almost 7 years ago)
- Last Synced: 2024-08-03T19:09:56.885Z (5 months ago)
- Language: C#
- Homepage:
- Size: 336 KB
- Stars: 77
- Watchers: 10
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-unity-open-source-on-github - unity-oblique-projection - Provides an oblique projection matrix for a camera (Camera)
README
unity-oblique-projection
========================![screenshot]
(https://github.com/keijiro/unity-oblique-projection/raw/gh-pages/screenshot.png)This is a C# script which provides [an oblique projection matrix]
(http://en.wikipedia.org/wiki/Oblique_projection) for an attached camera.Usage
-----1. Import ObliqueProjection.cs.
1. Import ObliqueProjectionEditor.cs into the “Editor” directory.
1. Attach ObliqueProjection to a camera.There are three parameters in ObliqueProjection.
![inspector]
(https://github.com/keijiro/unity-oblique-projection/raw/gh-pages/inspector.png)- Angle: the angle of the third axis.
- Z Scale: the scale factor for the third axis.
- Z Offset: the offset along the third axis. You can use this to
compensate the position of the camera along the third axis.For a detailed example, see [the test branch]
(https://github.com/keijiro/unity-oblique-projection/tree/test).