/bcc-3d-graphics-demo

Simple 3D graphics demonstration using the Borland Graphics Interface (BGI) on MS-DOS

Primary LanguageCApache License 2.0Apache-2.0

Simple 3D graphics demonstration program

Written from scratch in 1993/1994 by rkmorris using Borland C++ 3.1 on MS-DOS. Makes use of the Borland Graphics Interface (BGI) using EGA/VGA graphic drivers.

Build instructions in 3d.c.

Features:

  • Simple example of 3D graphics - translation of 3D coordinates into 2D
  • Hidden surface removal
  • Implements facet shading
  • Perspective handling (commented out in this example)
  • Choice of two models
  • Easily portable to other platforms (low dependency on graphical capabilities)

Screenshots:  

alt text alt text alt text

References:

  1. Computer Graphics: Principles and Practice, Third Edition

License: This repository uses APACHE LICENSE, VERSION 2.0. Feel free to download, modify, and redistribute but make sure you link this repo along with yours.