Giter VIP home page Giter VIP logo

shadegl's Introduction

PROJET POGL - ShadeGL

Authors :

Videos are Available in this Playlist :

In order to replicated the results as seen in the video, the projet can be launched by following the instructions below:

  • make build
  • cd build
  • cmake ..
  • make
  • ./ShadeGL

KeyBindings to use different features and get camera movements

  • W|Z or UP to move forward
  • S or DOWN to move backwards
  • Q|A or LEFT to move left
  • D or RIGHT to move right
  • SPACE to move upwards
  • CTRL-RIGHT move downwards
  • left mouse click press and hold left mouse click on screen and move mouse to change the orientation of the camera
  • 1 to use Point LIGHT
  • 2 to use Directional LIGHT
  • 3 to use Spot LIGHT
  • 4 to toggle effect 0
  • 5 to toggle effect 1
  • 6 to toggle effect 2
  • l to set light mode on, you won't be able to move the camera when light movement mode is on. (try pressing multiple times if one press is not working)
  • r while light mode is on, press r to reset light position (same as l try multiple time the light to go back to {0.f, 0.f, 0.f} once its pressed)

Requirements:

  • GLFW libglfw3-dev libglfw3
  • GLEW libglew-dev
  • OPENGL provided with display driver or mesa may be required

shadegl's People

Contributors

shubhpx avatar shubh023 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.