Giter Site home page Giter Site logo

ancient-3d-for-turboc's Introduction

ancient-3d-for-turboc

These source files were last modified in 1996, over 20 years ago. The target platform is Borland Turbo C for MS-DOS. I wrote them when I was 16 based on explanations in the PC Game Programmer's Encyclopaedia. They are lacking in comments and written in an oversimplified antique style. I've not attempted to compile them and something vital is probably missing.

"Glib" here is nothing to do with GNU's library of the same name. It's a set of routines for using 320x200 256 colour VGA mode graphics. It might be double-buffered, I can't remember.

The 3D part of the program does not use quaternions, instead using pre-computed Euler angle matrices. The "scene" is considered as a set of polygons, sorted by depth, then painted far-to-near with visibility culling. Lighting model is flat shading with a single light and no texture mapping. I remember this achieved a few thousand polygons per second on a 33MHz 486DX typical of the era.

ancient-3d-for-turboc's People

Contributors

pjc50 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.