Affine transformations
Created 2014-09-12T09:15:57.671Z, last edited 2018-07-31T04:42:44.718Z

Affine transformations
Affine transformations are a way to represent movement, scaling and rotation of objects. They're based on homogeneous co-ordinates.
The spheres have one of two types of transformation applied to them:
- Translation (to move them).
- Scaling (to make the underlying white sphere much larger).
The camera is also positioned using affine transformations. We should never need to scale the camera, but we do rotate it around each of the three axis to make sure we have the code right.
The code is at Scenes/early/affine-transformations.cpp.
Other sizes
© 2002-2025 Kirit & Tai Sælensminde. All forum posts are copyright their respective authors.
Licensed under a Creative Commons License. Non-commercial use is fine so long as you provide attribution.