1
vote
Avoiding gimbal lock in spherical movement around an object - Python
You can use rotations where only the deltas are based on Euler angles. Say you have a rotation matrix $R$, e.g. which can be the identity initially. Then you can update the rotation as $R'= R_z(\Delta ...
1
vote
Rendering light balls: Where to do perspective calculations?
First of all a small introduction about the matrices you need.
viewMatrix: This matrix is a 4x4 matrix which stores the position and orientation of your camera with respect to the world origin. ...
1
vote
Accepted
Converting points, vectors, normals between world and object space for a ray tracer gives weird results
I think you have the wrong order of matrix multiplication.
...
1
vote
How to apply transformation matrices from multiple primitives on a mesh
In the glTF format, "primitives" are just a way to specify separate draw calls (and hence, separate materials or shader programs) for a single mesh. There is no transform, as you've ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
transformations × 2293d × 49
matrix × 35
opengl × 27
projections × 27
mathematics × 21
perspective × 18
raytracing × 17
affine-transformations × 16
computational-geometry × 15
camera × 15
camera-matrix × 15
algorithm × 14
geometry × 13
2d × 11
rendering × 9
normal-mapping × 8
linear-algebra × 8
shader × 7
mesh × 7
glsl × 5
c++ × 5
animation × 5
2d-graphics × 5
interpolation × 4