lathe
(tornio)
lathe { linear_spline 6, <0,0>, <1,1>, <3,2>, <2,3>, <2,4>, <0,4> pigment { Blue } finish { ambient .3 phong .75 } |
sor
(surface of revolution) [differenze rispetto a lathe: vedi documentazione]
sor { 8, <0.0, -0.5>, <3.0, 0.0>, <1.0, 0.2>, <0.5, 0.4>, <0.5, 4.0>, <1.0, 5.0>, <3.0, 10.0>, <4.0, 11.0> open texture { T_Gold_1B } } |
prism
prism { linear_sweep linear_spline 0, // sweep the following shape from here ... 1, // ... up through here 7, // the number of points making up the shape ... <3,5>, <-3,5>, <-5,0>, <-3,-5>, <3, -5>, <5,0>, <3,5> pigment { Green } } |
prism { cubic_spline 0, // sweep the following shape from here ... 1, // ... up through here 6, // the number of points making up the shape ... < 3, -5>, // point#1 (control point... not on curve) < 3, 5>, // point#2 ... THIS POINT ... <-5, 0>, // point#3 < 3, -5>, // point#4 < 3, 5>, // point#5 ... MUST MATCH THIS POINT <-5, 0> // point#6 (control point... not on curve) pigment { Green } } |
prism { linear_sweep cubic_spline 0, // sweep the following shape from here ... 1, // ... up through here 18, // the number of points making up the shape ... <3,-5>, <3,5>, <-5,0>, <3, -5>, <3,5>, <-5,0>,//sub-shape #1 <2,-4>, <2,4>, <-4,0>, <2,-4>, <2,4>, <-4,0>, //sub-shape #2 <1,-3>, <1,3>, <-3,0>, <1, -3>, <1,3>, <-3,0> //sub-shape #3 pigment { Green } } |
prism { conic_sweep linear_spline 0, // height 1 1, // height 2 5, // the number of points making up the shape... <1,1>,<-1,1>,<-1,-1>,<1,-1>,<1,1> texture { White_Marble } finish {phong 1 ambient 0.3} } |
sphere_sweep { cubic_spline 7, -x, tt, -y, tt, x, tt, y, tt, -x, tt, -y, tt, x, tt pigment {Red} } |
[scaricare da materiale, files grotto* ]
|
texture
normal
finish
sphere { 0,1.5 pigment { rgbt 1 } hollow interior { media { absorption 7 density { spherical density_map { [0 rgb 0] [0.5 rgb 0] [0.7 rgb .5] [1 rgb 1] } scale 1/2 warp { turbulence 0.5 } scale 2 } } } scale <1.5,6,1.5> translate y } |