Monday, August 29, 2011

Music Peace, Making 3D Photoshop content compatible with the Alioscopy 3D Display

First of all, Miles Regis and I would like to thank Adobe, Alioscopy, Intel, The Creators Project, and Vice Magazine for your support of our work. The artwork “The Music Peace” could not have been done without your support and encouragement.

Now I’d like to talk about some of the nitty gritty details in making 3D artwork for the Alioscopy display. In my earlier blog posting titled Miles Regis – Behind the Scenes “Making of a 3D art Piece for Coachella” you probably all caught me saying “and with some slight of hand--we can create a 3D file compatible with the autostereoscopic display from Alioscopy.”

This blog post takes a closer look at how we used Photoshop to create files compatible with the Alioscopy autostereoscopic display.

If you want to learn more about autostereoscopic displays, here's a good starting point describing the technology. Autostereoscopic displays are simply displays that let you perceive 3D without having to wear special glasses. If you remember what 3D postcards where like, autostereoscopic displays are very similar to those. Adobe Photoshop already has the ability to generate 3D postcards. So my job was to figure out what twists and turns I might need to make to get this built-in ability to be useful for the Alioscopy autostereoscopic display.

For those interested, there is a great book by those folks who have taken a lead role in creating Photoshop for us, (including Zorana Gee and Pete Falco) called 3D in Photoshop – The Ultimate Guide for Creative Professionals. At the back of the book you can find a sample of one of those 3D postcards I’ve been describing. The basic techniques I used to create the artwork were from chapter 8 of the book, entitled, “3D and Compositing with Bert Monroy” particularly section 8.1 “Simple Complexity”. These pages describe some of the many features built into Photoshop that allow you to create 3D environments. In particular, I heavily used the tool called “3D postcard from layer”. I provided a very detailed account in a previous post of how I created the original 3D image, so I won’t go into that here. Let’s assume you’ve already created a 3D image in Photoshop, and discuss you how to get it on an Alioscopy display.

In order to do this, all you really need to know are some details about the Alioscopy display, the image you have made, and of course how Photoshop creates lenticular images. Everything you need is already there--it just needs to be “translated” a bit.



SIDEBAR
Alioscopy displays are known as 8-view displays. This means that 8 views are encoded into the display, and are repeated over the entire width of the display. Each eye sees one of those 8 views, i.e. our brain receives two views from the eight and constructs a stereoscopic understanding of the image. Depending on how far apart your eyes are, your left eye might see view 1, and your right eye might see view 2. If you move your head a bit to the right, this changes to the left eye seeing view 2, and the right eye now seeing view 3. You can move your head around within the 8-views and see perfect 3D. However, if you move your head too far to the right, where your left eye is seeing an image from the 1st 8-views, and the right eye sees an image from the 2nd 8-views, the 3D no longer works. Don't panic, just move your head a bit further and all will be restored to proper 3D vision.



Since Alioscopy displays are 8-view displays, we need to get the lenticular grid and the dot-per-inch image resolution to match the 8-view (1 view per pixel) encoding. The other caveat is that Alioscopy has a proprietary format to which images are encoded for their displays. What Photoshop creates for lenticular formats is not directly what Alioscopy needs for their displays. However, Alioscopy has been kind enough to provide a utility that converts to this format. So the actual process becomes as follows:

  1. In Photoshop – Set up the image resolution and lenticular grid to match the 8-view displays.
  2. In Photoshop -- decode the lenticular image, and create 8 output images--one for each view of the Alioscopy displays.
  3. Use the Alioscopy utility (mix8) to recombine the 8 images into an Alioscopy 8-view image.
  4. Display the image on the Alioscopy display, and voila it is 3D!

So now let's do it together:



First, set up the image resolution and lenticular grid to match the 8-view displays. All the work I've done was with images set to 72dpi. To check this, go to:




Now go into the 3D lenticular settings, and set the lenticular grid LPI (lines per inch) to 9.



Since 72dpi divided by 9 LPI, yields 8, this is exactly the 8-views we need! If you want to work at higher dots per inch you are welcome to do so, just make sure your dpi/lpi = 8 for 8-view displays like the Alioscopy.

Next, we need to decode the lenticular image into eight separate images. This part was a bit tedious at first, but thankfully Pete Falco, has written a script to accomplish this. The principle of the script is to take the lenticular image, break it into pieces and write out the 8 individual images. The script assumes a specific directory structure for its output images. This structure matches the needs for the Alioscopy utility “mix8” which we will use next. The output directory structure must be:




Finally, we run the utility “mix8” which combines the 8 images back into a single image ready for viewing on an Alioscopy display.


And we are done!






.

Thursday, April 21, 2011

Miles Regis -- Behind the Scenes "Making of a 3D art Piece for Coachella"

Welcome to behind the scenes in "Making of a 3D art piece for Coachella."

Artists: Miles Regis and co-creator Brian Quandt
Title: "Art Music World Peace"
Developed: Late March to mid April 2011
Studio: Milk Studios Los Angeles California
Presented: Coachella, Indeo California, April 15-17, 2011
Sponsored by: The Creators Project, Intel, Vice Magazine
Contact Information: Brian Quandt, brian.quandt@gmail.com, 323-743-3639 
Press Release: Art Coachella

Wow were we surprised when we arrived at the location that our photographer acquired for the shoot! Brian Higbee got us Milk Studios for the day. Thanks to all of Milk and especially Shaun Murdock.


Here's some pictures we took as we walked through the space:














And now to get to work.

As you can see, Miles likes to paint with the canvas on the floor, while wearing sunglasses, even though we are inside. Guess that's Hollywood for you. I'm not sure I can place the music they were blaring. Then again, I'm the tech-y side of the artistry and probably wouldn't know the band even if you told me (unless it was Kraftwerk or something).

We set up a camera above Miles with strobes off to both sides. We stabilized the rig as much as possible and then computer controlled this from an Intel based Apple iMac.

The basic process is for Miles to paint some stuff, take a picture, paint more stuff (another layer) and take another picture. This was repeated for as many layers as we felt was necessary.

While I can't recall exactly how many layers we ended with for the Coachella 3D art piece, I think it was about twenty layers.


The next step in the process is to take all the images into Adobe Photoshop and process them. Amazingly, Adobe Photoshop CS5 has everything in it we need to turn Miles' work into 3D! There was no million dollar fancy post production tool, no gang of a thousand all doing some specialized job, like I'm so familiar with in the feature film world. It was all done on my nifty Intel i7 system with a couple of SSD drives, and the latest Adobe CS5 Production Premium.

Step 1 -- Separate all the layers:
The goal is to generate layers which only contain paint which was just recently added, i.e. since the last time a picture was taken. In short we want to create mattes or separations, of all the pictures taken of the artwork.


We load the first picture taken of the artwork into Photoshop. Then we load the next picture taken into Photoshop, but load it as a layer on top of the previously loaded image. Then we use the tools-built in to Photoshop to sort out and separate the layers.


Step 2 -- Make it 3D:

Then we bring all the separate layers into Photoshop and stack them.




Next we convert all the layers into 3D objects using Photoshop's internal features and then merge them. Now we have a single object that can be manipulated in 3 space.



Here you can see all the layers as one 3D object, I'm can then manipulate the object and place the art in its final 3D location.


Finally, I render a 3D lenticular to create an image suitable for a lenticular display. You can use the options here to render, using some slight of hand, to lots of formats. I've been able to use these tools to create full res material for Real-D 3D theaters (ie 3D DCP's) and of course in our specific needs for Coachella, files which work on an Alioscopy auto-stereo display.

There is of course lots more to this, which we'll cover in later blogs, but I hope this gives you all an idea how we used the Adobe Photoshop 3D tools to create art. Frankly, it has been a blast to do, okay sometime tedious, but definitely rewarding. Thanks to everyone at Adobe, Intel, The Creators Project, Vice, and other who have helped and support both myself and Miles in this process!




Other related items...
  • video, Making of The Music Peace, CES and Coachella, plus a special "3d fly thru" at the end of the video
  • Los Angeles KTLA Cyberguy video from CES, 30seconds in is Miles Interview

Miles Regis Goes to Coachella 2011

Miles Regis (www.milesregis.com) goes to Coachella as part of The Creators Project. Here's the press release: ArtCoachella

I'm going to post some behind the scenes details on this shortly.