Aily Posted July 3, 2011 Share Posted July 3, 2011 I found that my geForce 250GTS can render stereoscopic graphics in games. I need only glasses. Maybe somewhere have glasses for Nvidia Vision, but in my town little complex to find such, and it will be cost a lot. Yesterday i went to the book store and by book about dinosaurs for kids with anaglyph images and GLASSES!!!! 4$ it cost for me. Left eye - red (1,0,0) Right eye - cyan (0,1,1) It's simplest stereo rendering technology in world, but it's so amazing to play all games with it!!! Tutorial to enable here: http://3dvision-blog.com/tag/red-cyan-glasses/ After this all i run Leadwerks and so sad that OpenGL can't render stereo by default So today i write simple postfilter for Leadwerks, that explode result image by two color channels depending on Z-buffer, GUYS!!!! TUNNELS EXAMPLE IS FANTASTIC LOKKING NOW!!!! Here is image (look on it in colored glasses), and shader. Put shader in "shaders\PostFilters\HNPHan" - you will loose FSAA, but you can play with real 3D! anaglyph.rar Quote "Better" is big enemy of "good" Link to comment Share on other sites More sharing options...
Pixel Perfect Posted July 3, 2011 Share Posted July 3, 2011 Yeah, tried this a while back with my nVidea driver as my copy of Batman Arkham Asylum came with a set of coloured 3D glasses. It was really impressive but I found I couldn't watch anything for more than about half an hour before my eyes started to hurt. I tried Batman, Stalker COP, Mass Effect, Dreamfall and Crysis! Never tried any Leadwerks. The modern shutter glasses are way better people tell me (much clearer 3D effects) and you can use those for hours with no bad effects Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
Aily Posted July 3, 2011 Author Share Posted July 3, 2011 Yeah, tried this a while back with my nVidea driver as my copy of Batman Arkham Asylum came with a set of coloured 3D glasses. It was really impressive but I found I couldn't watch anything for more than about half an hour before my eyes started to hurt. I tried Batman, Stalker COP, Mass Effect, Dreamfall and Crysis! Never tried any Leadwerks. The modern shutter glasses are way better people tell me (much clearer 3D effects) and you can use those for hours with no bad effects Agree with you But current i can't change my money to cool glases, so, will be use this extreme brain explosives Quote "Better" is big enemy of "good" Link to comment Share on other sites More sharing options...
Pixel Perfect Posted July 3, 2011 Share Posted July 3, 2011 Agree with you But current i can't change my money to cool glases, so, will be use this extreme brain explosives Yeah me too Quote Intel Core i5 2.66 GHz, Asus P7P55D, 8Gb DDR3 RAM, GTX460 1Gb DDR5, Windows 7 (x64), LE Editor, GMax, 3DWS, UU3D Pro, Texture Maker Pro, Shader Map Pro. Development language: C/C++ Link to comment Share on other sites More sharing options...
paramecij Posted July 7, 2011 Share Posted July 7, 2011 Oh, you can make those expensive glasses yourself, even turn regular LCD into 3DTV with the right kind of cellophane for like 10$... i've experimented with this stuff a lot.. and other "VR" methods, I even written my own webcam lights/eyes tracker.. if you're lucky enough to own a projector, you must try build yourself one of these: I haven't looked at your shader yet, but there's some things that can be done to make red/cyan anaglyph more pleasing and minimize eye strain. The biggest offender is the red channel, so it's best to tone it down, usually they put in the red channel just the grayscale version of the image and in cyan only the green and blue, or use a specialized weighted grayscale for the red channel.. I can't find the website right now which had great articles about optimizing red/cyan colors.. another thing is the separation of the left and right images, if it's too big, it causes a LOT of strain on the eye and if it's too little the 3d effect diminishes leaving only dull colors.. From the looks of it you made this as a post filter only? Going from single rendered frame? ... i've never thought you can get as much out of it.. the way i've done it was with 2 seperate renders of my scene (with dynamic offset depending on where the view focus was), but it halved my frame rate this way ... will try your method out Quote Link to comment Share on other sites More sharing options...
Aily Posted July 17, 2011 Author Share Posted July 17, 2011 Oh, you can make those expensive glasses yourself, even turn regular LCD into 3DTV with the right kind of cellophane for like 10$... i've experimented with this stuff a lot.. and other "VR" methods, I even written my own webcam lights/eyes tracker.. if you're lucky enough to own a projector, you must try build yourself one of these: I haven't looked at your shader yet, but there's some things that can be done to make red/cyan anaglyph more pleasing and minimize eye strain. The biggest offender is the red channel, so it's best to tone it down, usually they put in the red channel just the grayscale version of the image and in cyan only the green and blue, or use a specialized weighted grayscale for the red channel.. I can't find the website right now which had great articles about optimizing red/cyan colors.. another thing is the separation of the left and right images, if it's too big, it causes a LOT of strain on the eye and if it's too little the 3d effect diminishes leaving only dull colors.. From the looks of it you made this as a post filter only? Going from single rendered frame? ... i've never thought you can get as much out of it.. the way i've done it was with 2 seperate renders of my scene (with dynamic offset depending on where the view focus was), but it halved my frame rate this way ... will try your method out Thanks for info about grayscale in red channel, will try it And yeah, it's postfilter, very easy to implement. It's not real 3-D, but objects is far or near on screen, i thinking thats enough Quote "Better" is big enemy of "good" Link to comment Share on other sites More sharing options...
omid3098 Posted July 18, 2011 Share Posted July 18, 2011 First time in my life I watched a 3d images.. oh.. it was VERY INTERESTING...!!! Thank you Alex Quote Omid Saadat OD Arts Blog AMD Phenom II X4 940 - Geforce 8800GTS - 4GB RAM - XP x86 AMD 6000+ - Geforce 9800 GT - 2GB RAM - XP x86 (Home pc) Intel Core i7 - Geforce 310M - 4GB Ram - Win7 x64 (Laptop) Link to comment Share on other sites More sharing options...
Aily Posted July 18, 2011 Author Share Posted July 18, 2011 Depth is too strong Possible to break eyes #define COLOR texture1 #define DEPTH texture3 uniform sampler2D COLOR; uniform sampler2D DEPTH; uniform vec2 buffersize; uniform vec2 camerarange; uniform float camerazoom; include "depthtozposition.frag" void main( void ) { vec2 ps = 1.0 / buffersize; vec2 tc= gl_FragCoord.xy / buffersize.xy; float depth = texture2D( DEPTH, tc ).x; float lineardepth = DepthToZPosition( depth ); float shift=clamp(lineardepth,0,10)/2; /// divide color shift. vec4 color_l=texture2D(COLOR,vec2(tc.x-ps.x*shift,tc.y)); vec4 color_r=texture2D(COLOR,vec2(tc.x+ps.x*shift,tc.y)); vec4 left=color_l*vec4(0,1,1,1); vec4 right=color_r*vec4(1,0,0,1); gl_FragColor=left+right; } Quote "Better" is big enemy of "good" Link to comment Share on other sites More sharing options...
Richard Simpson Posted July 18, 2011 Share Posted July 18, 2011 Cool!, thanks for this! Quote Intel core 2 quad 6600 | Nvidia Geforce GTX460 1GB | 2GB DDR2 Ram | Windows 7. Google Sketchup | Photoshop | Blender | UU3D | Leadwerks Engine 2.4 Link to comment Share on other sites More sharing options...
Guest Red Ocktober Posted July 18, 2011 Share Posted July 18, 2011 this is cool... and not to take away from this... but you guys know my feelings on this sorta stuff... this short vid will give you an idea of what "real" 3d virtual reality is all about... would you walk out on some scaffolding near the top of a skyscraper... check out the reaction of some people who've been immersed into the virtual world atop a skyscraper... --Mike Quote Link to comment Share on other sites More sharing options...
Flexman Posted July 18, 2011 Share Posted July 18, 2011 Where's my 3D monocle when I need it? Pretty snazzy the way you can take existing data and re-visualise it. I love that kind of stuff. Quote 6600 2.4G / GTX 460 280.26 / 4GB Windows 7 Author: GROME Terrain Modeling for Unity, UDK, Ogre3D from PackT Tricubic Studios Ltd. ~ Combat Helo Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.