Skip to content

Instantly share code, notes, and snippets.

@ear1grey
Created January 27, 2013 11:10
Show Gist options
  • Save ear1grey/4647885 to your computer and use it in GitHub Desktop.
Save ear1grey/4647885 to your computer and use it in GitHub Desktop.
The Utah Teapot, with height adjusted to look like the real physical teapot.
// This scene of the utah teapot requires no additional files. It creates a
// picture of an elongated teapot (so that the original physical teapots
// dimensions are honoured, and places this crockery in a plain white
// environment.
//
// Utah Teapot using Bezier patches was adapted by Alexander Enzmann from
// the original model by Martin Newell.
// Scene created by Rich Boakes - http://boakes.org/teapot
#declare Flat_Enough = 0.00001;
#declare Teapot_Orientation = <-90, 180, 0>;
#declare teapot =
union {
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<1.40000, 0.00000, 2.40000> <1.40000, -0.78400, 2.40000> <0.78400, -1.40000, 2.40000> <0.00000, -1.40000, 2.40000>
<1.33750, 0.00000, 2.53125> <1.33750, -0.74900, 2.53125> <0.74900, -1.33750, 2.53125> <0.00000, -1.33750, 2.53125>
<1.43750, 0.00000, 2.53125> <1.43750, -0.80500, 2.53125> <0.80500, -1.43750, 2.53125> <0.00000, -1.43750, 2.53125>
<1.50000, 0.00000, 2.40000> <1.50000, -0.84000, 2.40000> <0.84000, -1.50000, 2.40000> <0.00000, -1.50000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, -1.40000, 2.40000> <-0.78400, -1.40000, 2.40000> <-1.40000, -0.78400, 2.40000> <-1.40000, 0.00000, 2.40000>
<0.00000, -1.33750, 2.53125> <-0.74900, -1.33750, 2.53125> <-1.33750, -0.74900, 2.53125> <-1.33750, 0.00000, 2.53125>
<0.00000, -1.43750, 2.53125> <-0.80500, -1.43750, 2.53125> <-1.43750, -0.80500, 2.53125> <-1.43750, 0.00000, 2.53125>
<0.00000, -1.50000, 2.40000> <-0.84000, -1.50000, 2.40000> <-1.50000, -0.84000, 2.40000> <-1.50000, 0.00000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<-1.40000, 0.00000, 2.40000> <-1.40000, 0.78400, 2.40000> <-0.78400, 1.40000, 2.40000> <0.00000, 1.40000, 2.40000>
<-1.33750, 0.00000, 2.53125> <-1.33750, 0.74900, 2.53125> <-0.74900, 1.33750, 2.53125> <0.00000, 1.33750, 2.53125>
<-1.43750, 0.00000, 2.53125> <-1.43750, 0.80500, 2.53125> <-0.80500, 1.43750, 2.53125> <0.00000, 1.43750, 2.53125>
<-1.50000, 0.00000, 2.40000> <-1.50000, 0.84000, 2.40000> <-0.84000, 1.50000, 2.40000> <0.00000, 1.50000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 1.40000, 2.40000> <0.78400, 1.40000, 2.40000> <1.40000, 0.78400, 2.40000> <1.40000, 0.00000, 2.40000>
<0.00000, 1.33750, 2.53125> <0.74900, 1.33750, 2.53125> <1.33750, 0.74900, 2.53125> <1.33750, 0.00000, 2.53125>
<0.00000, 1.43750, 2.53125> <0.80500, 1.43750, 2.53125> <1.43750, 0.80500, 2.53125> <1.43750, 0.00000, 2.53125>
<0.00000, 1.50000, 2.40000> <0.84000, 1.50000, 2.40000> <1.50000, 0.84000, 2.40000> <1.50000, 0.00000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<1.50000, 0.00000, 2.40000> <1.50000, -0.84000, 2.40000> <0.84000, -1.50000, 2.40000> <0.00000, -1.50000, 2.40000>
<1.75000, 0.00000, 1.87500> <1.75000, -0.98000, 1.87500> <0.98000, -1.75000, 1.87500> <0.00000, -1.75000, 1.87500>
<2.00000, 0.00000, 1.35000> <2.00000, -1.12000, 1.35000> <1.12000, -2.00000, 1.35000> <0.00000, -2.00000, 1.35000>
<2.00000, 0.00000, 0.90000> <2.00000, -1.12000, 0.90000> <1.12000, -2.00000, 0.90000> <0.00000, -2.00000, 0.90000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, -1.50000, 2.40000> <-0.84000, -1.50000, 2.40000> <-1.50000, -0.84000, 2.40000> <-1.50000, 0.00000, 2.40000>
<0.00000, -1.75000, 1.87500> <-0.98000, -1.75000, 1.87500> <-1.75000, -0.98000, 1.87500> <-1.75000, 0.00000, 1.87500>
<0.00000, -2.00000, 1.35000> <-1.12000, -2.00000, 1.35000> <-2.00000, -1.12000, 1.35000> <-2.00000, 0.00000, 1.35000>
<0.00000, -2.00000, 0.90000> <-1.12000, -2.00000, 0.90000> <-2.00000, -1.12000, 0.90000> <-2.00000, 0.00000, 0.90000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<-1.50000, 0.00000, 2.40000> <-1.50000, 0.84000, 2.40000> <-0.84000, 1.50000, 2.40000> <0.00000, 1.50000, 2.40000>
<-1.75000, 0.00000, 1.87500> <-1.75000, 0.98000, 1.87500> <-0.98000, 1.75000, 1.87500> <0.00000, 1.75000, 1.87500>
<-2.00000, 0.00000, 1.35000> <-2.00000, 1.12000, 1.35000> <-1.12000, 2.00000, 1.35000> <0.00000, 2.00000, 1.35000>
<-2.00000, 0.00000, 0.90000> <-2.00000, 1.12000, 0.90000> <-1.12000, 2.00000, 0.90000> <0.00000, 2.00000, 0.90000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 1.50000, 2.40000> <0.84000, 1.50000, 2.40000> <1.50000, 0.84000, 2.40000> <1.50000, 0.00000, 2.40000>
<0.00000, 1.75000, 1.87500> <0.98000, 1.75000, 1.87500> <1.75000, 0.98000, 1.87500> <1.75000, 0.00000, 1.87500>
<0.00000, 2.00000, 1.35000> <1.12000, 2.00000, 1.35000> <2.00000, 1.12000, 1.35000> <2.00000, 0.00000, 1.35000>
<0.00000, 2.00000, 0.90000> <1.12000, 2.00000, 0.90000> <2.00000, 1.12000, 0.90000> <2.00000, 0.00000, 0.90000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<2.00000, 0.00000, 0.90000> <2.00000, -1.12000, 0.90000> <1.12000, -2.00000, 0.90000> <0.00000, -2.00000, 0.90000>
<2.00000, 0.00000, 0.45000> <2.00000, -1.12000, 0.45000> <1.12000, -2.00000, 0.45000> <0.00000, -2.00000, 0.45000>
<1.50000, 0.00000, 0.22500> <1.50000, -0.84000, 0.22500> <0.84000, -1.50000, 0.22500> <0.00000, -1.50000, 0.22500>
<1.50000, 0.00000, 0.15000> <1.50000, -0.84000, 0.15000> <0.84000, -1.50000, 0.15000> <0.00000, -1.50000, 0.15000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, -2.00000, 0.90000> <-1.12000, -2.00000, 0.90000> <-2.00000, -1.12000, 0.90000> <-2.00000, 0.00000, 0.90000>
<0.00000, -2.00000, 0.45000> <-1.12000, -2.00000, 0.45000> <-2.00000, -1.12000, 0.45000> <-2.00000, 0.00000, 0.45000>
<0.00000, -1.50000, 0.22500> <-0.84000, -1.50000, 0.22500> <-1.50000, -0.84000, 0.22500> <-1.50000, 0.00000, 0.22500>
<0.00000, -1.50000, 0.15000> <-0.84000, -1.50000, 0.15000> <-1.50000, -0.84000, 0.15000> <-1.50000, 0.00000, 0.15000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<-2.00000, 0.00000, 0.90000> <-2.00000, 1.12000, 0.90000> <-1.12000, 2.00000, 0.90000> <0.00000, 2.00000, 0.90000>
<-2.00000, 0.00000, 0.45000> <-2.00000, 1.12000, 0.45000> <-1.12000, 2.00000, 0.45000> <0.00000, 2.00000, 0.45000>
<-1.50000, 0.00000, 0.22500> <-1.50000, 0.84000, 0.22500> <-0.84000, 1.50000, 0.22500> <0.00000, 1.50000, 0.22500>
<-1.50000, 0.00000, 0.15000> <-1.50000, 0.84000, 0.15000> <-0.84000, 1.50000, 0.15000> <0.00000, 1.50000, 0.15000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 2.00000, 0.90000> <1.12000, 2.00000, 0.90000> <2.00000, 1.12000, 0.90000> <2.00000, 0.00000, 0.90000>
<0.00000, 2.00000, 0.45000> <1.12000, 2.00000, 0.45000> <2.00000, 1.20000, 0.45000> <2.00000, 0.00000, 0.45000>
<0.00000, 1.50000, 0.22500> <0.84000, 1.50000, 0.22500> <1.50000, 0.84000, 0.22500> <1.50000, 0.00000, 0.22500>
<0.00000, 1.50000, 0.15000> <0.84000, 1.50000, 0.15000> <1.50000, 0.84000, 0.15000> <1.50000, 0.00000, 0.15000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<-1.60000, 0.00000, 2.02500> <-1.60000, -0.30000, 2.02500> <-1.50000, -0.30000, 2.25000> <-1.50000, 0.00000, 2.25000>
<-2.30000, 0.00000, 2.02500> <-2.30000, -0.30000, 2.02500> <-2.50000, -0.30000, 2.25000> <-2.50000, 0.00000, 2.25000>
<-2.70000, 0.00000, 2.02500> <-2.70000, -0.30000, 2.02500> <-3.00000, -0.30000, 2.25000> <-3.00000, 0.00000, 2.25000>
<-2.70000, 0.00000, 1.80000> <-2.70000, -0.30000, 1.80000> <-3.00000, -0.30000, 1.80000> <-3.00000, 0.00000, 1.80000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<-1.50000, 0.00000, 2.25000> <-1.50000, 0.30000, 2.25000> <-1.60000, 0.30000, 2.02500> <-1.60000, 0.00000, 2.02500>
<-2.50000, 0.00000, 2.25000> <-2.50000, 0.30000, 2.25000> <-2.30000, 0.30000, 2.02500> <-2.30000, 0.00000, 2.02500>
<-3.00000, 0.00000, 2.25000> <-3.00000, 0.30000, 2.25000> <-2.70000, 0.30000, 2.02500> <-2.70000, 0.00000, 2.02500>
<-3.00000, 0.00000, 1.80000> <-3.00000, 0.30000, 1.80000> <-2.70000, 0.30000, 1.80000> <-2.70000, 0.00000, 1.80000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<-2.70000, 0.00000, 1.80000> <-2.70000, -0.30000, 1.80000> <-3.00000, -0.30000, 1.80000> <-3.00000, 0.00000, 1.80000>
<-2.70000, 0.00000, 1.57500> <-2.70000, -0.30000, 1.57500> <-3.00000, -0.30000, 1.35000> <-3.00000, 0.00000, 1.35000>
<-2.50000, 0.00000, 1.12500> <-2.50000, -0.30000, 1.12500> <-2.65000, -0.30000, 0.93750> <-2.65000, 0.00000, 0.93750>
<-2.00000, 0.00000, 0.90000> <-2.00000, -0.30000, 0.90000> <-1.90000, -0.30000, 0.60000> <-1.90000, 0.00000, 0.60000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<-3.00000, 0.00000, 1.80000> <-3.00000, 0.30000, 1.80000> <-2.70000, 0.30000, 1.80000> <-2.70000, 0.00000, 1.80000>
<-3.00000, 0.00000, 1.35000> <-3.00000, 0.30000, 1.35000> <-2.70000, 0.30000, 1.57500> <-2.70000, 0.00000, 1.57500>
<-2.65000, 0.00000, 0.93750> <-2.65000, 0.30000, 0.93750> <-2.50000, 0.30000, 1.12500> <-2.50000, 0.00000, 1.12500>
<-1.90000, 0.00000, 0.60000> <-1.90000, 0.30000, 0.60000> <-2.00000, 0.30000, 0.90000> <-2.00000, 0.00000, 0.90000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<1.70000, 0.00000, 1.42500> <1.70000, -0.66000, 1.42500> <1.70000, -0.66000, 0.60000> <1.70000, 0.00000, 0.60000>
<2.60000, 0.00000, 1.42500> <2.60000, -0.66000, 1.42500> <3.10000, -0.66000, 0.82500> <3.10000, 0.00000, 0.82500>
<2.30000, 0.00000, 2.10000> <2.30000, -0.25000, 2.10000> <2.40000, -0.25000, 2.02500> <2.40000, 0.00000, 2.02500>
<2.70000, 0.00000, 2.40000> <2.70000, -0.25000, 2.40000> <3.30000, -0.25000, 2.40000> <3.30000, 0.00000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<1.70000, 0.00000, 0.60000> <1.70000, 0.66000, 0.60000> <1.70000, 0.66000, 1.42500> <1.70000, 0.00000, 1.42500>
<3.10000, 0.00000, 0.82500> <3.10000, 0.66000, 0.82500> <2.60000, 0.66000, 1.42500> <2.60000, 0.00000, 1.42500>
<2.40000, 0.00000, 2.02500> <2.40000, 0.25000, 2.02500> <2.30000, 0.25000, 2.10000> <2.30000, 0.00000, 2.10000>
<3.30000, 0.00000, 2.40000> <3.30000, 0.25000, 2.40000> <2.70000, 0.25000, 2.40000> <2.70000, 0.00000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<2.70000, 0.00000, 2.40000> <2.70000, -0.25000, 2.40000> <3.30000, -0.25000, 2.40000> <3.30000, 0.00000, 2.40000>
<2.80000, 0.00000, 2.47500> <2.80000, -0.25000, 2.47500> <3.52500, -0.25000, 2.49375> <3.52500, 0.00000, 2.49375>
<2.90000, 0.00000, 2.47500> <2.90000, -0.15000, 2.47500> <3.45000, -0.15000, 2.51250> <3.45000, 0.00000, 2.51250>
<2.80000, 0.00000, 2.40000> <2.80000, -0.15000, 2.40000> <3.20000, 0.00000, 2.40000> <3.20000, 0.00000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<3.30000, 0.00000, 2.40000> <3.30000, 0.25000, 2.40000> <2.70000, 0.25000, 2.40000> <2.70000, 0.00000, 2.40000>
<3.52500, 0.00000, 2.49375> <3.52500, 0.25000, 2.49375> <2.80000, 0.25000, 2.47500> <2.80000, 0.00000, 2.47500>
<3.45000, 0.00000, 2.51250> <3.45000, 0.15000, 2.51250> <2.90000, 0.15000, 2.47500> <2.90000, 0.00000, 2.47500>
<3.20000, 0.00000, 2.40000> <3.20000, 0.15000, 2.40000> <2.80000, 0.15000, 2.40000> <2.80000, 0.00000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000>
<0.80000, 0.00000, 3.15000> <0.80000, -0.45000, 3.15000> <0.45000, -0.80000, 3.15000> <0.00000, -0.80000, 3.15000>
<0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000>
<0.20000, 0.00000, 2.70000> <0.20000, -0.11200, 2.70000> <0.11200, -0.20000, 2.70000> <0.00000, -0.20000, 2.70000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000>
<0.00000, -0.80000, 3.15000> <-0.45000, -0.80000, 3.15000> <-0.80000, -0.45000, 3.15000> <-0.80000, 0.00000, 3.15000>
<0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000>
<0.00000, -0.20000, 2.70000> <-0.11200, -0.20000, 2.70000> <-0.20000, -0.11200, 2.70000> <-0.20000, 0.00000, 2.70000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000>
<-0.80000, 0.00000, 3.15000> <-0.80000, 0.45000, 3.15000> <-0.45000, 0.80000, 3.15000> <0.00000, 0.80000, 3.15000>
<0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000>
<-0.20000, 0.00000, 2.70000> <-0.20000, 0.11200, 2.70000> <-0.11200, 0.20000, 2.70000> <0.00000, 0.20000, 2.70000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000> <0.00000, 0.00000, 3.15000>
<0.00000, 0.80000, 3.15000> <0.45000, 0.80000, 3.15000> <0.80000, 0.45000, 3.15000> <0.80000, 0.00000, 3.15000>
<0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000> <0.00000, 0.00000, 2.85000>
<0.00000, 0.20000, 2.70000> <0.11200, 0.20000, 2.70000> <0.20000, 0.11200, 2.70000> <0.20000, 0.00000, 2.70000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.20000, 0.00000, 2.70000> <0.20000, -0.11200, 2.70000> <0.11200, -0.20000, 2.70000> <0.00000, -0.20000, 2.70000>
<0.40000, 0.00000, 2.55000> <0.40000, -0.22400, 2.55000> <0.22400, -0.40000, 2.55000> <0.00000, -0.40000, 2.55000>
<1.30000, 0.00000, 2.55000> <1.30000, -0.72800, 2.55000> <0.72800, -1.30000, 2.55000> <0.00000, -1.30000, 2.55000>
<1.30000, 0.00000, 2.40000> <1.30000, -0.72800, 2.40000> <0.72800, -1.30000, 2.40000> <0.00000, -1.30000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, -0.20000, 2.70000> <-0.11200, -0.20000, 2.70000> <-0.20000, -0.11200, 2.70000> <-0.20000, 0.00000, 2.70000>
<0.00000, -0.40000, 2.55000> <-0.22400, -0.40000, 2.55000> <-0.40000, -0.22400, 2.55000> <-0.40000, 0.00000, 2.55000>
<0.00000, -1.30000, 2.55000> <-0.72800, -1.30000, 2.55000> <-1.30000, -0.72800, 2.55000> <-1.30000, 0.00000, 2.55000>
<0.00000, -1.30000, 2.40000> <-0.72800, -1.30000, 2.40000> <-1.30000, -0.72800, 2.40000> <-1.30000, 0.00000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<-0.20000, 0.00000, 2.70000> <-0.20000, 0.11200, 2.70000> <-0.11200, 0.20000, 2.70000> <0.00000, 0.20000, 2.70000>
<-0.40000, 0.00000, 2.55000> <-0.40000, 0.22400, 2.55000> <-0.22400, 0.40000, 2.55000> <0.00000, 0.40000, 2.55000>
<-1.30000, 0.00000, 2.55000> <-1.30000, 0.72800, 2.55000> <-0.72800, 1.30000, 2.55000> <0.00000, 1.30000, 2.55000>
<-1.30000, 0.00000, 2.40000> <-1.30000, 0.72800, 2.40000> <-0.72800, 1.30000, 2.40000> <0.00000, 1.30000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 0.20000, 2.70000> <0.11200, 0.20000, 2.70000> <0.20000, 0.11200, 2.70000> <0.20000, 0.00000, 2.70000>
<0.00000, 0.40000, 2.55000> <0.22400, 0.40000, 2.55000> <0.40000, 0.22400, 2.55000> <0.40000, 0.00000, 2.55000>
<0.00000, 1.30000, 2.55000> <0.72800, 1.30000, 2.55000> <1.30000, 0.72800, 2.55000> <1.30000, 0.00000, 2.55000>
<0.00000, 1.30000, 2.40000> <0.72800, 1.30000, 2.40000> <1.30000, 0.72800, 2.40000> <1.30000, 0.00000, 2.40000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000>
<1.42500, 0.00000, 0.00000> <1.42500, 0.79800, 0.00000> <0.79800, 1.42500, 0.00000> <0.00000, 1.42500, 0.00000>
<1.50000, 0.00000, 0.07500> <1.50000, 0.84000, 0.07500> <0.84000, 1.50000, 0.07500> <0.00000, 1.50000, 0.07500>
<1.50000, 0.00000, 0.15000> <1.50000, 0.84000, 0.15000> <0.84000, 1.50000, 0.15000> <0.00000, 1.50000, 0.15000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000>
<0.00000, 1.42500, 0.00000> <-0.79800, 1.42500, 0.00000> <-1.42500, 0.79800, 0.00000> <-1.42500, 0.00000, 0.00000>
<0.00000, 1.50000, 0.07500> <-0.84000, 1.50000, 0.07500> <-1.50000, 0.84000, 0.07500> <-1.50000, 0.00000, 0.07500>
<0.00000, 1.50000, 0.15000> <-0.84000, 1.50000, 0.15000> <-1.50000, 0.84000, 0.15000> <-1.50000, 0.00000, 0.15000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000>
<-1.42500, 0.00000, 0.00000> <-1.42500, -0.79800, 0.00000> <-0.79800, -1.42500, 0.00000> <0.00000, -1.42500, 0.00000>
<-1.50000, 0.00000, 0.07500> <-1.50000, -0.84000, 0.07500> <-0.84000, -1.50000, 0.07500> <0.00000, -1.50000, 0.07500>
<-1.50000, 0.00000, 0.15000> <-1.50000, -0.84000, 0.15000> <-0.84000, -1.50000, 0.15000> <0.00000, -1.50000, 0.15000>
}
bicubic_patch { type 1 flatness Flat_Enough u_steps 5 v_steps 5
<0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000> <0.00000, 0.00000, 0.00000>
<0.00000, -1.42500, 0.00000> <0.79800, -1.42500, 0.00000> <1.42500, -0.79800, 0.00000> <1.42500, 0.00000, 0.00000>
<0.00000, -1.50000, 0.07500> <0.84000, -1.50000, 0.07500> <1.50000, -0.84000, 0.07500> <1.50000, 0.00000, 0.07500>
<0.00000, -1.50000, 0.15000> <0.84000, -1.50000, 0.15000> <1.50000, -0.84000, 0.15000> <1.50000, 0.00000, 0.15000>
}
rotate Teapot_Orientation
scale <1, 1.333, 1>
}
light_source { < 200.0, 130.0, -130.0 > colour <0.8,0.8,0.8> * 0.25}
light_source { < 140.0, 200.0, -800.0 > colour <0.8,0.8,0.8> * 0.15 }
light_source { < -170.0, 300.0, -400.0 > colour <0.8,0.8,0.8> * 0.65 }
camera {
location <-0.25, 4.5, -5.5>
look_at <-0.25, 2, 0>
}
fog {
distance 20
color rgb 1
fog_offset 5
fog_alt 25
fog_type 1
}
object {
teapot
texture {
pigment {
color
red 1
green 0.93
blue 0.80
}
finish {
phong 1.1
diffuse 1.01
reflection 0.25
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment