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

https://github.com/chamale-rac/py-rasterizer

Python based implementation of a rasterizer for BPM files.
https://github.com/chamale-rac/py-rasterizer

Last synced: about 1 month ago
JSON representation

Python based implementation of a rasterizer for BPM files.

Awesome Lists containing this project

README

        

# 🐍 py-rasterizer 🖼️ Proyecto 1: Rasterizer

Welcome to the py-rasterizer repository! This Python-based implementation is a powerful (giño giño...) tool for rasterizing 3d models into BMP files.

## 🚀 How to execute it?

Simply run the next commands:

``` bash
cd src
```

To get the bpm with no shaders use:

``` bash
python no_shaders.py
```

Otherwise:

``` bash
python with_shaders.py
```

That's all, now check the results on models on the dir [./out/](./out/)

## 🎭 Show off

| 😈 With shaders | 😇 No shaders |
|---------------------------|-------------------------------------------------------------------------------------------------------------|
| ![image](https://github.com/chamale-rac/py-rasterizer/assets/63200593/6e7a6a03-92c5-49bf-bfef-13cb637801c0) | ![image](https://github.com/chamale-rac/py-rasterizer/assets/63200593/842220e4-2b07-4b75-b80a-293914f63b47) |

🧠 Reminder: can find the original .bpm renders at [./out/](./out/)