I started thinking again about how you might make a 3d spaceship or car simulator program, with some old PC monitors mounted in a giant cardboard box you can sit in, with a joystick or gaming wheel as the controls, with one monitor mounted in front for the "windshield", and a couple of side "windows" on the right & left, and a PC running a simple 3d program that shows a moving starfield effect (or a road) in front and stars (or terrain) in the side windows also moving past. When you move the joystick in a direction, the stars or terrain would start scrolling in the direction you're moving.
This had been on the backburner for years, but I still would be curious to try making a simple simulation like that, just to see how realistic it would feel.
We have talked about QB64PE controlling multiple monitors before, where you'd have seperate EXEs each running in its own display, maybe the front window is the master program and the other windows communicate to it through local TCP/IP (I have done this successfully for my multi-mouse program). Vector or wireframe animation should be good enough to start.
The part I would need help with is the 3D graphics, I totally don't know anything about 3D. The main thing I struggle to understand is drawing lines in 3d space from a given camera angle and camera position & distance from the object.
A bonus would be to draw the 3D scene in each monitor from 2 slightly different angles in red and cyan to simulate anaglyphic 3D so that when you wear the red & blue glasses, there would be added realism.
If anyone can share some sample reusable code to do this, I would totally attempt making such a program and share the results here.
This had been on the backburner for years, but I still would be curious to try making a simple simulation like that, just to see how realistic it would feel.
We have talked about QB64PE controlling multiple monitors before, where you'd have seperate EXEs each running in its own display, maybe the front window is the master program and the other windows communicate to it through local TCP/IP (I have done this successfully for my multi-mouse program). Vector or wireframe animation should be good enough to start.
The part I would need help with is the 3D graphics, I totally don't know anything about 3D. The main thing I struggle to understand is drawing lines in 3d space from a given camera angle and camera position & distance from the object.
A bonus would be to draw the 3D scene in each monitor from 2 slightly different angles in red and cyan to simulate anaglyphic 3D so that when you wear the red & blue glasses, there would be added realism.
If anyone can share some sample reusable code to do this, I would totally attempt making such a program and share the results here.



