File: 30%20-%20Round_Pyramid_N_in%20truncated.txt

package info (click to toggle)
povray 1%3A3.7.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 146,780 kB
  • sloc: cpp: 845,005; ansic: 122,118; sh: 34,206; pascal: 6,420; asm: 3,355; ada: 1,681; makefile: 1,387; cs: 879; awk: 590; perl: 245; xml: 95
file content (21 lines) | stat: -rw-r--r-- 1,165 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//----------------------------------------------------------------------------------------- 
#include "shapes3.inc"
//----------------------------------------------------------------------------------------- 
object{ Round_Pyramid_N_in( // defined by incircle radii 
                            11 , // number of side faces 
                            <0,00,0>, 1.30, <0,1.00,0>, 0.70 , // A, radius A, B, radius B, 
                            0.10, // wire radius or border radius 
                            1,  // 1 = filled, 0 = wireframe
                            1   // 0 = union, 1 = merge for transparent materials           
                          ) //-------------------------------------------------------------

        texture{ pigment{ color rgb<1,1,1> }
               //normal { bumps 0.5 scale 0.015}
                 finish { phong 1}
               } // end of texture
        scale <1,1,1>*1 
        rotate <0,0,0>
        translate< 0, 0.00, 0>
      } // end of object ------------------------------------------------------------------   
//-----------------------------------------------------------------------------------------