Omnidome
Fulldome Mapping Software Toolkit
|
Functions | |
template<typename VERTICES , typename INDICES > | |
static void | generateCone (size_t _slices, float _zTop, float _zBottom, float _radius, VERTICES &_vertices, INDICES &indices) |
Generate a cone with vertices and indices. More... | |
template<typename VERTICES , typename INDICES > | |
static void | generateSphereStack (size_t _slices, float _zTop, float _zBottom, float _topRadius, float _bottomRadius, VERTICES &_vertices, INDICES &indices) |
Generate a stack with top and bottom radius. More... | |
template<typename VERTICES , typename INDICES > | |
static void | generateSphere (size_t _stacks, size_t _slices, VERTICES &_vertices, INDICES &indices) |
Generate a sphere. More... | |
template<typename VERTICES , typename INDICES > | |
static void | generateSphereUpper (size_t _stacks, size_t _slices, float _bottom, VERTICES &_vertices, INDICES &indices) |
Generate bottom cut off sphere. More... | |
|
static |
Generate a cone with vertices and indices.
|
static |
Generate a sphere.
Top cone
Bottom cone
|
static |
Generate a stack with top and bottom radius.
Top triangle
Bottom triangle
|
static |
Generate bottom cut off sphere.
Top cone