# Tag Info

Accepted

### How to invert an affine matrix with small values?

I found a solution to my specific problem. Instead of computing the determinant and hitting the precision wall, I use the Gauss-Jordan method step by step. In my specific case of affine ...

### What are forms of affine transformations?

Note: I have answered before the edit from trichoplax and I thought you were searching for other transformations other than the one you mentioned. The informations below are still useful so I will ...
Accepted

### Why does an affine transform work only on three of the corners?

An affine transformation doesn't have enough freedom to do what you want. Affine transforms can be constructed to map any triangle to any other triangle, but they can't map any quadrilateral to any ...

### why is translating in 3D space the same as shearing in 4D space?

In a linear transformation system, your origin is always a fixed point, since 0*anything = 0. So imagine you have a cinema screen, and the origin is at the centre of the screen. Using linear ...

### How is that possible that matrices can be thought as coordinate systems?

If you have a 3x3 matrix representing some transformation, you will actually have the X,Y,Z vectors of that transformation in the rows or columns (depending on if it's a row major or column major ...

### What is exactly the third component in homogeneous coordinate system?

To understand the $w$ component, it'll be easier to understand how homogeneous coordinates come about in the first place. The following example will be in 2D for the sake of simplicity, but the same ...
Accepted

Accepted

### $P^2$ vs projection plane

In computer graphics the projection plane is most commonly defined as a plane perpendicular to the camera at a specific distance from the camera (the distance is often labeled $g$). It is the plane ...

### What is exactly the third component in homogeneous coordinate system?

The relationship between standard coordinates $(x,y)$ and homogeneous coordinates $(X,Y,Z)$ is $x = X / Z, y = Y/Z$. Homogeneous coordinates are a type of projective coordinates. All points on the ...

### What kind of transformation when the aspect is changed for a rotated shape?

Let's talk about linear geometric transformations in homogeneous coordinates. In your question there are mainly two kind of geometric transformations involved: planar rotation and planar scaling, the ...
Accepted

### How to convert from Object space into World space (exercise from 3D Math Primer book)

For others who might have this question, here a perhaps more straight forward numeric answer (I'm now working myself on this book as well). Consider that: We are given object space coordinates that ...
Accepted

### Deciphering Affine/Projective Transformation Code

Your understanding of the matrix structure in Q3 is correct. This code just does not construct a matrix explicitly and the matrix multiplication is applied implicitly. I think this part might cause ...
1 vote

### Why shearing coefficients multiplying by y?

A shear can be thought of as an affine transformation that turns a square into a parallelogram: Note that the spacing of points at the same x-position are unchanged by the transformation; the ...
1 vote
Accepted

### How to make a translation relative to the line ax + by + c = 0, affine transformations

If I understand correctly, you want to draw 2 objects mirrored with respect to an arbitrary line. Then when you move 1 object you want the other (reflection) to move with respect to that reflected ...
1 vote

### How to make a translation relative to the line ax + by + c = 0, affine transformations

To mirror an object in relation to an arbitrary line, you first have to find the coordinates of that object in the frame of reference of that line. For convenience, we will define a frame of reference ...
1 vote

1 vote

### OpenGL : How to translate an object with it's own axis

You can put the translation first, and then the rotation, but have the translation happen in the direction of the cow's head. To do that, you need a vector from the center of the cow to its head. Then ...

Only top scored, non community-wiki answers of a minimum length are eligible