How does the hyperboloid model relate to "A Universal Model for Hyperbolic, Euclidean and Spherical Geometries"?

121 Views Asked by At

I just found A Universal Model for Hyperbolic, Euclidean and Spherical Geometries, after reading the HyperRogue game dev notes where it said the hyperboloid model (aka the Minkowski model) was the best general representation to transform between different projections in the hyperbolic space (i.e. to render in the different hyperbolic models). The first link talks about gyrovectors and mobius transforms, the other doesn't. I have a book coming on gyrovectors, I don't know much about them yet.

What I'm wondering is what should be the general model for a programming framework to render in the 3 geometries (spherical, euclidean, hyperbolic), and all of the hyperbolic models. Should I be focusing on the hyperboloid model limited to the hyperbolic space, or is this new universal model something which could serve as a simplified central standard programming model to render in all the model of all 3 spaces? Or is there something else?

1

There are 1 best solutions below

8
On

hyperboloid model limited to the hyperbolic space

Maybe the name "hyperboloid model" is limited to the hyperbolic space, but the computations are not. In HyperRogue, a common implementation is used, which resolves to the hyperboloid model for hyperbolic space, sphere model for spherical space, and homogeneous coordinates for the Euclidean space. You generally simply have to:

  • change the definition of the inner product of the embedding space (Euclidean for S, Minkowski for H)
  • use the relevant $\sin_\kappa$ and $\cos_\kappa$ functions (same as defined in the "universal model" paper)
  • multiply by $\kappa$ in some places
  • and that's all! Otherwise, (almost) everything will be the same. (HyperRogue uses only $\kappa\in\{-1,0,1\}$ and other values of curvature are obtaining by scale, but the system should work with arbitrary values too.)

The writeup (already linked in our dev notes) could be helpful.

This also generalizes the standard techniques used for 3D graphics (homogeneous coordinates for points, rotations and translations represented as matrices). I am not sure whether this universal model has a standard name, let's call it the universal homogeneous model.

As far as I can tell, the "universal model" paper gives only one advantage of the universal stereographic approach over the universal homogeneous model, that is, being more intuitive. Maybe it is more intuitive for some people, but I disagree with this. More specifically:

  • I have seen many newbies to hyperbolic rendering start their work using the Poincaré model and not knowing how to do things in it, and then switching to the hyperboloid model and having less problems in it.
  • Using a symbol $\oplus$ for an operation that is not commutative is bad. Maybe $a \oplus b$ looks simpler than $T_a(b)$, but the later notation makes the meaning clearer.
  • As mentioned in the dev notes, formulas for spherical geometry are generally quite intuitive (if you know linear algebra). Their hyperbolic analogs can be easily found by analogy (assuming good understanding of Minkowski geometry).

Some other important points:

  • Stereographic model is claimed to be more numerically precise than hyperboloid. See e.g. the paper "The Achilles' Heel of 0(3,1)?" by Floyd, Weber and Weeks. In my experience, it depends on what you are doing with it, and if precision is a problem, you should be used another representation anyway.
  • The universal homogeneous model extends naturally to maximally symmetric spacetimes (Minkowski, de Sitter and anti-de Sitter), and also (a bit less naturally) Thurston geometries.
  • If you need ultra-ideal points for something, homogeneous coordinates let you represent them somewhat naturally -- they are simply the points outside of the disk. This is not the case in Poincaré model, where the points outside of the disk are simply inversion images of the points inside.
  • Regarding transforming between projections -- IMO this does not really matter much as you will be doing computations in your chosen model, and only the projection function will be affected. Obviously for Poincaré/stereographic the universal stereographic will be easier. Possibly also for other conformal projections. For others projections, I would say that universal homogeneous is generally more intuitive.