|
![](/i/fill.gif) |
The file is here:
http://news.povray.org/povray.binaries.scene-files/thread/%3Cweb.5551a29627d064353f4ed4340%40news.povray.org%3E/
You can just include it and use the macro:
//------coding here------------
#include "blending_polygon_circle_shape.inc"
object{
Shape_Polygon_To_Circle_Blending(5, x, 0.3, 0.1, 0.8)
pigment{rgb<0.5,0.56,0.5>}
}
//---------------------------
1. The macro create a shape that blend a regular polygon of which center is at
<0,0,0>, to a circle of which center at <0,0, height>.
2. The first parameter is the number of sides of the polygon.
3. The second parameter is a vector.
4. The third parameter is the circumscribed circle radius of the polygon.
5. The fourth parameter is the radius of the circle.
6. The fifth parameter is the height of the shape.
Post a reply to this message
|
![](/i/fill.gif) |