Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
games or graphics for 3-D glasses?
#18
(11-16-2024, 10:22 AM)JRace Wrote: Sorry that I can't see your results, because I don't have any glasses to test this stuff with.  (I've always preferred parallel stereo pairs m'self)

Remember that you need to take distance into account, so simply shifting the entire image by a so many pixels would not be enough.  For proper perspective, the red & blue offsets need to be a function of the "distance" from the viewer: "nearer" pixels in the scene get shifted more, "distant" pixels get shifted less.

For a program like @bplus's 3D cubes, you could divide the image into layers of cubes along the Z axis and shift each layer according to distance.  This would give a "ViewMaster effect" where you have several flat objects hovering in front of each other, but it would be something.

Exactly right - that's what we've been saying, and what that last code I posted is doing.

(11-16-2024, 10:22 AM)JRace Wrote: The best solution would be to have a 3D engine to generate the left-eye image (with full perspective) from one point of view, then generate the right-eye image from a point of view slightly to the right.

Yes, yes, that's the part I would need help with.

Thanks for your reply! Now get some red/blue glasses, they're cheap! LoL... Actually, if you send me a snail mail address in a private message, I'll be happy to mail you a pair so you can actually see if this is working!
Reply


Messages In This Thread
games or graphics for 3-D glasses? - by madscijr - 11-11-2024, 09:31 PM
RE: games or graphics for 3-D glasses? - by Pete - 11-11-2024, 11:10 PM
RE: games or graphics for 3-D glasses? - by vince - 11-12-2024, 06:06 AM
RE: games or graphics for 3-D glasses? - by vince - 11-15-2024, 07:33 PM
RE: games or graphics for 3-D glasses? - by vince - 11-12-2024, 10:55 AM
RE: games or graphics for 3-D glasses? - by JRace - 11-15-2024, 11:18 AM
RE: games or graphics for 3-D glasses? - by bplus - 11-15-2024, 08:41 PM
RE: games or graphics for 3-D glasses? - by bplus - 11-15-2024, 10:53 PM
RE: games or graphics for 3-D glasses? - by JRace - 11-16-2024, 10:22 AM
RE: games or graphics for 3-D glasses? - by madscijr - 11-16-2024, 03:30 PM
RE: games or graphics for 3-D glasses? - by bplus - 11-16-2024, 03:06 PM
RE: games or graphics for 3-D glasses? - by bplus - 11-16-2024, 03:56 PM
RE: games or graphics for 3-D glasses? - by JRace - 11-16-2024, 04:33 PM
RE: games or graphics for 3-D glasses? - by bplus - 11-16-2024, 08:18 PM
RE: games or graphics for 3-D glasses? - by vince - 01-08-2025, 04:03 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  What do you graphics gurus think?.. Pete 6 1,093 03-07-2024, 10:36 PM
Last Post: Pete
  Almost 500 QuickBasic Games TerryRitchie 12 2,531 01-08-2024, 01:02 AM
Last Post: a740g
  Creepy Computer Games & BASIC Computer Games SMcNeill 9 1,925 12-02-2023, 07:39 AM
Last Post: mnrvovrfc
  Chapter 20 Games Programming Terry's Tutorial bplus 3 914 06-29-2023, 08:12 PM
Last Post: TerryRitchie
  Graphics ideas bplus 2 628 10-16-2022, 09:44 PM
Last Post: dcromley

Forum Jump:


Users browsing this thread: 1 Guest(s)