So I have resurrected the parallax barrier project. I got a 1200dpi mono laser printer, the Samsung ML-1630 ( http://www.overclockersonline.net/?page ... s&num=1742 ) and a 50 pack of laser transparency film from Sparco. So far I have been getting good prints with the ML-1630, it is definitely more precise than that old 300dpi inkjet I was using last year when I started this. At 600dpi I was able to print a 5 pixel interlace pattern (5px black, 5 px blank, etc.) and it was nice and sharp with no bleeding or anything.
I did some math and I figured for a 22" 1680 x 1050 display the individual barrier lines should be around 6.7 pixels @ 600dpi. So I tried with a 6px line and also a 7px line @ 600dpi and the results were close but not there yet. It seems 600dpi wont cut it. Then I tried with a 13px / line @ 1200dpi and I am getting somewhere. I still have a lot to figure out, but I am at least in the ballpark here.
The image below is with the 13px barrier and on the screen is a 1px vertical interlace pattern of blue and red. If the parallax barrier worked perfectly then you would be seeing either total blue or total red on the screen. As you can see there are some strips where it does block out the intended pixels and you do see either red or blue. However it goes out of phase and the effect is lost. But I am getting somewhere, much closer than I got with that old inkjet.
Attachment:
ParallaxBarrier_01.jpg
Since I am at the maximum dpi my printer can handle I will need to figure out some techniques for increasing the precision. One method would be to keep the lines at one sizing (say 13px) but alter the spacing (to say 11px) to offset the phase. If that is not enough I may have to create a more complex pattern, where say every 10 lines it adds or removes some pixels to offset the pattern. Using a combination of these methods I think I can attain the proper 1:1 pixel mapping necessary. So far this has only been with 2 days of experimenting so I imagine I could have something working in a couple weeks maybe. Stay tuned.
You do not have the required permissions to view the files attached to this post.
Wouldnt it be easier and cheaper to take your image on disk to a print shop and get them to print onto your film with their higher quality printers? Should only cost a few bucks max.
_________________ Samsung 3d lcd led UA406000, Sharp XR-10X, 7800gt, HD6870, Samsung 450 series 50" 3d plasma, q6600, XP, Tecra m2 6600go laptop, Toshiba 7600 laptop, Xforce shutters, Argo HMD. VR920. Home brew high FOV 2d HMD. Wiimotiongun glovpepie controller, gryation air mice.
Wed Sep 30, 2009 1:27 am
Likay
Petrif-Eyed
Joined: Sat Apr 07, 2007 4:34 pm Posts: 2707 Location: Sweden
Wouldnt it be easier and cheaper to take your image on disk to a print shop and get them to print onto your film with their higher quality printers? Should only cost a few bucks max.
Sure, but you might have to make 5 prints to find out about which resolution that suits best and then maybe 5 more to finetrim it. I don't think he bought the printer just to catch up on parallax barriers though.
Nice test cyber. What happens if you try to make a parallax barrier invertical direction instead? (you do have to tilt the monitor too. I had best "success" doing this).
Wouldnt it be easier and cheaper to take your image on disk to a print shop and get them to print onto your film with their higher quality printers? Should only cost a few bucks max.
Not really. I needed a new printer anyway and it was on sale for $90. Plus the transparency film is only like $10 for a 50 pack. And it is much easier for me to push a button and then 3 seconds later have something in my hands rather than burning a CD (15¢), taking a train to a copy shop ($5), waiting around for them to print it (time=$), paying their rip-off prices for each print ($$$), etc. Once I get the template finalized I will be sending it off to a professional printer so I can get a full-sized print that will fill the whole monitor. But I can't be going to the copy shop every time I need to make a sub-pixel adjustment.
Ok, so I have made some more progress. I am much closer than I even thought. You were right, Likay. I needed to turn the monitor into portrait mode. I already knew I was going to have to do this eventually, but I thought since I was only testing with primary colors (red/blue) that I could avoid the sub-pixel striping issues. Apparently not. So I am getting much better results in portrait mode. I also altered the pattern so it alternates between 13 px lines but every 6 lines it inserts 1 blank pixel. This is a lot closer to what I need, I am almost there:
Attachment:
ParallaxBarrier_02.jpg
Attachment:
ParallaxBarrier_03.jpg
You do not have the required permissions to view the files attached to this post.
Ok, so I have made some more progress. Right now I am using a base of 13 pixel wide barrier lines @ 1200 dpi but every 6th line is 14 px and then every 24th line is 15 px. This is extremely close to what I need but I am still off by some small fraction of a millimeter. This is giving me some ghosting and its losing the phase at the edge of the sheet. However it is like 80% there and I don't think it will be much longer until I have it working 100%. It is certainly working good enough as a proof of concept and I am sure at this point that the method is sound. I have recorded a short test video just to illustrate the effect. Its not perfect yet, but you should see it is very close. The video is uploading right now, will post in a minute.
Anyway, I was able to play about a half hour of Mirror's Edge using the parallax barrier and it does work, I was getting a nice 3D effect. That said, there was pretty significant ghosting and the viewing angle was painfully narrow. In fact, I wouldn't even call it a "viewing angle" it was more like a single point in space. Move outside the point and there was either a lot of ghosting or the eyes would swap. However within the "sweet spot" the stereo effect was legitimate and looked decent. There was also a graininess that the barrier added making the image quality somewhat muddy, but otherwise it was full color 3D. I won't be selling my Zalman any time soon, but all things considered this DIY mod came pretty close for what amounts to 25 cents worth of a transparency sheet. Stay tuned.
Right now I am in spitting distance of having this thing working proper. It is already somewhat playable. I have fine-tuned the pattern a bit and I am now adjusting within the hundredth of a pixel. It won't be long before I find the right number. Tonight I was able to get rid of some of the ghosting from the last test. It may look the same, but if you watch the video closely you will see there is slightly less cross-talk.
I also attempted to take some stereo photos of the setup, but they didn't come out too good. I was just using my standard Canon PowerShot and offsetting the shots a bit. You can kind of get an idea, but it really doesn't capture how it looks in real life. For me to do this proper I will need that Fujifilm W1 and a tripod (neither of which I have at the moment). But this should be enough to at least prove I am not full of it.
Attachment:
DIY_AutoStereo_01.jpg
Attachment:
DIY_AutoStereo_02.jpg
You do not have the required permissions to view the files attached to this post.
_________________
Sun Oct 04, 2009 11:57 pm
Likay
Petrif-Eyed
Joined: Sat Apr 07, 2007 4:34 pm Posts: 2707 Location: Sweden
Using the same pattern from last time I have printed it out a little bigger and took some more photos. I also attempted to shoot some video with my dual-Vados but I don't have the time tonight to process any of it. It was very difficult to do this hand-held but hopefully I captured something. Anyway, check out the shots:
Attachment:
DIY_AutoStereo_03.jpg
Attachment:
DIY_AutoStereo_04.jpg
Attachment:
DIY_AutoStereo_05.jpg
You do not have the required permissions to view the files attached to this post.
Yeah its still there, but that could be classed as an acceptable gotcha by many for such a solution. So next step is the driver, were those shots taken using an existing interlaced driver or did you custom create the stereo pairs as still shots?
_________________ Samsung 3d lcd led UA406000, Sharp XR-10X, 7800gt, HD6870, Samsung 450 series 50" 3d plasma, q6600, XP, Tecra m2 6600go laptop, Toshiba 7600 laptop, Xforce shutters, Argo HMD. VR920. Home brew high FOV 2d HMD. Wiimotiongun glovpepie controller, gryation air mice.
So next step is the driver, were those shots taken using an existing interlaced driver or did you custom create the stereo pairs as still shots?
Dunno, but i've just figured out how to use mplayer (windows or linux, possibly OSX too) to convert to and display vertical interleave on the fly from any type of 3D input format i.e over/under, left/right, field sequential etc. If anyone is interested, the thread is here:
Also, it should be possible to output 1px, 2px, 3px, 4px etc vertical interleaves without compromising the horizontal resolution using this method, give me a shout if anyone needs this and I will post further instructions
So next step is the driver, were those shots taken using an existing interlaced driver or did you custom create the stereo pairs as still shots?
Thats already taken care of. I'm using the IZ3D driver in vertical interlace mode. So I was actually playing Mirror's Edge for like a half hour with the parallax barrier and when I found a good part I would just stop and take a snapshot.
Sweet. How did you find the experience? Would you recommend this over say anaglyph? Im getting keen to print up a big sheet for my 28inch
I thought it looked decent for what was basically a 25 cent piece of transparency paper. Still a lot of issues I need to work out, so don't think I am finished just because I have something playable. It certainly looked better than anaglyph when it was working, but due to a variety of issues its not yet at the point where I could recommend it to anyone. Its still a work in progress.
_________________
Thu Oct 08, 2009 11:32 pm
Freke1
Certif-Eyable!
Joined: Wed Feb 28, 2007 6:40 pm Posts: 1060 Location: Wake Island
Found this: [youtube]http://www.youtube.com/watch?v=A11_M4LqL_8&feature=sub[/youtube] looks good when he moves the film with his fingers. How nice it would be if You could just buy some film to stick on Your monitor...
Found this: ... looks good when he moves the film with his fingers. How nice it would be if You could just buy some film to stick on Your monitor...
Wow! Nice find. Would be hard to sell lenticular kits since each panel has a different dot pitch it would be insane to support all the different displays. But if people could find a cheap monitor that works well with existing lenticular sheets (like that guy apparently did) then it wouldn't be too crazy to simply buy the monitor that worked with the lens.
Well done Cyber!!! Just a couple of questions (interested in a very big project for 52inch TV): 1. Are you still using the monitor in portrait mode, or did you get it working in landscape? 2. is the interlacing on the screen just every second column of pixels, or is it using multiple columns of pixels? 3. Is the barrier layer sitting flat against the screen glass, or is there another layer to make it further from the screen? 4. Have you considered using wider lines for the black to get better viewing angle? I'm aware this will make the image darker, but it might make it better to use. so have the columns you are printing: BBBBBWWBBBBBWWBBBBBWW BBBBBWWBBBBBWWBBBBBWW BBBBBWWBBBBBWWBBBBBWW BBBBBWWBBBBBWWBBBBBWW 5. I'm considering doing a checkerboard so that I can play Avatar on xbox360 as: BBBBBWWBBBBBWWBBBBBWW BBBBBWWBBBBBWWBBBBBWW BBBBBWWBBBBBWWBBBBBWW BWWBBBBBWWBBBBBWWBBBB BWWBBBBBWWBBBBBWWBBBB BBBBBWWBBBBBWWBBBBBWW BBBBBWWBBBBBWWBBBBBWW BBBBBWWBBBBBWWBBBBBWW BWWBBBBBWWBBBBBWWBBBB BWWBBBBBWWBBBBBWWBBBB BBBBBWWBBBBBWWBBBBBWW BBBBBWWBBBBBWWBBBBBWW BBBBBWWBBBBBWWBBBBBWW What are your thoughts?
Yeah, I am using the monitor in portrait mode. Landscape cause some pretty bad sub-pixel ghosting. There may be a way to fix this but it would limit the type of content that could be viewed. The interlace pattern I am using blocks every other pixel, so it is a 1 pixel barrier. I have it taped directly to the monitor. It seems the glass itself generates enough parallax for it to work. I have considered making the lines thicker to increase viewing angles. I haven't explored this idea much, but it should work in theory. I still want to work on this project more but I keep getting distracted. Doing a checkerboard pattern would be a lot more difficult but I guess it could be possible.
I have managed to create a parallax barrier for the sony PSP (3000, not Go). I'm not sure if the scaling of the printer I've been using is out, or if there is some other issue, but I couldn't just set the resolution as I expected. What I found worked is using GIMP and set the resolution to 128.8 pixels per inch (for anyone not using photoshop, I recommend this application as it's one of the best open source applications out there). This creates a barrier that is almost perfect for the psp when held at arms length. I printed on cheap transparency paper on a laser printer at work, and there was a little smudging of the toner, but good blockout from the printed lines. There are some issues though: 1. There is about 2mm between the LCD and the plastic in front of the screen on the psp. This means that for optimal viewing, you need to hold it at about 2 feet from your face. 2. The psp screen is a bit too dark for this to work effectively. I converted one of the screen shots from avatar that Neil had uploaded, and had to make the brightness 150% before it was really viewable. 3. Obviously of no fault of the psp or this solution, but a general fault with parallax barrier solution with only two images, but you must hold your head very steady as shifting more then a couple of cm either way will cause ghosting. More then about 3 cm (half way between your eyes) will reverse the image causing headaches. One thing that I will try is with a 2/3rds barrier and 3 images when I get a chance. my calculation indicates that this should work well on the psp at about 12 inches from the screen, so long as it isn't just too dark to see anything.
All in all though, I'm pretty pleased. I would love to see a game to implemented vertical striped L/R stereoscopic views on the PSP.
Where to from here: 1. See if I can implement 2/3 barrier with 3 images. 2. See if I can create barrier for something bigger... checkerboard for 52" screen
I've recently become interested in the parallax barrier way of creating a cheap, simple (ish) 3D display. I stumbled across this forum in my research and figured I'd share with you what I have so far. I hope you'll forgive me for resurrecting such an old topic, but I thought this post belonged here. I've created a small C program that generates a parallax barrier for you, based on the equipment you have at hand. This includes the DPI of the printer you're using, the pixel width of your screen, the width in pixels of your display, and the height of your display. My program will then generate the optimal barrier for your display.
This method isn't perfect, it doesn't incorporate the possible stretch of your transparency sheet, nor the minor imperfections in your printer. After toying around with it for a while, I found a 0.2295mm dot pitch to be the closest to my MacBook Pro 15" screen, which at 1440x900 has a .231mm dot pitch. It still isn't perfect (I can make an image of about 12cm wide appear in 3D), which I'm attributing to the fact that this dot pitch just happens to be very incompatible with 300, 600 and 1200DPI printers. For this reason, my program also outputs some statistical information, to help you assess the quality of the produced image.
I'm still working out a good way to determine what you should do to modify your barrier to be pixel perfect. I'm currently working on the math of alternating-pixel-images, which show more or less banding when viewed with one eye depending on the quality of your barrier (more banding means a more incompatible barrier).
The code uses libpng to create the output image (which can become quite large, in the range of 10k pixels x 10k pixels). You must print this at the DPI you specified when generating, otherwise it won't work. Because it uses libpng, you must also link to it when compiling. On my Mac, this boils down to something like:
Then run ./parallax and read the instructions. (Example commandline, for my Mac: ./parallax 1200 0.2295 180 1000 macbook-example) This should work fine under both MacOSX and Linux. If anyone is willing to put up binaries, or make a port to Windows, that's fine and would be welcomed. The code is under a do-whatever-you-want-with-it license.
Any feedback, and most certainly improvements, are highly welcomed!
You do not have the required permissions to view the files attached to this post.
Ok cool. Nice work. I have pretty much abandoned the project but I still want to come back to it some days. Its fun stuff. If I get bored maybe I will port the source to Windows.
_________________
Mon May 03, 2010 4:31 pm
Nebra
One Eyed Hopeful
Joined: Fri May 28, 2010 1:16 am Posts: 1 Location: Belgium
Just a quick thought ... what if one would manufacture a parallax barrier for each color, R, G & B and overlay them ... wouldn' this give better results ?
EDIT: I've made a little slide show to make my idea more clear. I think you would loose less light and maybe improve the color ghosting ?
You do not have the required permissions to view the files attached to this post.
It's an interesting idea, but it would require even more alignment. Getting a barrier to align is hard enough as it is. Also, you'd need a color laserprinter for that idea to work, and those usually don't go much above 600dpi. I've found that for certain pixel pitches, 1200DPI is a must (in fact, all the ones I've tried were horrid at anything less than 1200DPI).
It's unfortunate that these barriers are so hard to get right, because they yield very decent autostereoscopic results once you do get them right. I've managed to get some good results out of my barriers anyway. But when looking at your screen right-way-up, the bounding box wherein you get good results without ghosting or color bleed is about 2-3cm wide, and maybe 15cm deep.
I have a cheap chinese tablet coming in, with an 800x480 screen and I'll be trying the barrier technique on that one as well. Not sure when I'll get around to it, as I've also just purchased some Elsa Revelator glasses to fool around with.
Hi guys, I thought I would give this a try myself and since I dont have a quality printer I thought (could this be tried using a transparent photoshop gif with the barrier printed?). I Used a interlaced picture someone put up here, loaded the barrier in a second layer and something is going on but not wuite 3D. I can see two positions for the Image basically if I move the barrier sideways, but can only see one position at a time. Am I dong something wrong? I read at the beginning of the post that it is "Opaque" my lines are all black, so do I just need to give the lines a bit more transparency to see both positions at the same time?
Thanks for the quick reply. What I meant was CAN I see the 3D effect on an interlaced image if I just put the Parallax barrier in front of it by doing it in Photoshop. I have done it and I don't get the 3D effect, it works in that it shows 2 positions angles for the image if I move the barrier one side or the other, but the Interleved image only looks 3d if I use shutters, I think the point is to do it without them.
I want to know if anyone has tried it since I would be able to come up with the barrier match beforehand in Photoshop and then just print the one I know will work.
If you are asking if this effect can be simulated in Photoshop, then no. You have to physically print out the barrier pattern and place it upon the screen for it to work.
The print also needs to match the displays pixels perfectly to have stereoscopy through the whole screen. On onepixel basis i managed to have about 7 centimetres of good stereoscopy before the image doubled/switched. It was just luck that my printers native res was so close to the screens. Another way is of course increasing the pixelbase which of course will give more visible lines.
Pixels: 800(W) x 600(H) pixels Active area: 170.4(W)x127.8(H) Pixel Pitch: 0.213(W)x0.213(H)
I opened one up and put it in front of the other, can I make the second one show a barrier and have it work? I know printout is easier but was trying to have something like a 3d 2d monitor thing going on.
Can it work? Or maybe I just screwed up that second monitor lol.
Can it work? Or maybe I just screwed up that second monitor lol.
If the front monitor is translucent enough to show the back one, then I guess it could work. I know some prototype monitors have been shown using this method so it clearly works (at least using the right type of LCDs). This would also make alignment a little easier since its a 1:1 ratio. Although you will probably still experience the sub-pixel ghosting issues that I spoke about. The only way to fix that was the turn the monitor into portrait mode. Not sure if that would work using an LCD as the barrier.
I've been reading this full thread and I'm very interested in beeing able to convert my lcd into auto3d. My main interest is on lenticular sheets, but at first I would try with parallax barrier. So browsing the web I found someone that was succesfull on a 42" lcd with 9 views barrier, so how is this possible?
I've been reading this full thread and I'm very interested in beeing able to convert my lcd into auto3d. My main interest is on lenticular sheets, but at first I would try with parallax barrier. So browsing the web I found someone that was succesfull on a 42" lcd with 9 views barrier, so how is this possible?
I would say that he is using a bitmap mask that has one clear pixel column followed by 8 black: BBBBBBBBWBBBBBBBBWBBBBBBBBWBBBBBBBBW BBBBBBBBWBBBBBBBBWBBBBBBBBWBBBBBBBBW BBBBBBBBWBBBBBBBBWBBBBBBBBWBBBBBBBBW BBBBBBBBWBBBBBBBBWBBBBBBBBWBBBBBBBBW BBBBBBBBWBBBBBBBBWBBBBBBBBWBBBBBBBBW BBBBBBBBWBBBBBBBBWBBBBBBBBWBBBBBBBBW
The trouble is getting the 9 images required and generating the composite of these. I recently found the following which is a gif with 10 frames (well, it's more then that to get the complete cycle, but 10 unique images) which could be used: http://www.gbeye.com/images/b2bproducts ... -480px.gif If you get that image, increase the size by a factor of 9, overlay the above, and then splice the frames 1-9 with an offset of 1-9 pixels (depending on frame), it will create the picture to be displayed on the monitor.
This will, however, create a very dark picture and it may be better to use every 2nd frame and only a 5 view image (stereo viewable from 3 positions).
So this is limited to specially composed images, isn't it? Cause stereo rigs only record from two different views.
Anyway, he also mentions something about converting a lcd to 3d for use with polarized glasses, and I also read something about that in a study paper. Where could I find some more info to do that?
Thu Jul 29, 2010 12:39 am
Likay
Petrif-Eyed
Joined: Sat Apr 07, 2007 4:34 pm Posts: 2707 Location: Sweden
The way to convert an existing lcd-monitor into 3d is using a quarterwave retarder (the result is circular polarization and the technology is called x-pol or u-pol). It's best done on industrial level though. Imagine yourself cutting all those stripes by hand and then manually attach them to the screen.....
As for android78 i'm also uncertain what software the author uses to make it work....
One way to make autostereo with parallaxbarriers would be just making one without matching the screen (which is very difficult if you don't have a very good laserprinter) and then make a calibrationsoftware on subpixellevel for the screen+barrier. Coloranomalies could also to some degree be adjusted away in the algorithm i think.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum