Loading...
Logo
Processing Forum
Hi,

I am interested to create a stereoscopic 3D processing sketch to run off a 3D TV. - LGW65000.

http://angusforbes.github.com/stereo/index.html

I have tried to run the quad buffer stereo codes by angusforbes, but at the end of the day all I got was a lot of flashing instead.

I was wondering if anyone can advise what is the best way to create stereoscopic views using processing running on a standard 3D TV?



FM 

Replies(6)

I've never created anything with this library (note this should be posted in Contributed Libraries, not Processing Implementations - that sub-forum is for ports of Processing to other languages besides Java), but have been able to download and run the examples fine...

Perhaps you should step back and ask what the potential problem is with the code and/or hardware setup you have before jumping off to a new solution? For example, what do you mean by 'quad buffer stereo codes' ?? In the library, I see two examples, one called 'ActiveStereoTest' and another called 'AnaglyphTest' ... are we looking at the same code? Do you have Processing installed (or are you attempting to run this out of another IDE ?)? What is your OS, Graphics Card, etc ?


Hi Jesse,

Yeah I am using the sample code called ActiveStereoTest from Angus. I am running it at full-screen.

My current set-up is:

Display is LG 55LW5500 passive stereo 3D TV 


Resolution: 1680 x 1050

OS: Windows Vista

Graphics Card: Quadro FX880M (3D vision enabled)

IDE: Processing 1.2 IDE


Any advise would be great!

Ok... 

So, explain/post a screengrab of the 'lot of flashing' ? Is it visual tearing? Is it obviously unrecognizable visuals ?

Are you able to run other OpenGL sketches ( > Examples > Libraries > OpenGL ... I think, that may have changed between 1.2 and 1.5..??) ok, on a normal display, with that card? 

Not sure what the NVidia driver scene is like for Vista these days... you have the most up-to-date version? And what are all your Nvidia settings set to?

You may also want to upgrade to Processing 1.5.1, as there are some significant changes to the OpenGL operations (though not as much as there will be in 2.0... which you could also try...)


The way I understand many 3d tv's to work is that they receive video from a source at twice the actual framerate, toggling between the left and right images, then your tv takes the left and right images, and sends each angle to its appropriate eye, by quickly switching between left and right eyes in sync with the tv switching. This would be an active 3d display; actively switching from left to right.

A passive display shows both images layered together, then uses filters (vertical/horizantal polarization or red/blue for example) to isolate left from right.

more info here: http://www.scec.org/geowall/actpass.html

There are two examples in the stereo lib, both an active 3d and a passive (anaglyph). the Active version sounds like what you are seeing, where it rapidly switches from left to right eye, creating a flashing effect (my menubar was even flashing with the sketch). the anaglyph has the red/blue edges.

Because your tv is a passive 3d, I would start with the anaglyph example, and look at the last line in the setup:
Copy code
  1. stereo = new Stereo(this, eyeSep, 45f, .1f, 1000f, Stereo.StereoType.ANAGLYPH_CYANLEFT_REDRIGHT);
and try to change the StereoType parameter. It's possible that the library does not have a type to fit your particular graphics card, or you may need to set it up in a certain way to work correctly.

I would defiantly look into the graphics card settings like Jesse was saying to try to figure out how to send the left and right eyes to the card. It may be that you can send a double wide image, and it will handle the layering. You may want to look for the developer tools from nvidea to see if it has any helper apps or libraries for java you could use. http://developer.nvidia.com/

Im sticking with the red/blue glasses 3d myself :)  just got a pair of these for $.99: http://www.ebay.com/itm/New-Red-Blue-3D-Anaglyph-Glasses-Movie-Game-Vision-/170755077375?pt=LH_DefaultDomain_0&hash=item27c1cbb4ff

good luck!
update -

looking at the source files, it looks like there is a StereoType.PASSIVE

but... lower in the code, in the init of the Stereo.java file, there is a TODO:
Copy code
  1.     // TODO: if stereoType == PASSIVE should we double the window size for the user or assume they will double it themselves?
which leads me to believe that maybe the passive 3d is unresolved for this library, so it may or may not work.

I'd say try it and see what happens, worst that could happen is your graphics card melts :)

good luck!
ak
Hi,
I have similar problems with the PASSIVE stereo type (it flickers on screen not displaying anything clearly distinguishable). Anybody tried to get this to work? It would be really neat and allow to use recent 3DTVs.
Thanks,
MB