Skip to content

mieki256/ssp3droadgl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ssp3droadgl

Screensaver for Windows that draws pseudo 3D roads, implemented in C++ and OpenGL.

Issue. Does not work on some PCs. Cause unknown. It will not work if the desktop resolution is 1920x1200, but will work if the desktop resolution is 1920x1080. Why?

Screenshots

01summer_thumb.png 01summer.png

02autumn_thumb.png 02autumn.png

03winter_thumb.png 03winter.png

04night_thumb.png 04night.png

Movie (YouTube)

Install

Copy 1 files to Windows system folder.

  • ssp3droadgl.scr
Windows 64bit : C:\Windows\SysWOW64\
Windows 32bit : C:\Windows\System32\

The screen saver name is "P3D Road GL".

The settings are saved in an ini file.

%APPDATA%\ssp3droadgl\ssp3droadgl.ini

Windows10 : C:\Users\(USERNAME)\AppData\Roaming\ssp3droadgl\ssp3droadgl.ini

Extra

ssp3droadglfw.exe is a demonstration program that draws almost as well as this screen saver. Using GLFW.

  • 1,2,3,4 key : Draw on/off. tree, slope, BG, beam
  • F key : Change framerate. 60, 30, 20 FPS.

Uninstall

Delete files.

C:\Windows\SysWOW64\ssp3droadgl.scr
(or C:\Windows\System32\ssp3droadgl.scr)

%APPDATA%\ssp3droadgl\ssp3droadgl.ini
%APPDATA%\ssp3droadgl

Build Requirement / Environment

Build ssp3droadgl.scr

  • Windows10 x64 22H2
  • MinGW (g++ 6.3.0)
  • windres 2.28 (in binutils package)
  • ld 2.28 or objcopy 2.28 (in binutils package)
cd src
make clean
make

Build ssp3droadglfw.exe

Windows10 x64 22H2

  • MSYS2 (g++ 13.2.0)
  • ld 2.42
  • GLFW 3.4 (mingw-w64-i686-glfw or mingw-w64-x86_64-glfw)
cd src
make -f Makefile.glfw clean
make -f Makefile.glfw

Ubuntu Linux 22.04 LTS / 20.04 LTS

  • g++ 11.4.0 / g++ 9.4.0
  • ld 2.38 / 2.34
  • libglfw3-dev 3.3.6-1 / 3.3.2-1
cd src
make -f Makefile.glfw clean
make -f Makefile.glfw
./ssp3droadglfw

Author

mieki256

License

mieki256が書いた部分(render.cpp、sprites.png)は、CC0 / Public Domain 扱いということで…。

Reference

How to Scr: Writing an OpenGL Screensaver for Windows

Resource

Fonts

Library

Background images

About

Screensaver for Windows that draws pseudo 3D roads, implemented in C++ and OpenGL.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages