★ wanayoo — archive 1999 https://github.com/joansolroo/ProjectionExamples-UsingMirrorsNouvelle recherche | Portail wanayoo
Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Projectors and Mirrors

A simple project showing how rays of light interact with mirrors, and how the physical and optical centers of the image are affected.

Getting Started

Download the project and test it inside the Unity3D editor. It was developed using 2018.3.5f1.

Explanation

The scene contains one physical projector and two mirrors. The target of the scene is to project over the box (sandbox). The white ray is the projection of the physical forward of the projector, while the blue ray is the projection of the optical centre (different if there is a lens shift/tilt).

By rotating and moving the mirrors, the position and orientation of the virtual projector will adjust accordingly as long as the white ray hits the target surface. This will provide a solution as long as the white ray hits the target surface.

No alt-text yet

All the work is done by the RayCastCamera script attached to the physical projector. It is possible to set some parameters, notably if it needs to be recomputed or display options.

No alt-text yet

NOTE: Given that layers are problematic when doing SAR (because they are used for rendering), at the moment the ProjectionTarget and Mirror gameobjects must be tagged using the corresponding MonoBehaviour.

About

This is a simple example of how projectors interact with mirrors.

Resources

License

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.