Tuesday, February 19, 2008

Etude 1 - Research 3D anaglyphs

Initially I'm going to explore just trying to get an anaglyph produced and I will concentrate on the other issue of producing an art piece that is viable in 2D and 3D in due course.

I've found a tutorial about producing anaglyphs using photoshop at
http://graphicssoft.about.com/cs/photoshop/ht/3danaglyph.htm
I'm so excited by the idea of producing a 3D picture I'm going to get stuck in and experiment, I will fill in the technical background of what causes the image to appear 3D in due course. In the meantime I also need to buy or make a pair of glasses for viewing my work through.

I think making a picture using Photoshop will be my first port of call as it is the easiest method for me at this stage. I have a digital camera which I will use.
Here are the instructions I found.

1. Obtain two stereo pair photos. (I often use two disposable cameras mounted on a board side by side and with an ever so slight convergence towards the horizon. Remember you're mimicking your eyes and your eyes always end up focusing on something--each eye can never look straight ahead separately. I find the best anaglyphs work with a very low level of convergence.(This is usually evident by the amount of red/cyan silhouetting around objects in a scene.)


I will use one camera and mark it's position on a piece of paper. For the left hand photo, as you are looking through the camera, I will stick a small wedge on the front of the camera to the bottom right corner to make allowance for the convergence mentioned above. Then for the right hand picture I will move the camera to the second marked area and change the wedge to the front bottom left of the camera.

2. Scan each photo separately. (I would recommend desaturating them to make them B&W.)


3. Open left photo in Photoshop (just like your eye, the left photo is identifiable by the fact that objects within the scene are more to the right when overlayed with the other eye.)


4. From the color selector, select color #00FFFF (bright turquoise). The equivalent of this in RGB is R-000 G-255 B-255.(This is also called cyan).


5. Create a layer above the left photo and fill it with this color.


6. Duplicate this layer and go to Image > Adjust > Invert. This will change the color of this duplicate cyan layer to a red color (direct opposite). In RGB the color created will be R-255 G-000 B-000.


7. Open the right photo and copy it, close it and in the left photo (the one to which you added the colored layers), paste it below the red layer.


Now position the 4 layers as follows: The bottom is your right photo. Above it is the red layer. Above it is the left photo and above this is the cyan layer.


If you wish to check the alignment of the two photo pairs you can turn off red and cyan layers and adjust the opacity of the left photo to 50%. Make sure both photos are on the same vertical plane and shift up/down appropriately. When finished change the opacity of the left photo back to 100%.


Turn on the cyan layer and change the transfer mode to screen.


Merge the cyan and left photo layers together. You should now see a very abstract cyan tinted image that will be hard to distinguish in areas.

Turn off this new cyan layer.

Turn the red and right photo layers back on and change the red transfer mode to screen. (Note: You don't need to merge these two if you don't want to.) Again you'll see an abstract red image similar to the cyan before.


Turn on the new merged cyan/left photo layer and change the transfer mode to multiply. Put on glasses (red on left, cyan on right) and you should now see the anaglyph.


Let's see how it goes!

Here are the two original photos prior to processing:-



Below is the anaglyph. In this test run I used slightly too much convergence, therefore, I had to slide the photos within photoshop to correct positions, leaving areas of the photos that didn't overlap, I cropped the piece accordingly.



Here's another test I did I think this one a lot more effective because the sofa is a cleaner, larger focal point. I also adjusted the distance between the overlaid images.



I don't think either of these pieces would work as a solely 2D piece therefore I will carry on experimenting, I may experiment with some moving footage as well which is just for fun.
I think it might be interesting in due course to explore the process of overlapping other anaglyphs within this etude. The overlap idea I've had is to take a pair of photos of from one direction, then moving round the items and take another pair of photos placing the second set over the first set once both have been merged and converted to red and cyan. I though I could process this up to 4 sets of pair images so from front, left, right and rear. I think this may produce something that will be interesting in 2D and 3D. Because it is an experiment I will produce each anaglyph separately and then merge them together in Photoshop a bit at a time. I think the outcome will be interesting. Hopefully this piece may appeal as modern piece of contemporary art for a couple who like a minimalist living environment.
I think I will use still life for this overlap idea as it's a simple. I will get a series of organic items such a fruit and take photos accordingly.

No comments: