1
vote
Extract a rotation matrix given a camera direction (vector) and a up vector for the camera?
As python code (assumes x to the right and y down in camera space):
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
matrix × 594opengl × 135
mathematics × 130
transformation × 108
rotation × 86
3d × 82
xna × 65
camera × 63
c# × 49
projection × 44
vector × 41
c++ × 37
linear-algebra × 33
coordinates × 27
2d × 26
unity × 25
quaternion × 24
directx × 23
shaders × 22
glm × 20
skeletal-animation × 18
projection-matrix × 18
java × 17
directx11 × 17
glsl × 16