Cool crane with 3D effect - with 3D glasses only

I just found this frenchman’s website http://laurent.despeyroux.free.fr/gimp/image3d.html, and could not resist trying w/ Blender:

http://www.hpks.com/artsy-funny/crane2.jpg

I wish I had some 3D Glasses, last week I just threw a pair away, cleaning out my three year olds toy box. Oh! Well…

The NDN…

ndnchief,

actually, it was pur luck for me. A colleague of mine had a pair (from a silly ad in a paper) AND while trying to learn some scheme for Gimp, I stumbled upon this guy’s site. I put the 2 together (w/ blender, of course).

Use the left camera for the red if your glasses’ left eye is red, and keep the green-blue for the second shot (that makes sense when you compose the picture w/ gimp and if you read the tutorial ref-ed above… AND don’t try to think that your camera is an eye… KEEP THE SHOTS PARALLEL!! it works much better. I tried using a point to aim at, but that’s not good.

:o :o :o :o :o :o :o , I couldn’t resist to grap up one of my 3d glasses from a dinosaur book with also some picture like this. And I tested this, great, cool awesome, It really work. Dude I defently have to try this, this reall rocks. lol Ooh great, I didn’t trow them away, I knowed I had to use them sometime. :smiley:

GREAT IDEA!!! The model looks realy good :smiley:

:o How about a Python Script that does this as you work :smiley: , probably more for fun than actually for work, but then maybe blender games could have this, Fun? Possible?

Ken

at the blender conference, someone had a setup that would play games in this mode :slight_smile:

it was neato

Roel

I also found back my dinosaur glasses, and this is really cool!
pitty it’s done with those red/green glasses. In Futuroscope in France it were uncoloured glasses, so the colours stayed the same (you’ve got those in disneyland too). You also had a new type of glasses that did the 3D fx even better…

well anyways, very cool :smiley:

editbtw, you’ve got 3D glasses for regular movies too. They basically switch of “screen” (left - right) for every frame, and they say this gives a 3D feeling too…

ME TOOOOOOOOOOOOOO

maybe we all have the same dinosaur book LOL

ha ha ha, the funny thing is i recently did a university assignment using red/green 3d

one question that does interest me is the fact that the cameras were parrellel i never did that and now that i think about it, its better to be parellel.

Alltaken

Most 3d glasses now use polarized lenses which block out every other frame, thus showing each eye a particular image. The effect is VERY good, even though you sit down and think its going to be lame. Unfortunately I dont’ see a way to make this possible with regular computer screens.

well sorry desoto but THEY ALREADY HAVE THEM.

yes i could have bought a video card that came with 3d glasses that hooked into the computer and made things 3d.

pity is you would need software to be able to use this feature, i would personally LOVE blender to have this feature. i would instantly go out and get some glasses.

i have had dreams of making films running at 50 frames per second using alternate eye 3d methods.

it would be very cool.

Alltaken

Can you post a little axplaination how you did this, I tried it too. But I didn’t get the cool 3D view when I watch it with my Deagostini Dinosaur 3D glasses. :frowning:

How about a Python Script that does this as you work , probably more for fun than actually for work, but then maybe blender games could have this, Fun? Possible?

Indeed, save your time, there is no need to do this manually in Gimp. If you have the full python and PIL ( http://www.pythonware.com/products/pil/ ) installation, this is a piece of cake :wink: Here is the …


"""(c)www.stani.be, created in spe http://spe.pycs.net"""
import Image

def image3d(image1,image2,saveAs='3Dimage.png',offset=(24,0)):
    """Converts any two images to its 3d image"""
    #open images and get size
    image1 = Image.open(image1).convert('RGB')
    image2 = Image.open(image2).convert('RGB')
    size=image1.size
    #split into red, green & blue
    red1, green1, blue1 = image1.split()
    red2, green2, blue2 = image2.split()
    #offset the bands
    x,y=offset
    x/=2
    y/=2
    red   = Image.new('L',size)
    green = Image.new('L',size)
    blue  = Image.new('L',size)
    red.paste(red1,(-x,-y))
    green.paste(green2,(x,y))
    blue.paste(blue2,(x,y))
    #create and save 3d image
    Image.merge('RGB',(red,green,blue)).save(saveAs)


If you want to play around with Python and Blender, install spe ( http://spe.pycs.net )!!! It will make your life much more easy :wink:

Good luck,
Stani

http://www.stani.be

grrr. I left my “spy kids 3d” glasses at work. gotta go get 'em on monday to see this.
(ps nice model- terrible movie)

umm how about downloading the PLUGIN, called RG stereo plugin or somthing.

thats what I use for mine.

just set up two cameras/scenes then in the sequencer use the plugin and it renders it out for you :wink:

i could send the plugin to you guys if you need, i don’t know if its still on the net.

Alltaken

no guys, those polarized flicker glasses work on any comupter, no software, and any program (well games at least). The flicker per eye, per refrech on your screen and it creats a false 3d effect. it’s cool, you can almost reach into the screen.

nayman that theoretically isn’t 3d at all.

becasue the alternate frames are the exact same image or similar LOL

but you did say FALSE 3d so hey i forgive you. but for true 3d its much more complex.

Alltaken

Alltaken - close one eye and look around the room. Is what you’re seeing “3d”? now close that eye and open the other and do the same. Looks pretty much the same doesn’t it? Your eyes are only a few inches apart. The images they see are pretty much the same. But it gives you depth perception because your brain can notice the differences and infer distance from that information. His crane image is the same concept. Sure its not real 3d. Its on a computer screen so it can’t be.

desoto WHAT ARE YOU ARGUING???

ha ha ha ha i know all this i was saying about using flicker glasses on a game that hasn’t been software setup to suport 3d.

Alltaken

Hello All. Back from a labor intensive week-end.

Glad to see you too liked the idea.

I see that someone offerred a Python Script. Thanks. I have to try it. In the meantime, I will explain my “by hand” method HOWEVER this assumes that you have Gimp loaded (although I guess Photoshop will do the same).
The URL that got me started is here (it explains the gimp part)

http://laurent.despeyroux.free.fr/gimp/image3d.html

Create your scene.
Move to a top view, far enough to have both the scene AND the camera.
Take your first shot (F12) and save the result say as “LEFT.TGA”
Then move your camera a little bit to the right. Just a bit is easy.
I you select the camera, use the “G-key” use the right arrow keys (tap twice, that should suffice).
IF your camera has a strange angle, translate the camera parallel to the plane of the picture (I guess that would be
perpendicular to the line that goes from the focal point to the center of the camera: DO NOT TRY TO IMITATE THE CONVERGENCE
OF THE EYES: the result is terrible). In any case, don’t move the camera too much (after all, at scales, your eyes are just a few centimeters apart)
Take your second shot, and save it a “RIGHT.TGA”.

Here, the background is black, so maybe it helps (I have yet to try on a really complex scene, and I’m dying to, but I was doing
a ceilling this week-end, and I will be busy w/ this project in the next few days - maybe weeks - ).

Anyway, go to gimp, and follow the instruction laid out by Laurent (if I remember his name correctly).

GIMP part:
I haven’t checked his English translation, but here is my added wisdom:
For the LEFT.TGA, just keep the RED component of the image (image -> decompose). Use politics to remember which component goes to the left :slight_smile:
Don’t close this last one.
Open RIGHT.TGA, decompose it (image -> decompose) keep the blue and green components.

Now, select the Red component, and if you right click -> image, now you see that the menu option “compose” is active. So right click on the red component, image -> compose.
Automatically, RED is assigned to the red part. Select the 2 other ones accordingly (green, select right… green
blue, select right grayscale component blue).
And BINGO!!

Hope it helps (but again, refer to the URL above for tutorial for the Gimp).

As far as using the LCD glasses, I don’t know. For them to work, you need to display 2 pics in alternance, for the left and right eye, so you need to flip back and forth between 2 renders. In short, I don’t think that Blender is tooled to work this out fast enough.
On the other hand, I am sure that GIMP Cinema (as it’s known) would be great to be scripted to re-compose a complete movie. But between certainty and practice…

Cheers, Arnaud