Git Product home page Git Product logo

unitydomemaster's Introduction

UnityDomemaster

Domemaster package for Unity. Updated for Unity 5. Now works with free version.

Option #1 - 180, 210, 240 Degree Field of View

This uses either 4 cameras to project a 180 degree or 5 cameras to project a 210 or 240 degree circular fisheye projection. The DomeCamera script automatically links to the camera which has the default tag "MainCamera". Alternatively, you can link the camera by assigning the "Target" property of the DomeCamera script. The Domemaster object can be positioned anywhere. Sprite-based particles and other effects do not render correctly.

To use:

  1. Import the "Domemaster" package.
  2. Open up the "Camera Rigs" folder in the Assets tab.
  3. Open up the folder labeled with desired view of view (180, 210, or 240).
  4. Drag the "DomeCamera" prefab to the scene.
  5. Drag the "Domemaster" prefab to the scene.

Option #2 - Camera Shader

This applies a fisheye distortion and circular mask to a normal camera. It does not provide a wider field of view.

To use:

  1. Import the "Domemaster" package.
  2. Open up the "Camera shader" folder in the Assets tab.
  3. Drag the "DomemasterFisheye.cs" script to the camera in your scene.
  4. Drag the "DomemasterFisheyeShader.shader" to the "DomemasterFisheye.cs" script.
  5. Make sure the "DomemasterFisheye.cs" script is active.

Based on previous version by Paul Bourke: http://paulbourke.net/dome/unity3d/

unitydomemaster's People

Contributors

charlesveasey avatar

Watchers

James Cloos avatar Danny avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.