does anyone knows where can i find algo for creating a 3d image(from any imageE) (for glasses red/blue) ?

bye
Posted on 2004-07-07 09:46:47 by eko

does anyone knows where can i find algo for creating a 3d image(from any imageE) (for glasses red/blue) ?

bye


I did something like this a long time ago using Basic on an Atari ST. So I might be mis-rembembering the exact details. But if I remember right you do two 3D images 5 degrees out of sync. One in red, and one in blue. I did a wire cube. One in red, and one rotated 5 degrees in blue. I had some code to animate rotating the two cubes on the screen. And it looked 3D-ish with the glasses on.
Posted on 2004-07-07 10:51:17 by mark_larson
You'll need two images, each one displaced slightly from the other. It's easier to think of it as two cameras, both placed where your eye sockets would be, and both fixated on one point in space. Render both images as greyscale, and then for the first image, strip out the red channel, and for the other image, strip out the blue channel (sometimes cyan channel, green + blue). Then overlap both images. Depending on where they overlap, you'll get either a "pop-out" effect or a "pop-in" effect, or a mixture of both. Experiment with it to see what suits you.

That's the basic idea, of course implementation is a lot more complex.
Posted on 2004-07-07 13:22:40 by iblis
maybe this helpful
Posted on 2004-07-07 15:10:45 by comrade
thanks you all for the info . comrade thanks now i just need to figure out your proc.

if any one has some other info on the algo please post here

thanks

eko
Posted on 2004-07-07 18:45:56 by eko
for left camera you load a series of images that were done with the angle of the left eye
for right camera you do same, but with angle of the right away

anaglyph procedure combines RED channel of the left series with the GREEN+BLUE channels of the right series, producing one series of results
Posted on 2004-07-07 20:53:36 by comrade