Gravity Well - Midway
Powered by Gear3D
If only there were a big spinny spaceship that went absolutely fucking nowhere.
So, what the fuck are you looking at this time?
A spinning room.
Specifically, a procedurally generated Gravitron-style carnival ride: forty-eight padded panels, individual roller rails, a central operator’s booth, rubber drive tires, a lifting roof, and considerably more attention to light bulbs than anyone reasonably requested.
The elevator apparently wasn’t enough.
Now the whole room has to rotate.
What you’re watching is Gravity Well - Midway, a three-minute ride sequence captured from a running Gear3D build. Loading, spin-up, full speed, questionable lighting decisions, spin-down, and a little after-hours inspection.
All rendered in real time.
You supply the monitor. Your inner ear supplies the objections.
Now, what the fuck are you REALLY looking at?
Gear3D is my long-running Delphi/Object Pascal game-engine project. It powers several different games and applications, and Gravity Well is another of its procedural demonstration scenes.
The ride is assembled in code from engine geometry and materials. The platform, turntable, drive assemblies, passenger panels, booth, and roof are parts of a working scene.
The drive model links the rubber tires to the rotating rim. As speed builds, the padded panels climb their inclined rails. Each panel has its own bearing friction and damping, so they rise and settle individually. Some bearings are more enthusiastic about their employment than others.
At full speed, the show runs at 24 RPM.
The lighting gets its own controller. White loading lights dim for the ride. Coloured bulbs run chase patterns or respond to bass, mid, and treble from the engine’s audio analysis. Their brightness warms up and fades through a filament model.
Yes, I spent time making imaginary light bulbs behave like light bulbs, the colors occasionally exercise artistic license.
The music runs through Gear3D’s playlist and audio system, with the live spectrum display showing what the engine is playing.
Midway itself is a timed show controller using ordinary registered console commands. It operates the ride, changes lighting, selects camera views, and supplies captions explaining what you’re seeing. When it finishes, it restores the previous scene state.
The procedural assembly, motion, lighting controller, and OpenGL rendering are kept separate, giving the scene room to follow the engine as its other rendering backends develop.
And yes, I’m sharing the ride scene source.
It’s a working example of what years of engine development make possible once enough of the pieces already exist.
Apparently, those pieces wanted to become a carnival ride.
There are other projects.
They are not getting more sensible.
For now, enjoy the ride.
Gravity Well: Please remain attached to the wall.
ThisOldCPU / deschutescore
If you stuck around, I thank you for watching my nonsense.