Skip to content

A real-time 3D-like space travel simulation using C++ and SFML. Renders thousands of stars, achieving smooth performance well over 100 FPS on mid-range hardware. Features a configurable design for customizing star count, speed, and other parameters.

Notifications You must be signed in to change notification settings

AR-937/space-odyssey

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Space Odyssey: Using C++ with SFML

This project is a real-time 3D-like space travel simulation implemented in C++ using the Simple and Fast Multimedia Library (SFML). It renders and animates thousands of stars to create an immersive visual experience, simulating movement through space. Inspired by the climactic scene from the classic space opera, 2001: A Space Odyssey.

Features

  • Real-Time Star Rendering: Renders and animates thousands of stars in real-time using SFML's graphics modules.
  • Depth-Based Effects: Implements depth-based color effects and motion to simulate the stars' distance and create a sense of movement through space.
  • Configurable Design: Allows customization of star count, speed, and other parameters through a configuration-based design.
  • Optimized Performance: Achieves smooth performance at 144 FPS with 10,000 stars in fullscreen mode.

Planned Features

  • Interactive Controls: Allow users to control the camera and adjust the simulation in real-time.
  • Advanced Effects: Add particle effects, nebulae, and other celestial objects for a more immersive experience.

Demo

Build 2025 02 27 - 21 19 30 04

About

A real-time 3D-like space travel simulation using C++ and SFML. Renders thousands of stars, achieving smooth performance well over 100 FPS on mid-range hardware. Features a configurable design for customizing star count, speed, and other parameters.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published