mattrdowney / planetaria

A Unity framework for Euclidean 2-sphere games (e.g. 2D virtual reality games) [quasi-MIT license]
Other
10 stars 2 forks source link

Planetarium vector geometry (.pvg file) #72

Open mattrdowney opened 6 years ago

mattrdowney commented 6 years ago

The primary goal here is to represent planetarium shapes where points to the "right" side are considered within the region (since an equator line would be ambiguous).

Rendering the graphic in real time is a far more complicated issue, since infinite resolution textures are usually pre-computed at load time. The exact format should not be decided until good loading algorithms are discovered (although some intermediate file format will ultimately be necessary I suppose).

.svg files should also be supported (for a single hemisphere -- possibly both hemispheres).

.pvg and .svg files should only support shapes that generate arcs on spheres so geometry can be generated from it (as well as graphics) efficiently.

mattrdowney commented 6 years ago

it's pronounced pug like the dog

mattrdowney commented 5 years ago

Conceptually, this is similar to PlanetariaShape, although the purposes are different and it may serve some purpose in the future (to be determined).