All Questions
14 questions
1
vote
2
answers
1k
views
3D Camera Rotation (Unwanted Roll) - Space/Flight Cam
I am working on a camera class that will have full range of motion (pitch, yaw, and roll). When only altering pitch and yaw, I am getting a large amount of roll.
I understand that the issue is ...
0
votes
1
answer
3k
views
Order of rotation in Euler angles
I'm want to control the direction my camera looks, so I'm using Euler angles, so rotating around an axis is relative to rotation around previous axis. Something like this.
I want to always rotate ...
0
votes
1
answer
4k
views
How to calculate view matrix for OpenGL 3.+ 2D Camera Roll
I'm trying to create a camera object for my 2D game engine, but I just can't seem to get the view matrix down right.
Here's the code I'm currently using:
...
1
vote
0
answers
880
views
OpenGL ArcBall Camera
I'm currently working on a OpenGl Project and I have alot of difficulty understanding how arcball camera work. From what I have read online, all I have to do is to rotate a camera around a target and ...
0
votes
1
answer
832
views
Free camera rotation in 3D space
I'm using a view matrix to do camera movement and rotation.
...
0
votes
1
answer
1k
views
Camera rotation around point, but without centering
Let's say i have the following:
Point somewhere in space
Camera with position and orientation (up, right, forward)
I want to rotate camera around the point, but also keep this point in same place on ...
4
votes
0
answers
4k
views
Arcball 3D camera
I have checked multiple threads before posting, but i havent been able to figure this one out.
Ok so i have been following this tutorial, but im not using glm, ive been implementing everything up ...
3
votes
2
answers
5k
views
Problem using glm::lookat
I am trying to rotate a sprite so it is always facing a 3D camera.
Object
...
8
votes
2
answers
15k
views
How to rotate camera centered around the camera's position?
Currently I am using gluLook at like so:
...
2
votes
1
answer
1k
views
Finding a suitable axis-angle to avoid gimbal lock
In OpenGL the camera faces the -z axis with the +y axis pointing up. I am using quaternions to represent the orientation of my objects (which works well) and am trying to do the same for the camera. I ...
0
votes
1
answer
2k
views
Camera Rotation (for mouse look) with LookAt does not work as expected (Local/Global)
My code for rotating my 3D fps camera isn't working as expected.
I expect that the X-axis does rotate with the Y-axis, but it ain't so.
I made some pictures to explain it better, I think its doing ...
19
votes
5
answers
59k
views
How can I orbit a camera about it's target point?
I'm drawing a scene where the camera freely moves about the universe. The camera class keeps track of the view (or look at) point, the position of the camera, and the up vector. These vectors/points ...
0
votes
2
answers
751
views
CubeRealm OpenGL rotation problems, need help. :\
I'm totally new to OpenGL and I'm working on a Sandbox game called CubeRealm. My problem you see is rotation. I've got it in my head that to rotate the 'camera' I just rotate all the scene by the ...
4
votes
3
answers
9k
views
Camera Rotation using angles
I currently try to rotate a camera (using gluLookAt()) around a point , i successfully do it for rotating around one global axis.
But when i want to use more than one axis , I'm stuck . I've ...