c++ - Rotating the view in openGL? -


i'm new working opengl , attempting create mouse-look camera.

i'm not looking code as method opengl uses managing roll, pitch, , yaw of view. checked out glulookat looks more observing individual object, rather manipulating view.

rotating around y axis works fine yaw. when rotate around x , z based on yaw, things go haywire.

there different methods rotation, personal experience suggest arcball rotation, see this


Comments

Popular posts from this blog

Python __call__ special method practical example -

arrays - jQuery - Retrieve values from HTML elements and return their sum -