Giter Club home page Giter Club logo

opengl-glut's Introduction

opengl-glut

Boilerplate

Super super simple and minimal.

Lab01 - flag

Draw Vietnam national flag. ez game man.

Lab02 - spin

Draw a square which has a triangle inside.
If left mouse is clicked, spin the square (triangle stays the same). If right mouse, stop the spinning. If click left mouse inside the triangle, move the square (and triangle) as the mouse dragging.

Lab03.1 - koch

Draw the koch snowflake, with hard-coded number of iterations.
Haven't update to use keyboard to control number of interations yet.

Lab03.2 - rose

Draw one of the rose curves.
Haven't update to use keyboard to control number of interations yet.

Lab04 - dinosaur

Draw a dinosaur by reading vertices' coordinates from .bat file. Then draw another dinosaur, half the size, face-to-face with the previous one.

Draw a stickman, reading fixed coordinate vertices from array. Stickman auto moves back and forth with arms and legs swinging.
Haven't update to use keyboard to control stickman movement yet. I hate stickman.

Lab06 - tweening

Draw auto-created intermediate frames when changing between two given shapes, smoothing down the animation.

Lab07.1-1 - texChecker

Draw two black and white checkerboards with perspective using texture created by code.

Lab07.1-2 - texReplace

Same as texChecker, but insert a smaller red-black checkboard on the old one when press s, remove it when press r.

Lab07.2-1 - texImage

Create texture from a bmp image and a checkboard texture like above.
Interations: Press Space, change between 2 textures. Press left, right -> rotate

opengl-glut's People

Contributors

pvmtrang 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.