saru-d2 / helloWorld-openGL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cg-ass-0

a hello world to computer graphics and the openGL pipeline

Question - to model 3 basic shapes

to run:

mkdir build && cd build
cmake ..
make
./CG-ASS-0

tested on mac, linux


controls...

rotate object: up, down, left, right, ., /

translate object: w, a, s, d, e, r

make camera revolve around object: u, i

translate camera: h, j, k, l, n, m

teleport camera to 3 predetermined coords: x, c, v

cycle through shapes: g

if u want to replicate this, pls use blender to get coordinates of vertices.. much easier ^-^

About


Languages

Language:C 87.9%Language:C++ 6.9%Language:Objective-C 3.9%Language:CMake 1.0%Language:SCSS 0.3%Language:HTML 0.0%Language:GLSL 0.0%