Questions tagged [matrix]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
9 votes
2 answers
873 views

How to unproject quadrilateral into rectangle?

tl;dr: Math problem in projective geometry: How does one find some 4x4 camera matrix that gives a projection as illustrated below, such that points A,B,C,D are somewhere on the edges of the unit box (...
ninjagecko's user avatar
4 votes
1 answer
2k views

Inverse value in a Perspective Matrix

I am a new leaner of computer graphics. I'm trying to understand a code I found online and I got stuck in the following formula: ...
BossShell's user avatar
  • 143
2 votes
1 answer
15k views

How to derive a perspective projection matrix from its components?

This has been haunting me for several days now. I want to find the component that makes up of this 4x4 perspective projection matrix, with $l$(left), $r$(right), $b$(bottom), $t$(top), $n$(near), $f$(...
Manh Nguyen Huu's user avatar
1 vote
1 answer
2k views

Building view transform matrices

For a 3D scene in the world coordinates, its View Reference Point $\mathrm{VRP}$ is at $(5,-2,1)$, and a viewer is looking towards point $A=(1,1,1)$. Construct a transform matrix which will map world ...
S.A's user avatar
  • 317
6 votes
2 answers
2k views

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

I've been reading around that matrices (for example, rotation matrices, but not only) can be thought somehow as coordinate systems. My question is: how is that possible? I've seen for example that ...
user avatar
3 votes
1 answer
1k views

Rotation matrix for a 3D object in space

This is the follow-up question from here: Minimum requirements to uniquely represent a 3D object in space Assume I have 3 original points in a 3D object (in 3D space) as ...
angel_30's user avatar
  • 229
2 votes
2 answers
7k views

Screen space coordinates to Eye space conversion

I'm trying to figure out how to reverse Eye space -> projection -> clip(divide by w) -> screen space conversion. Basically, I want to get Screen space (still have z value for z-buffer) -> undivide? ...
hans-1795's user avatar
1 vote
1 answer
389 views

Final transformation matrix to transform world coordinate into vrc [duplicate]

For a 3D scene in the world coordinates, its View Reference Point $\mathrm{VRP}$ is at $(5,2,1)$, and a viewer is looking towards point $A=(1,1,1)$. Construct a transform matrix which will map world ...
S.A's user avatar
  • 317
0 votes
1 answer
254 views

Convert one triangle to another in matrix4x4?

The context openGL instances learning. I want to transform a reference triangle to another one. So final goal is to have one triangle and the instance being a transformation of that initial triangle. ...
Kroma's user avatar
  • 103