|
SoSFInt32 | level |
|
SoSFFloat | radius |
|
◆ SmHQSphere()
SmHQSphere::SmHQSphere |
( |
void | | ) |
|
◆ ~SmHQSphere()
SmHQSphere::~SmHQSphere |
( |
| ) |
|
|
protectedvirtual |
◆ initClass()
◆ level
SoSFInt32 SmHQSphere::level |
Decides the number of times each triangle in the tessellation of the sphere is recursively subdivided into 4 new triangles. At level 1, the sphere will be made from only 8 triangles.
The total number of triangles making up the sphere will therefore be
numtriangles = 8 * (4 ^ (level - 1))
So be careful when increasing the level field value, as the number of triangles making up the sphere will increase exponentially.
The documentation for this class was generated from the following files: