Skip to main content

Real-time ASCII 3D rendering engine

Project description

RendASCII

RendASCII is a real-time, z-buffering based 3D rendering engine written from scratch in and for Python 3. Unlike traditional real-time rendering engines, RendASCII renders frames as printable strings using ASCII characters for pixels. RendASCII is open source under the MIT license.

Project Homepage

Project Documentation

Please direct questions to rendascii@gmail.com.

Features

  • No external dependencies; uses just the Python standard library.
  • Multiprocess based rendering.
  • Optional Cython based accelerator extension modules.
  • Load and render 3D models from Wavefront object and material files (*.obj and *.mtl, respectively).
  • Load and render 2D sprites from ASCII based Portable PixMap files (*.ppm).
  • Render the same or different scene(s) using multiple virtual cameras.
  • ASCII overlays for displaying fixed graphics and/or information.
  • Map sprite and material colors to ASCII characters using JSON colormaps.
  • Transform models, sprites, and virtual cameras using arbitrary homogeneous transformation matrices.
  • Utility for easily constructing complex transformation matrices with scaling, translations, and rotations.
  • Utility for managing frame-rate and calculating delta time.

Installation

Using Pip

# pip3 install rendascii - download and install pure Python distribution.

# pip3 install --no-binary rendascii rendascii - download source distribution, build accelerator extension modules, and install resulting binary distribution.

Manual

$ git clone https://bitbucket.org/Foxbud/rendascii.git - clone repository source.

$ cd rendascii - change working directory to cloned source.

# python3 -m setup install - build accelerator extension modules and install resulting binary distribution.

# PURE_PY_DIST=true python3 -m setup install - build and install pure Python distribution.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
rendascii-1.0.0a2.post2-py3.7.egg (13.4 kB) Copy SHA256 hash SHA256 Egg 3.7
rendascii-1.0.0a2.post2-py3-none-any.whl (14.0 kB) Copy SHA256 hash SHA256 Wheel py3
rendascii-1.0.0a2.post2.tar.gz (12.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page