home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 16
/
CD_ASCQ_16_0994.iso
/
news
/
4613
/
column.inc
< prev
next >
Wrap
Text File
|
1994-01-15
|
5KB
|
229 lines
// Real Ray Tracer v1.0
// A column
#include "colors.inc"
#include "shapes.inc"
#declare Cylinder = intersection {
Cylinder_Y
slab { <0 1 0> -0.85 0.85 }
}
#declare Column = bound {
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.80000 0 0.00000>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.77274 0 0.20706>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.69282 0 0.40000>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.56569 0 0.56569>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.40000 0 0.69282>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.20706 0 0.77274>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.00000 0 0.80000>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.20706 0 0.77274>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.40000 0 0.69282>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.56569 0 0.56569>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.69282 0 0.40000>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.77274 0 0.20706>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.80000 0 -0.00000>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.77274 0 -0.20706>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.69282 0 -0.40000>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.56569 0 -0.56569>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.40000 0 -0.69282>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <-0.20706 0 -0.77274>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.00000 0 -0.80000>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.20706 0 -0.77274>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.40000 0 -0.69282>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.56569 0 -0.56569>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.69282 0 -0.40000>
}
object {
Cylinder
scale <0.10442 1 0.10442>
translate <0.77274 0 -0.20706>
}
object { box { <-1 0.85 -1> <1 1 1> } }
object { box { <-1 -1 -1> <1 -0.85 1> } }
}
by box { <-1 -1 -1> <1 1 1> }
#declare Column2 = bound {
object {
difference {
difference {
difference {
difference {
difference {
difference {
difference {
difference {
difference {
difference {
difference {
difference {
object { Cylinder scale <0.8 1 0.8> }
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <0.80000 0 0.00000>
}
}
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <0.69282 0 0.40000>
}
}
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <0.40000 0 0.69282>
}
}
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <-0.00000 0 0.80000>
}
}
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <-0.40000 0 0.69282>
}
}
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <-0.69282 0 0.40000>
}
}
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <-0.80000 0 -0.00000>
}
}
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <-0.69282 0 -0.40000>
}
}
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <-0.40000 0 -0.69282>
}
}
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <0.00000 0 -0.80000>
}
}
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <0.40000 0 -0.69282>
}
}
object {
Cylinder
scale <0.10442 1.1 0.10442>
translate <0.69282 0 -0.40000>
}
}
}
object { box { <-1 0.85 -1> <1 1 1> } }
object { box { <-1 -1 -1> <1 -0.85 1> } }
}
by box { <-1 -1 -1> <1 1 1> }
end.