Giter VIP home page Giter VIP logo

diwide's Introduction

DIWide

Features

  • perspective-correct vertex attribute interpolation
  • correct near-plane clipping
  • viewport and backface culling
  • fully gamma-correct pipeline
  • bilinear texture filtering
  • diffuse, normal, and roughness textures
  • high-resolution shadow mapping
  • simplified physically-based lighting model
  • post-processing bit-depth reduction
  • built-in custom GIF exporter

How to build

  • macOS: First install GCC 8.x and alias it to gcc-8. This alias will be created automatically if you install GCC via Homebrew (brew install gcc). SDL2 must also be installed (brew install sdl2). After that, run mac-build.sh.
  • Windows: Visual Studio command line tools must be installed. If you don't have Visual Studio installed already, you can get an installer for the standalone build tools here. After that, run win-build.bat from the 64-bit developer command prompt.
  • Advanced build (macOS only for now): In addition to GCC and SDL2, you will need to install ninja (brew install ninja). First, build bob via bob/buid.sh. This only needs to happen once. Then, run build.sh in the root of the repository for subsequent builds.

Currently, only x86-64 CPUs are supported. GCC is used instead of clang on macOS because it produces slightly (around 10-20%) faster code than clang. Right now the renderer runs significantly (around 2x) slower on Windows, because MSVC does a poorer job of optimizing our particular code. I'll add an option for building with GCC on Windows soon. I will also try to get the advanced build working on Windows.

Screenshots

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.