Code Monkey home page Code Monkey logo

cpurasterizer's Introduction

3D CPU rasterizer written for CSCE 441 at Texas A&M

Features

  • Can load variety of .obj files (found in /resources)
  • Texture mapping and coloring (switch between modes using 't')
  • Anti-aliasing (using nearest neighbor, bilinear interpolation, and mipmapping methods). Switch between texturing modes using 'n', 'l', and 'm' (when in textured mode)

How to build

  • CMake is used to build the project. Install here.
  • GLFW, GLM, and GLEW are dependencies. Click on the respective links to download.
  • After installing the above dependencies, set global environment variables GLFW_INCLUDE_DIR, GLFW_DIR, and GLEW_DIR to the respective install locations.
  • Download this project and create a new directory in it called build.
  • In build, run CMake using the CMakeLists.txt in the parent directory.
  • The result will depend on if you are using Windows or a Unix system. In the latter case, there should be an executable called CPURasterizer in build, that you can run.

cpurasterizer's People

Contributors

vidithm avatar

Watchers

 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.