Extrusion
#VRML V2.0 utf8 #Construcao de um vaso. #Define ponto de vista inicial Viewpoint { position 0.0 2.0 10.0 description "Visao inicial" } #Desenha um vaso com o no de extrusao. Group { children [ Shape { appearance Appearance { material Material { diffuseColor 1.0 1.0 0.0 } } geometry Extrusion { creaseAngle 1.57 endCap FALSE solid FALSE crossSection [ # Circulo 1.00 0.00, 0.92 -0.38, 0.71 -0.71, 0.38 -0.92, 0.00 -1.00, -0.38 -0.92, -0.71 -0.71, -0.92 -0.38, -1.00 -0.00, -0.92 0.38, -0.71 0.71, -0.38 0.92, 0.00 1.00, 0.38 0.92, 0.71 0.71, 0.92 0.38, 1.00 0.00 ] spine [ # Spine 0.0 0.0 0.0, 0.0 0.6 0.0, 0.0 1.0 0.0, 0.0 1.4 0.0, 0.0 1.8 0.0, 0.0 2.2 0.0, 0.0 2.6 0.0, 0.0 3.0 0.0, 0.0 3.4 0.0, 0.0 3.8 0.0, 0.0 4.2 0.0 ] scale [ 1.5 1.5, 1.95 1.95, 2.0 2.0, 1.95 1.95 1.8 1.8, 1.5 1.5 1.2 1.2, 1.05 1.05, 1.0 1.0, 1.05 1.05, 1.3 1.3, ] } } ] }