All Questions
Tagged with projections 3d
35
questions
0
votes
0
answers
19
views
How to extract points corresponding to faces from cube map projection (CMP) of panorama from point cloud data
I am working with the standford2d3d dataset http://buildingparser.stanford.edu/dataset.html which contains panoramas of various scenes and a .mat file of the point cloud information of all the scenes. ...
0
votes
0
answers
31
views
Object appears in unintended parts of the screen when using manual WorldToScreenPoint
Hy guys I'm new to 3d graphics and i lack some Linear algebra knowledge. I tried to recreate Unity's worldToScreenPoint method with kotlin on android. I copied some code from their forum and wrote ...
0
votes
0
answers
37
views
3D engine projection distortions
I'm trying to write my own 3D engine using Python and Pygame.
I have successfully implemented rotation and projection matrices to display 3D models. However I am so far unable to implement translation ...
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 ...
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 ...
4
votes
1
answer
1k
views
How to derive Field of View (FOV) angles from a 2D projection
I'm looking for some guidance.
I'm not sure if this is possible, and I'm not sure where to start.
I need to measure the FOV angles of a first-person, 3D game using only gameplay screenshots.
I'm bound ...
-1
votes
1
answer
171
views
Why we calculate z buffer value from plane equation $AX+BY+CZ+D=0$?
Suppose in perspective projection $(x, y, z)$ coordinate projects to point $(x_p, y_p, z_{vp})$ in projection plane $AX+BY+CZ+D=0$ where projection plane kept at $z_{vp}$ position. And the plane $AX+...
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 $(...
3
votes
2
answers
277
views
$(x, y, 1)$ is 2D homogenous coordinates or 3D homogenous coordinates?
We know that $(x, y, 1)$ are the homogenous coordinates of a 2D point $(x, y)$. $(x, y, 1)$ has 2 degrees of freedom. That's why we should call it 2D homogenous coordinates. But many websites say it's ...
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 ...
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 ...
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}...
3
votes
1
answer
863
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 ...
1
vote
2
answers
309
views
Difference between perspective and parallel projection [closed]
We know that in orthographic Projection Projectors (projection vectors) are perpendicular to the projection plane.
And in Perspective Projection Object positions are transformed to the view plane ...
2
votes
1
answer
221
views
$P^2$ vs projection plane
I want to explain what I understood of definition of the two things.
Projection plane:
The general processing steps for modeling and converting a world coordinate description of a scene to
device ...
0
votes
1
answer
345
views
How does 3D graphic software adjust for distortion inherent in perspective projection?
As this question and its answers point out, projecting a sphere on a flat picture plane, with perspective projection, may result in a ellipse, not a circle, and my understanding is that the only way a ...
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 ...
0
votes
1
answer
120
views
Keep constant number of visible circles in 3D animation
I have created a 3D animation with a perspective projection of white circles moving randomly in a fake 3D space projected on a 2D computer screen (GIF 1).
Since I need to keep the same number of ...
2
votes
1
answer
121
views
Y axis inversion in 3D rasterization
What is the correct way to invert the y axis during the 3D projection?
I see a lot a people doing:
...
2
votes
1
answer
1k
views
Intrinsic Matrix vs Perspective projection matrix
I was going through the camera matrix explained in the wikipedia article and understand how the matrix K \begin{bmatrix}f_x&s&x_0\\0&f_y&y_0\\0&0&1\end{bmatrix} is built. The ...
0
votes
1
answer
882
views
Understanding the near clipping plane
I don't understand something about the near clipping plane. It's there to avoid the division by $0$ but when we compute the pixel coordinates, we just need to multiply by the clipping plane to clip ...
0
votes
1
answer
506
views
Why is the z direction away from the screen/viewer?
I wonder what is the reason that when z increase, the objects appear far away and when z is negative, the object is behind the camera?
3
votes
3
answers
3k
views
3ds max: Z-fighting when working with Large Objects
I had a z-fighting/z-clipping issue with a scene containing some very large objects yesterday in 3ds max. It can be seen in the image below:
For some reason downscaling the scene significantly (a ...
1
vote
1
answer
246
views
Overlaying a grid on to a height map
What is the method used in overlaying a grid (agonostic of the grid type) on to a height map? It seems it's some sort of projection, but what are the technical details in how to implement it?
An ...
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 ...
3
votes
0
answers
98
views
Possible approach for product mockup creation including distortion created through perspective
I am not an expert in 3D nor computer graphics. Please forgive me if I use wrong wording.
High level problem description: For an online shop, I would like to create mockup images of apparel (t-shirts,...
1
vote
2
answers
112
views
If a 3D scene is rendered onto a hemispherical display, will there still be warping near the edges?
When a 3D scene is rendered to a 2D display, the image is distorted near the edges of the display.
If a 3D scene is rendered onto a hemispherical display, will there still be warping?
2
votes
1
answer
16k
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$(...
0
votes
2
answers
278
views
The distance from the cube sides to the parallel projection plane
I have asked this question on ru.stackoverflow.com and have no valid answers.
Specification:
Coordinate system
Cube spins around its center on all three axes.
Turn angle is not known previously.
...
6
votes
1
answer
786
views
3D projection that increases objects' size as they become more distant
tl;dr Is there a name for a type of (non-physical) projection that causes objects to become larger the farther they are from a camera?
With a fisheye projection, an object twice as far from the ...