Лабораторна робота 5 .ppt
- Количество слайдов: 5
Лабораторна робота 4 Складні поверхні
Складні поверхні Створюється обертанням навколо осі у. #declare vase = sor{ 8, < 0. 00, 0. 00>, < 0. 60, 0. 00>, < 0. 72, 0. 44>, < 0. 31, 0. 93>, < 0. 49, 1. 26>, < 0. 48, 1. 35>, < 0. 43, 1. 56>, < 0. 16, 1. 60> } object { vase pigment { color Yellow } finish { ambient 0. 5 diffuse 0. 85 } scale 1. 5 } # з точки sor Різні точки sor зразок sor
Складні поверхні You can also have ‘hollow’ SORs using the ‘open’ property #declare vase = sor{ 8, < 0. 00, 0. 00>, < 0. 60, 0. 00>, < 0. 72, 0. 44>, < 0. 31, 0. 93>, < 0. 49, 1. 26>, < 0. 48, 1. 35>, < 0. 43, 1. 56>, < 0. 16, 1. 60> open } object { vase pigment { color Yellow } finish { ambient 0. 5 diffuse 0. 85 } scale 1. 5 }
Lathe Similar to sor, but it is different in the way the surface is generated (mathematically speaking) You also have more control over the way the curve fits the points #declare vase = lathe{ linear_spline 8, < 0. 3, 0. 00>, < 0. 60, 0. 00>, Total of point < 0. 72, 0. 44>, on the curve < 0. 31, 0. 93>, < 0. 49, 1. 26>, < 0. 48, 1. 35>, Type of spline used linear_spline, < 0. 43, 1. 56>, quadratic_spline, < 0. 3, 1. 50> cubic_spline } object { vase pigment { color my. Color } finish { ambient 0. 5 diffuse 0. 85 } scale 1. 5 }
Lathe: Spline Options linear_spline quadratic_spline cubic_spline
Лабораторна робота 5 .ppt