Code Monkey home page Code Monkey logo

renderer's Introduction

Fun Renderer

Based on opengl programmable rendering pipeline

Rendering

  • Font rendering
  • Basic Object (Cube, Sphere)
  • Multi light source
  • Basic shadow mapping (PCF optimization)
  • Forward Rendering and Deferred Rendering
  • Scene Graph
  • MSAA
  • Basic PBR Material (Cook-Torrance BRDF)

Physics

  • Rough contact detection based on BVH in dynamic scene

Animation

  • Frame animation of position, scale, rotate and color in 2D

Screenshot Screenshot Screenshot

PBR Material, Roughness contrast : Screenshot

PBR Material, Metallic contrast : Screenshot

Dependencies

opengl, glew, glfw, freetype, boost

If you are on windows, there have been prepared most binary files(libs) of these dependencies for you.

note: your graphics driver have to support glsl core 330.

If not, upgrade driver first.

Build

For windows, you can use cmake to generate a vs solution first(Visual Studio 2017 is suggested).

Note you have to assign your boost path.

Screenshot

For linux, do just like this:

cd build
cmake .
make

Note

After April 2020 update, MinGW compiler is not recommended, now only vs 2017 have been tested.

renderer's People

Contributors

bairuo avatar

Stargazers

Larry Z. avatar

Watchers

James Cloos 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.