11-11-2024, 09:31 PM
Has anyone tried making a game or graphics that look 3D when you put on the funny glasses, like they did in the '50s? I wonder how that might work...
games or graphics for 3-D glasses?
|
11-11-2024, 09:31 PM
Has anyone tried making a game or graphics that look 3D when you put on the funny glasses, like they did in the '50s? I wonder how that might work...
11-11-2024, 11:10 PM
Stop encouraging bplus. I don't want to put on glasses to see his balls!
Pete
Shoot first and shoot people who ask questions, later.
11-12-2024, 02:50 AM
I don't have any such glasses myself but the cheap red and blue ones should be doable
try the following mod and use left/right arrow keys to adjust the distance between your eyes
youtube Anaglyph playlist
https://www.youtube.com/playlist?list=PL...frAZW7xN14 but then I have masterred android 3d sbs stereo pairs
Write name of program in 1st line to copy & paste & save filename.bas
Insert program pictures: press print-screen-shot button Open paint & Paste & Save as PNG Add picture file to program topic Russia looks world from future. Big data is peace data. I never recommend anything & always write only about myself
11-12-2024, 10:55 AM
(11-12-2024, 07:12 AM)DANILIN Wrote: youtube Anaglyph playlistsome nice mods there, surprised how messy the red/blue artifacts are, i guess you really need the glasses to make this work dev-wise btw how did you make your glasses, danilin? there's no blue traffic lights here, unfortunately
11-15-2024, 05:28 AM
(11-12-2024, 06:06 AM)vince Wrote: I don't have any such glasses myself but the cheap red and blue ones should be doableSorry for the delayed response, it took a couple of days to get some actual 3D glasses! These were $5.98 at Amazon: I tried running the code and adjusting the distance with the arrows, but didn't really get a sense of 3D. (11-12-2024, 07:12 AM)DANILIN Wrote: youtube Anaglyph playlistHowever the above youtube page above totally looks 3D with the glasses on. So, why didn't the code work? If you hold up your finger and look at it with your left eye closed, then your right eye closed, the distance between it increases as you move your finger closer to your face. So I'm thinking that the nearer to the viewer we want the image to appear, the further apart the red and cyan frames need to be. So for the above demo to work, we would need to alter the code so as the "z" coordinate increases (ie closer to the viewer), the further apart the right/left distance between the two is. It's too late right now to play with the code, but that's my general theory that I might work from. Thoughts?
Yes, you need to create two images in either full color or black/white: one from the perspective of the left eye and one from the perspective of the right eye, with each image tinted to a color which matches the appropriate lens color of the glasses.
Those images must be semi-transparent so that they can be overlappped into one image for viewing through the glasses. Perspective-wise, image details that are closer to the eye will lead to their red & blue versions being farther apart. Google "how create red blue anaglyph" or just "red blue anaglyph" for more info. (11-15-2024, 11:18 AM)JRace Wrote: Yes, you need to create two images in either full color or black/white: one from the perspective of the left eye and one from the perspective of the right eye, with each image tinted to a color which matches the appropriate lens color of the glasses.That all makes sense - I think what we need to make Vince's little demo look 3D is a function to draw the red and cyan frames each from a given perspective (would this be 3-point perspective? I don't know anything about 3-D graphics), and the farther away we are drawing, the less shifted to the right or left the red & cyan are away from each other. I think a cool application for this would be to mod one of the QB64 Minecraft clones, or for vector graphics, a clone of Atari's Tempest! (please God... I mean Ken... let that be your next QB64PE arcade clone! LoL) (11-15-2024, 05:28 AM)madscijr Wrote: So, why didn't the code work? If you hold up your finger and look at it with your left eye closed, then your right eye closed, the distance between it increases as you move your finger closer to your face. So I'm thinking that the nearer to the viewer we want the image to appear, the further apart the red and cyan frames need to be.I see what you mean -- this is truly mad science. I may get a pack of those as well my next amazon order, either that or ruin some reading glasses, and get back to you |
« Next Oldest | Next Newest »
|