Skip to content

Projection Mapping workshop for Gray Area CreativeCode.io Immersive, 2014

Notifications You must be signed in to change notification settings

elekezem/projection-mapping-worshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Projection Mapping Workshop

Gray Area Creative Code Immersive, 2014

http://creativecode.io

Description

Projection-mapping techniques allow you to paint with projected light onto physical shapes.

Meeting Times

6 - 9pm, Tue Aug 19
6 - 9pm, Thur Aug 21
12 - 6pm, Sat Aug 23

Location

Gray Area
2665 Mission St
San Francisco, CA 94110

Instructor:

Gabriel Dunne
[email protected]
gabrieldunne.com

Technology

Projection mapping is an effect of Chiaroscuro, which is the art "use of contrasts of light to achieve a sense of volume in modelling three-dimensional objects and figures."

Examples

Pablo Valbuena

Xavier Chassaing

Dev Harlan

AntiVJ

Obscura Digital

Bot & Dolly

Nobumichi Asai

Masaru Ozaki

Kyle Mcdonald, Jonas Jongejan

More...

Software

Any software is usable if it can create, distort, and texture geometry and/or flat planes.

Code Frameworks

Software Packages

Automatic Calibration

====

Day 1, Aug 19 2014, 6-9pm

Quad Mapping

In its simplest form, the light cast from a typical project is typically a rectangle.

A straightforward way to map graphics to a surface is to draw to a quad, and "corner pin" the quad to match the perspective of the projected image.

Using this hand-mapping technique, we can draw a series of rectangles that are hand-mapped onto the scene. This is great for:

  • Simple Shapes
  • Images
  • Video

Processing

Marcin Ignac has an example for Processing, aptly named [Projected Quads](Projected Quads. Try putting your own graphics in Processing's draw loop, and modifying the projected quads to match an object.

Example for Processing

Key Commands:

'd' toggle debug mode
'S' save settings
'L' load settings
'>' select next quad in debug mode
'<' select prev quad in debug mode
'1', '2', '3', '4' select one of selected quad's corners 
Arrow keys (left, right, up, down) move selected corner's position (you can also use mouse for that)

Keystone is a Quad Mapping Library for Processing. Install by searching for 'Keystone' from the 'Import Library' Dialogue in Processing. Keystone works by creating offscreen buffer object that can be drawn to, and then quad mapping the result.

Example for Processing

'c' toggles calbration mode
'l' load layout
's' save layout

Mesh Mapping

By manipulating a mesh, we are effectively interleaving form and software geometry.

OpenFrameworks

====

Day 2, Aug 21 2014, 6-9pm

Computer Vision

Computer Vision techniques use matrix transformations to approzimate focal distortion through a lense. This method distorts the frame of reference based on a pattern, or markers on a physical object, usually read by a camera, sensors, or manual input.

ProCamToolkit is a modular toolkit developed with YCAM Interlab by Kyle Mcdonald, built with OpenFrameworks. It's collection software and code for openFrameworks aimed at making high level projector-camera calibration more accessible.

Mapamok is a module of ProCamToolkit used for for exploring projection mapping. It includes features for matching geometry to space using camera vision, rapid prototying with GLSL Shaders, and camera calibration tools.

Manual Calibrated Optical Mapping with Mapamok

Download Mapamok

After downloading Mapamok, grab the grandtheater.dae file in the assets/ folder of this repo, and put it inside Mapamok data folder. Rename the "grandtheater.dae" to "model.dae". You'll have to rename the original "model.dae" to something else.

Then, follow along with the [Mapamok Tutorial](https://github.com/YCAMInterlab/ProCamToolkit/wiki/mapamok-(English).

====

Day 3, Aug 23 2014, 12-6pm

Projectors

DLP

DLP stands for digital light processing. These projectors use tiny mirrors to reflect light toward the screen (an "on" pixel) or away (an "off" pixel). Most use a color wheel -- literally a spinning wheel with color filters -- to create sequential color. Some high-end models use three DLP chips; one each for red, green, and blue. DLP projectors range in price from a few hundred dollars to tens of thousands, and more. Most projectors in movie theaters use DLP. A challenge imposed by DLP projectors is that unless you are filming them with a high-end camera, you will see banding on most consumer digital cameras.

Pros of DLP:

  • Great color accuracy
  • Great contrast.
  • Best contrast ratios and shadow detail.
  • Same technology as projectors installed in digital theaters.

Cons of DLP:

  • On some projectors, viewers can detect a color breakup effect called the "rainbow" effect.
  • Sometimes color saturation is not as good as LCD or home theater DLP projectors.

LCD

LCD, i.e., liquid crystal display, is the technology found in most TVs. LCD projectors use three liquid crystal panels, each tasked with creating an image using just one of the primary colors (red, green, and blue). All three are projected on the screen at once, so you see a full color image. LCD projectors range in price from a few hundred to several thousand dollars. LCD projectors will film properly with hand-held and consumer cameras, they are ideal for documenting projection works.

Pros of LCD

  • Very bright
  • True high definition models are the least costly of any technologies with 720p models starting at under $2k.
  • Great color saturation.
  • 1000 lumen and lower models will usually have long lasting lamps.
  • Cna be filmed with consumer cameras w/out banding.

Cons of LCD

  • Dead pixels are common.
  • Contrast ratios are lower than those on DLP projectors.
  • Shadow detail and absolute black levels fall short of DLP powered projectors.
  • Panel convergence problems (where the three LCD panels don't align properly producing a noticeable color halo around each pixel) are common.
  • LCD panels are organic and lose image quality over time. The less the machine is used each day, the less of a problem this is. Projectors that are used for over eight (8) hours a day can exhibit problems fairly quickly.
  • Color uniformity across the image is lower than that of DLP powered projectors.

LCoS

LCoS, or liquid crystal on silicone projectors, came along at about the same time as DLP powered projectors. It is a bit of a hybrid between LCD and DLP LCoS technology is also referred to as reflective LCD, while individual manufacturers use their own names. Sony and JVC are the primary manufacturers of LCoS projectors, which they call SXRD and D-ILA, respectively. LCoS projectors range in price from a few thousand dollars to a few models that are in the tens-of-thousands range.

Pros of LCoS:

  • LCoS resolutions tend to start at SXGA enabling native 720p high definition images to be shown.
  • Like LCD, LCoS machines can be very bright.
  • Offers a very smooth, film-like image due to its pixel structure.
  • Great color saturation and accuracy.

Cons:

  • Can be pricey, although based on resolution, the cost is not much more than that of DLP.
  • Dead pixels are more visible than with other technologies and happen as often as with LCD's.

====

Projector References:

Workshop: Quad Mapping with Processing (OpenGL)

Navigate to the examples/ folder in this repo and open ProjectedQuadsGLShaders example. This example is based on the Quad Mapping tutorial from the first day, but includes Video and GLSL Shaders.

Added Features

  • Ported to OpenGL
  • Live Video Textures
  • GLSL Shaders
  • Shader Uniforms are passed into the shaders-
  • Live Shader Reloading

Updated Key Commands

'SPACE' toggle debug mode
's' save settings
'l' load settings
',' select next quad in debug mode
'.' select prev quad in debug mode
'1', '2', '3', '4' select one of selected quad's corners 
Arrow keys (left, right, up, down) move selected corner's position (you can also use mouse for that)

CLASS CHALLENGE! . . .

  • Use the toolkit of your choice to map the theater
  • Consider which architectural elements in the theater you want to map
  • Use mesh mapping, quad mapping, CV methods, mapamok, or combination.
  • Balance your the time spent modeling, content, installation, calibration
  • Group work is encouraged! Divide up tasks, share amongst teams.

About

Projection Mapping workshop for Gray Area CreativeCode.io Immersive, 2014

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Processing 84.6%
  • C 15.4%