Home
- POV-Ray Tutorial
Geometric Shapes
Index
Basic Shapes
- sphere
- cylinder
- cone
- torus
- box
- prism
- plane
- sor
- lathe
> superellipsoid
- ovus
Shapes by macro + CSG
Shapes in "shapes3.inc"
Other Shapes by macros
3D text shapes
other Shapes
Non CSG Shapes
height_field + HF macros
Isosurfaces
|
superellipsoid{ ... } - superquadric ellipsoid object.
Built-in shape
Examples:
|
// -------------------------------------
superellipsoid{ <2.50,2.50>
texture{ pigment{ color rgb<1,0.2,0.35>}
finish { phong 1}
} // end of texture
scale <1,1,1>
rotate<0,0,0>
translate<0,0,0>
} // ----------------- end superellipsoid |
|
|
// -------------------------------------
superellipsoid{ <1.00,1.00>
texture{ pigment{ color rgb<0.15,1,0.3>}
finish { phong 1}
} // end of texture
scale <1,1,1>
rotate<0,0,0>
translate<0,0,0>
} // ----------------- end superellipsoid |
|
|
// -------------------------------------
superellipsoid{ <0.25,0.25>
texture{ pigment{ color rgb<1,0.75,0.1>}
finish { phong 1}
} // end of texture
scale <1,1,1>
rotate<0,0,0>
translate<0,0,0>
} // ----------------- end superellipsoid |
|
|
// -------------------------------------
superellipsoid{ <1.00,0.25>
texture{ pigment{ color rgb<0.65,1,0.1>}
finish { phong 1}
} // end of texture
scale <1,1,1>
rotate<0,0,0>
translate<0,0,0>
} // ----------------- end superellipsoid |
|
|
// -------------------------------------
superellipsoid{ <3.50,0.25>
texture{ pigment{ color rgb<0.75,0.3,1>}
finish { phong 1}
} // end of texture
scale <1,1,1>
rotate<0,0,0>
translate<0,0,0>
} // ----------------- end superellipsoid |
|
|
// -------------------------------------
superellipsoid{ <0.50,3.50>
texture{ pigment{ color rgb<1,0.85,0.1>}
finish { phong 1}
} // end of texture
scale <1,1,1>
rotate<0,0,0>
translate<0,0,0>
} // ----------------- end superellipsoid |
|
|