An open API service indexing awesome lists of open source software.

https://github.com/bimlas/fun-bmp3d

:golf: Just for fun: C GUI: Makes a 3D "landscape" from 256 color BMP
https://github.com/bimlas/fun-bmp3d

Last synced: about 2 months ago
JSON representation

:golf: Just for fun: C GUI: Makes a 3D "landscape" from 256 color BMP

Awesome Lists containing this project

README

          

# Bmp3D

A fun project which turns bitmap image into relief.

![image](https://github.com/bimlas/fun-bmp3d/assets/7034200/9f062b2f-ecb7-4363-91a4-7c3907d5da93)

I did this project a long time ago and didn't thought that I will push it to
the cloud, thus I wrote it in Hungarian.

```
$ apt install libsdl1.2-dev libsdl-ttf2.0-dev
$ make
$ ./bmp3d map.bmp
```

The BMP image has to be a 256 color BMP image.

Move by mouse + (NumPad or WASD):

```
+ -
x 6 D 4 A
y 8 W 2 S
z 7 R 1 F
radius + T - G

Change the target of projection (planar / sphere): 5, or SPACE
Turn on minimap: Enter
Rapid movement: Caps Lock
```