3D stereo rendering (3D glasses)?

Hi to all.
Do you know anything about support for 3D stereo rendering (3D glasses) in Blender Game Engine?
Best regards.
Mihai

Yeah, open the ā€˜game framing settingsā€™ button in the render buttons window. Select ā€˜anaglyph.ā€™ Hope that helps!

~~Stu_Flowers

woah! thats crazy I never knew you can do that thanks!

me neither woot

now where do i get some 3d glasses?

This doesnā€™t work for me. Both of the images are exactly the same.

Run a search on anaglyphic glasses, you should be able to find them pretty easily. Theyā€™re pretty cheap I think (at least the paper ones like I have). If you ever sold a game you made, you could package a pair of them with it and give the player the option of playing that way. Donā€™t expect to be thrilled, though. The red and blue lenses really detract from the graphics quality IMO.

Here, I dug this up:

http://www.rainbowsymphony.com/freestuff.html

Theyā€™ll give you a free pair of anaglyphic glasses if you send a SASE (Self Addressed Stamped Envelope).

Edit: I have noticed that on my system, using Anaglyphic Stereo causes a severe cut in framerate (dropped from 13 fps, which is average for my gfx card, to 0.445 fps).

Wicked! Omg! I, what, ehā€¦bleh blah bluhā€¦ WII!!!

Please donā€™t spam us with useless posts, James. If you want to say something useful, go outside and shout it out at the top of your lungs! But donā€™t shout it here.

Roger that! Itā€™s just that Iā€™ve been looking for that feature for quite some time, and when finally I see it, itā€™s just pawnage!

Thereā€™s also side by side viewing method available in Blender and it works without any devices. Just cross your eyes so that left eye sees the right image and right eye sees the left image. This may take some practise and is not very convenient for gaming in long term :wink: These glasses may help: http://www.pokescope.com/pokescopeinfo.html

Regarding ā€œrealā€ 3d-glasses (shutter etc.) I think they would work in Blender games as well as in other games because Nvidiaā€™s stereo driver supports OpenGL applications and doesnā€™t require application specific support. Obviously Nvidiaā€™s graphics card is neededā€¦

Woah! I didnā€™t know so many people didnā€™t know about that. I just happened to stumble across it one dayā€¦

1 Like

If your looking into anaglyph (red/blue), youā€™ll probably want the script in this thread to play with the distance between the blue and red images.
If youā€™re looking at shutter glasses, (page-flipping), they have their own adjustment, it comes with the driver. Note that (as I understand itā€¦correct me if this is false info) you need to have a full window open to use shutter glasses, at least in windoze.
If youā€™re looking at polarized glasses, like you get in movie theaters these days, donā€™t, unless you have a monitor that can support it - most donā€™t.
Last comment: Iā€™ve got shutter glasses, and theyā€™re gathering dust. Blah, its cool the first time, but then it just kinda gets irritating. (100% personal opinion, of course.:wink: )

Eku: You donā€™t need a fancy script to change the eye separation. Itā€™s built in to the Rasterizer module. You will need to use a Python controller to change it, though.

import Rasterizer

Rasterizer.setEyeSeparation(<i>insert a float value here</i>)

You are aware that, while the spelling ā€œpawnageā€ is accepted, the standard spelling of the word is ā€œpwnageā€ and that the appropriate pronounciation is ā€œownageā€, correct? Hereā€™s a useful link: http://en.wikipedia.org/wiki/Leet

Hi again
The anaglyph method is the simplest one but I want to use Head-mounted displays for stereo rendering in my project.
Best regards.
Mihai

Okā€¦ Iā€™ve tried, but I dont get itā€¦ I write that bit of codeā€¦ add an empty, make an always sensor connected to python, and the script?

Here you go James:

www.blendenzo.com/Files/EyeSeparationDemo.blend

Thanks mate, but could you make me a pre-configureable one? Like a fixed value on start?

Okay. Here it is. I just stuck a ā€œOnceā€ sensor on the camera and hooked it to a script called ā€œInitialize.pyā€. Just change the number in the setEyeSeparation() function to get your desired result. Iā€™ve got it set at .001 right now.

The file: www.blendenzo.com/Files/EyeSeparationPreConfig.blend

(BTW, for those who may not know, what I call a ā€œOnceā€ sensor is an Always sensor with Positive Pulse Mode turned off. It fires once at startup and never again, unless you use Python code to reactivate it. ā€œOnceā€ sensors are great for initializing things like global variables, custom settings, and TrackTo Actuators.)

EDIT: Just so you know, the Rasterizer module also includes the functions ā€œgetFocalLength()ā€ and ā€œsetFocalLength()ā€ for stereo mode.

Thanks mate :slight_smile: For now Iā€™ll stick with thisā€¦