/Camera

Primary LanguageC++

Introduction

resconstruct by glm,glfw3,glsl to replace Eigen, glut

glfw3

Demo

KeyBoard Control

Camera

w - camera move forward. s - camera move backward

a - camera move left. d - camera move right

q - camera move up. e - camera move down

and rotate around axis v

, plotCamera not set.

Scene

/ - show world axes.

r - teapot rotation.

m - polygon mode.

Bugs Log

  • Drift There's no process lock. If we alter the _view_matrix in scene1 expecially after rotation, the _view_matrix will change a litte. Thus, we need another GLCamera to manage top_view GLCamera's view matrix. It's also why remove the stack.