Stellarium  0.17.0
SphericalLandscape Class Reference

Re-implementation of gluSphere : glu is overridden for non-standard projection. More...

#include <StelPainter.hpp>

Detailed Description

Parameters
radius
oneMinusOblateness
slicesnumber of vertical segments ("meridian zones")
stacksnumber of horizontal segments ("latitude zones")
orientInside1 to have normals point inside, e.g. for landscape horizons
flipTextureif texture should be mapped to inside of sphere, e.g. landscape horizons.
topAngleGZ: new parameter. An opening angle [radians] at top of the sphere. Useful if there is an empty region around the top pole, like for a spherical equirectangular horizon panorama ( Example: your horizon line (pano photo) goes up to 26 degrees altitude (highest mountains/trees): topAngle = 64 degrees = 64*M_PI/180.0f
bottomAngleGZ: new parameter. An opening angle [radians] at bottom of the sphere. Useful if there is an empty region around the bottom pole, like for a spherical equirectangular horizon panorama (SphericalLandscape class). Example: your light pollution image (pano photo) goes down to just -5 degrees altitude (lowest street lamps below you): bottomAngle = 95 degrees = 95*M_PI/180.0f