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

https://github.com/rzumer/dosrender

Graphics rendering engine for 16-bit DOS with mode 13 hex.
https://github.com/rzumer/dosrender

Last synced: 4 months ago
JSON representation

Graphics rendering engine for 16-bit DOS with mode 13 hex.

Awesome Lists containing this project

README

          

# dosrender
Graphics rendering engine/demo for 16-bit DOS with mode 13 hex.

## Summary
This project is designed to support 16-bit graphical applications targeting DOS in mode 13h.
The main goal is to achieve reasonable real-time rendering performance for mainly 2D applications, with some 3D support.

The current version supports creation, transformation and rendering of lines and polygons, including solid color filling.
Both integer and floating point coordinates are also supported, though the latter are currently unstable and disabled by default.

## Features
- [x] Lines
- [x] Arbitrary slope
- [x] Arbitrary color
- [x] Out-of-bounds support
- [ ] Transformation support
- [x] Scaling/Mirroring
- [x] 2D Rotation
- [x] Shear
- [ ] 3D Perspective
- [x] Rectangles
- [x] Arbitrary size
- [x] Arbitrary border and fill colors
- [x] Transparency support
- [x] Out-of-bounds support
- [ ] Transformation support
- [x] Scaling/Mirroring
- [ ] 2D Rotation
- [ ] 3D Perspective
- [x] Free-form polygons
- [x] Arbitrary sides
- [x] Arbitrary border color
- [x] Out-of-bounds support
- [x] Arbitrary fill color
- [x] Transformation support
- [x] Scaling/Mirroring
- [x] 2D/3D Rotation
- [x] Shear
- [ ] Sprites
- [ ] Text

## Building
The project is written in mostly C89 with some C99 extensions provided by the Watcom compiler, e.g. array designators.
As such, `Open Watcom` (with 16-bit DOS support enabled during installation) is recommended for compiling out of the box,
as it provides appropriate support for real 16-bit compilation and memory management.

Contributions to improve portability across compilers are welcome.