Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Book 3.4: Mapping unit sphere to 2D space #1536

Open
dimitry-ishenko opened this issue Apr 17, 2024 · 0 comments
Open

Book 3.4: Mapping unit sphere to 2D space #1536

dimitry-ishenko opened this issue Apr 17, 2024 · 0 comments
Milestone

Comments

@dimitry-ishenko
Copy link

dimitry-ishenko commented Apr 17, 2024

3rd paragraph in chapter 4 is not very clear IMHO:

Every direction in 3D space has an associated point on the unit sphere and can be generated by solving for the vector that travels from the origin to that associated point. You can think of choosing a random direction as choosing a random point in a constrained two dimensional plane: the plane created by mapping the unit sphere to Cartesian coordinates.

My understanding of this is:

In the spherical coordinate system each point on a sphere can be represented by $r$, $\theta$ and $\phi$ (radial distance, polar angle and azimuth). Since $r = 1$ for a unit-sphere, we only need to map the two angles in a constrained two-dimensional space, where $\theta \in [0, \pi]$ and $\phi \in [0, 2\pi]$.

@hollasch hollasch added this to the v4.0.0 milestone Apr 19, 2024
@hollasch hollasch changed the title [Book 3, Chapter 4] Mapping unit sphere to 2D space Book 3.4: Mapping unit sphere to 2D space Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants