shale

A software renderer made in crystal-lang

Shale

A software renderer, written in Crystal!

Following thebennybox's series: https://www.youtube.com/playlist?list=PLEETnX-uPtBUbVOok816vTl1K9vV1GgH5

This is a project for learning about general computer graphics and how it works without GPU acceleration. As well, learning to code in Crystal and how to use X11. In the future, would also be a good test bed to port over to Windows and MacOS and learn how to integrate into their display servers.

Example

Dependencies

System Packages

Debain-base systems:

sudo apt install libx11-dev

Run

With using the shards cmd, the Shale target will need to be specified. As well the XUTIL_DEFINE_FUNCTIONS will need to be included for the build:

shards run Shale --define=XUTIL_DEFINE_FUNCTIONS

For performance, include the --release flag in the build/run cmd:

shards run Shale --release --define=XUTIL_DEFINE_FUNCTIONS

License

Distributed under the Mozilla Public License v2.0 (MPL-2.0). See LICENSE for more information.

Resources

Here's a list of materials I've used along the way to learning more about the tech needed:

Some misc resources discovered that are not in reference for the project, but still useful to keep track of:

Repository

shale

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 1
  • about 2 years ago
  • August 31, 2022
License

Mozilla Public License 2.0

Links
Synced at

Mon, 25 Nov 2024 05:41:20 GMT

Languages