Procedural Disco Ball (Mirror Ball)¶
Description¶
A mathematically generated disco ball consisting of multiple flat rectangular facets mapped onto a spherical surface. This model demonstrates the power of coordinate transformation in CadQuery, where simple 2D tiles are precisely positioned in 3D space to form a perfectly faceted sphere. Ideal for testing PBR (Physically Based Rendering) materials and environment reflections.
Key Features¶
- Adjustable Facet Density: Control the number of mirrors by changing the longitudinal and latitudinal segments.
- Perfect Spherical Mapping: Facets are calculated to maintain a consistent gapless structure.
- Rendering Optimized: Each facet is a flat surface, maximizing the "glitter" effect when used with environment maps (HDRI).
- Manifold Geometry: Despite having many faces, the model is a clean, watertight solid.
Dimensions (Default)¶
Radius: 40 mm
Facet Count: 20 X 13 individual faces