RenderWare V2.1

Previous Page Index Next Page

Hemisphere <radius> <density>

Description

Adds polygons representing a hemisphere to the current clump under construction.

Arguments

radius The radius of the hemisphere.

density Controls the accuracy of the hemisphere.

Comments

The base of the hemisphere lies on the X-Z plane.

The density controls the number of polygons used to approximate the hemisphere. A density of 0 results in a pyramid. The number of polygons used for the approximation varies exponentially with density.

The vertices of the hemisphere are transformed by the current transformation matrix (CTM). The current material is applied to the polygons of the hemisphere.

If a negative radius is given the polygons forming the hemisphere will face inward.

API Equivalent

RwHemisphere()