Questions tagged [projections]
Questions about the conversions of a 3D model to a 2D model.
135
questions
28
votes
5
answers
13k
views
Does a sphere projected into 2D space always result in an ellipse?
My intuition has always been that when any sphere is projected into 2D space that the result will always mathematically be an ellipse (or a circle in degenerate cases).
In the past when I was ...
17
votes
1
answer
4k
views
How can I generate procedural noise on a sphere?
I would like to generate procedural noise on the surface of a sphere (e.g. to procedurally generate planets or marble-textured balls). Of course, I could just take a standard noise algorithm and map ...
15
votes
1
answer
478
views
Need a reputable source for the formula for the shape of Earth's horizon
What I'm asking for
I stress that I am not asking for the formula---I know the formula, and how to derive it. Several different versions of it are reproduced near the end of the post. In fact, ...
13
votes
1
answer
27k
views
What's the difference between orthographic and perspective projection?
I have been studying computer graphics, from the book Fundamentals of Computer Graphic (but the third edition), and I lastly read about projections. Though, I didn't exactly understand what's the ...
10
votes
2
answers
5k
views
Why do GPUs divide clip space Z by W, for position?
Background:
I found that it is very easy to use a linear depth buffer, using only a slight modification to the canonical vertex transformation. The simplest method is found at the bottom of https://...
9
votes
2
answers
3k
views
How am I able to perform perspective projection without a near plane?
I'm learning about 3D computer graphics, but I'm having a hard time understanding why the near plane of a viewing frustum can not be placed at z position $0$ (right at the camera).
I can understand ...
9
votes
1
answer
3k
views
Why are width and height divided by 2 in the perspective projection matrix?
I'm using OpenGL to learn computer graphics. I'm trying to understand projection matrices. The following are shown in the OpenGL 'Red Book':
I don't understand why the width and height are divided ...
9
votes
2
answers
270
views
What transformations should I apply to a model to produce this 3D effect?
I saw a video on YouTube where a person uses a transparant, knotted pyramid to display "holograms" using their smartphone. (I have not been able to reproduce this yet, so I can't tell for sure if it ...
9
votes
1
answer
1k
views
Calculate aspect ratio from 2D shape in 3D space
Given the 4 coordinates of a 2D shape in a 3D space I want to calculate its aspect ratio.
The 3D space is created with 2 vanishing points.
The 4 coordinates - marked blue - are the 2D coordinates on ...
9
votes
2
answers
904
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 (...
7
votes
1
answer
4k
views
Zoom in orthographic vs perspective projection
I have read through this article about perspective and orthographic projection matrices.
I started playing with the perspective matrix and as expected if I either increase/decrease the field of view ...
6
votes
1
answer
772
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 ...
6
votes
1
answer
137
views
Materials for research on spherical projection
I am currently doing a research on projection on a sphere, specifically for NOAA's project Science on a Sphere. What I'm trying to do is to find out how exactly do you create a video material for such ...
5
votes
3
answers
755
views
Why is the back of a perspective frustrum larger than the front?
I'm following this tutorial on the perspective projection.
Question: If the point of a perspective projection is to create the perspective effect (where objects faraway appear to be smaller):
then ...
5
votes
1
answer
2k
views
Render with camera perspective off-center
So ordinarily we have this
But I'm after this!
Is it possible to do this? Ideally by changing the projection matrix?
The reasoning is kinda interesting - I am developing for mobile VR, and I have ...