//balloonDog //demonstrates csg //Andy Harris, 03/25/01 light_source { <0, 0, -15> rgb <1 1 1> } // end light source camera { location <0, 0, -5> look_at <0, 0, 0> } // end camera background { rgb <1, 1, 1> } // end background //dog blob { threshold .3 cylinder { <-2, 0, 0> <2, 0, 0>, .3, 1} //body cylinder { <-2, 0, 0> <-2, 1, 0>, .3, 1} //neck cylinder { <-2, 1, 0> <-3, 1, 0>, .3, 1} //head cylinder { <-2, 1, 0> <-2, 2, .2>, .3, 1} //ear cylinder { <-2, 1, 0> <-2, 2, -.2>, .3, 1} //ear cylinder { <-2, 0, 0> <-2, -2, .5>, .3, 1} //front right cylinder { <-2, 0, 0> <-2, -2, -.5>, .3, 1} //front left cylinder { <2, 0, 0> <2, -2, .5>, .3, 1} //back right cylinder { <2, 0, 0> <2, -2, -.5>, .3, 1} //back left cylinder { <2, 0, 0> <2.2, 1, 0>, .3, 1} // tail pigment { color rgbf <1, .6, .6, .8> } finish {phong .8} rotate y * -45 scale .8 } //