Author |
Message |
Flavio Villanustre
Rating: N/A Votes: 0 (Vote!) | Posted on Sunday, December 23, 2001 - 5:52 pm: | |
I've developed a small emulation layer that could allow running unmodified hardware based stereo binary only applications without quadbuffering drivers under linux.It converts hw based stereo into interlaced mode stereo that can be seen with standard LCD glasses. It fools binaries into thinking that hw stereo is available while translates it into interlaced mode stereo using stencils. I works for many glut based stereo applications (I've placed some test utilities on my website). There's no performance penalty. Just download it from http://geminis.myip.org, compile it using: "gcc -o interlace_preload.so interlace_preload.c -shared" and use it as a preload library with: "LD_PRELOAD=./interlace_preload.so application params" Please, send me your feedback. Flavio. |
M.H.
Rating: N/A Votes: 0 (Vote!) | Posted on Monday, December 24, 2001 - 4:43 pm: | |
I have studied this code. It is an excelent idea for all UNIX/Linux based machines in combination with line-blanking HW or interlaced screen mode. It will be useful if somebody could write na OpenGL .dll wraper for PC as well besed on this idea . I do not have unfortunately enought time nor enought .dll experiences to that ... Michal Husak |
Bill Saunders
Rating: N/A Votes: 0 (Vote!) | Posted on Saturday, January 05, 2002 - 2:37 pm: | |
Hello, Sounds like a great idea, I'd love to get it to work. Does it require OpenGL with Quadbufffering? I have an older GeForce 2MX card not the Quadra. Anyway here's what I get: cat stereoize #!/bin/sh export LD_PRELOAD="/root/d2/graphics/interlace/interlace_preload.so $1" $1 unset LD_PRELOAD (doesnt pass arguments but should do the trick) cd into tests ../stereoize ./pulsar => ../stereoize: line 4: 3503 Segmentation fault (core dumped) $1 (even without using my script I get the core dump) Using: XFree86 4.1.0, patch level 17mdk Mandrake 8.1 NVIDIA_kernel-1.0-1541 drivers (might be newer ones but I havent checked) Libraries: libGLcore.so.1 -> libGLcore.so.1.0.1541 libGL.so.1 -> libGL.so.1.0.1541 libGL.so.1 -> libGL.so.1.2 libGLU.so.1 -> libGLU.so.1.1.030401 libglut.so.3 -> libglut.so.3.7.0 Not sure on where I got the Glut version...where did you get yours? Sounds like a really cool program.... Bill |
flavio
Rating: N/A Votes: 0 (Vote!) | Posted on Sunday, January 13, 2002 - 2:48 pm: | |
Now we have a better working prototype at http://stereogl.sourceforge.net CVS. New exciting modes :-) are supported: Traditional horizontally interlaced mode. New vertically interlaced mode (for some 3D displays) Above-below mode (for vert sync doublers) Anaglyph mode And F12 key for swapping between Stereo and Mono modes. Regards, Flavio Villanustre |
M.H.
Rating: N/A Votes: 0 (Vote!) | Posted on Sunday, January 13, 2002 - 8:17 pm: | |
I have partialy ported the Flavio code from Linux back into Windows in the form of modified opengl32.dll witch add stereoscopy to any opengl implementation preserving HW acceleration. Wrapping only to horizontal and vertical interlaced implemented now (no anaglyph or above/below) .... If somebody is interesting in cooperation on the Winodows version let me know (no beta testing yet, crashes horrible with Quake3 in stereo now :-) ). Deep experiences with OpenGl unfortunately nessesery. |
Maart
Rating: N/A Votes: 0 (Vote!) | Posted on Sunday, January 13, 2002 - 8:38 pm: | |
Could a windows version of this program be used with quadro boards to get more support from games and apps? Maart |
flavio
Rating: N/A Votes: 0 (Vote!) | Posted on Sunday, January 13, 2002 - 11:19 pm: | |
I'm afraid that making mono apps display in stereo mode is still not possible with stereogl Maart (if that's what you mean). However, it may be theoretically done. But that should imply recording opengl calls and using standard techniques to translate them into right and left buffers. That would be similiar to what NVidia does for their stereo enabled windows drivers. Why couldn't you use Nvidia stereo enabled drivers for that purpose? OTOH, quadro boards support native quadbuffered stereo under Windows so normal stereo enabled applications will run smoothly on them. Regards, Flavio Villanustre |
Anonymous
Rating: N/A Votes: 0 (Vote!) | Posted on Monday, January 14, 2002 - 7:32 pm: | |
Some test apps, w&w/o source: http://www.stereographics.com/utilities/redblue.zip http://www.stereographics.com/utilities/morph.zip http://http.stereographics.com/utilities/scrsave.zip |
M.H.
Rating: N/A Votes: 0 (Vote!) | Posted on Tuesday, January 15, 2002 - 10:27 am: | |
Maart: It can add interlaced, vertical interlaced, above/below, anaglyph to any graphic card. But it is targeted to aplication witch already calculate the stereoscopic scene, from games: Quake2, Quake3,Sin. Support for non-stereoscopic aplication is in principle possible by commands buffering, viewport changing, forcing double rendering. But it is a bit more difficul than the existing project. |
Maart
Rating: N/A Votes: 0 (Vote!) | Posted on Tuesday, January 15, 2002 - 9:53 pm: | |
viewport changing sounds interesting, could anything like caveut be done? Maart |
M.H.
Rating: N/A Votes: 0 (Vote!) | Posted on Wednesday, January 16, 2002 - 9:29 am: | |
Maart: if you buffer the scene drawing coammand, you have full control about the viewport. In principle it is possible to write CAVE wrapers for PC games in this way ... Interesting idea ... |
Maart
Rating: N/A Votes: 0 (Vote!) | Posted on Wednesday, January 16, 2002 - 11:22 am: | |
If you think this would be realy possible, My quaestion is: How difficult would this be? I'm not a programmer and have no idea about what is needed to program such a wrapper. I'm building a cave like display with UTcave at the moment, but it would be awesome to get support for more programs. A wrapper for opengl or direct3d programs would be a perfect sollution. MH: Would you be able to program such a wrapper? Maart Maart |
M.H.
Rating: N/A Votes: 0 (Vote!) | Posted on Thursday, January 17, 2002 - 10:10 am: | |
I am familaiar only with the OpenGl problem. The dificulty depends totaly on the wraped application. Some sort of instruction couls not be easy wrpaed at all ... I do know how to encode something like that, but I must focuse on project for witch I am payed now. The people from VRStandard probebaly have solution for the D3D wraping. You shuld study the WireGL project to catch how OpenGl wraping - rendering redistribution can work. |
Anonymous
Rating: N/A Votes: 0 (Vote!) | Posted on Wednesday, January 30, 2002 - 3:18 pm: | |
Does the WireGL project offer anything for stereoscopy? Wrapping for non-stereo support or splitting the left/right images to 2 different computers? |
Anonymous
Rating: N/A Votes: 0 (Vote!) | Posted on Wednesday, January 30, 2002 - 3:33 pm: | |
If you make a proper configuration of WireGL, it can do what you want (e.g. CAVE like randering) |