Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
simple 3d starfield & wireframe or vector graphics revisited
#1
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.
Reply


Messages In This Thread
simple 3d starfield & wireframe or vector graphics revisited - by madscijr - 01-31-2026, 06:04 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Nice simple, I hope, question Mad Axeman 4 361 12-20-2025, 09:28 PM
Last Post: SMcNeill
  trouble filling in a closed vector shape madscijr 31 2,536 11-11-2025, 03:41 PM
Last Post: bplus
  Simple Addition gone wrong Dimster 13 1,473 08-22-2025, 09:00 PM
Last Post: Pete
  wireframe maze anyone? James D Jarvis 3 480 08-10-2025, 04:52 PM
Last Post: Unseen Machine
  Trying to create a simple menu CMR 8 1,241 06-18-2025, 06:59 PM
Last Post: CookieOscar

Forum Jump:


Users browsing this thread: 1 Guest(s)