Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

2 votes
0 answers
189 views

Finding Camera projection matrix from known input and output

Lets say I have a rectangle with known coordinates in 3D scene, and I'm projecting it using pin point camera to the plane (screen). You can imagine it deforms on the screen per camera transformation ...
Eduard Kovalets's user avatar
1 vote
1 answer
72 views

What fields should a camera class have?

For a good and scalable project structure, what fields would you add to a camera class, apart from its position and orientation? Should I add the near and far planes? Or should that be global, what ...
Karlos's user avatar
  • 113
2 votes
1 answer
425 views

3D homogenous coordinates versus 4D homogenous coordinates

We know that any 2D point $(x, y) $which represents as 3D homogeneous coordinates is of the form $(x, y, 1)$ which is the points of projective plane $P^2.$ If I use the same concepts for 3D points $(...
S. M.'s user avatar
  • 211
0 votes
1 answer
340 views

Perspective transformation is perspective projection? [duplicate]

I know that ( Reference )in transformation source and destination has same coordinates dimensions. But in projection destination coordinate system has fewer dimensions than the source coordinate ...
user avatar
1 vote
5 answers
2k views

Existence of vanishing point

Consider the following example of perspective projection: I have one railway track with two parallel lines meeting at the point $X$ at infinity which is the theoretical approach. This X is called the ...
user avatar
1 vote
0 answers
68 views

3D shearing w. r. t $x$-axis [closed]

Shearing in $X$ axis is achieved by using the following shearing equations- $X_{new} = X_{old}, Y_{new} = Y_{old} + Sh_y × X_{old}, Z_{new} = Z_{old} + Sh_z × X_{old}.$ My question is during $Y_{new}...
user avatar
3 votes
1 answer
862 views

Difference between 2D and 3D pipeline

2D transformation and viewing: The camera projects the 2D world co-ordinate $(x_w, y_w)$ on its projection plane which co-ordinates $(x_v, y_v)$. 3D transformation and viewing: The camera projects the ...
user avatar
0 votes
0 answers
91 views

Consistent Video Depth Estimation from Monocular Lens to approximate LiDAR?

If the iPhone had LiDAR sensors, it would be possible to generate a 3D point cloud that you could theoretically use to furnish a 3D AR reconstruction of your surroundings. E.g. you could create an AR ...
Sergio Charles's user avatar
0 votes
1 answer
273 views

How to compute A and B in projection matrix

I'm trying to compute a projection matrix to transform from view space to NDC with a near clip plane at -1 and far plane at +1. The general form of this matrix (disregarding aspect ratio and focal ...
Supernormal's user avatar
5 votes
2 answers
228 views

How to get the transform amount from a screen vector and a direction vector?

I am working on the move tool in a 3D modeling software. I need to know how much to move when the user drags an axis of the gizmo (for example along the x axis). I have the 2D vector describing how ...
arthur.sw's user avatar
  • 377