#VRML V2.0 utf8 WorldInfo { title "Rifle Hammer" info "By vr0307" } NavigationInfo { type "EXAMINE" } Background { skyColor 1 0.75 0 } PROTO revolver_hammer [ exposedField SFVec3f translation 0 0 0 exposedField SFVec3f scale 1 1 1 exposedField SFRotation rotation 0 0 0 0 ]{ Transform { translation IS translation scale IS scale rotation IS rotation children [ Transform { translation -.2 .2 0 children [ Shape { appearance DEF IRON Appearance { material Material { diffuseColor .24 .24 .24 specularColor .3 .25 .3 ambientIntensity .06 shininess .05 } } geometry Sphere { radius .4 } } ] } Transform { translation .3 -1 0 rotation 0 0 0 0 children [ Shape { appearance USE IRON geometry Extrusion { spine [ 0 -1.4 0, .0705128 -.583333 0, -.188462 -.194872 0, -.0589744 .19359 0, .2 .582051 0, .2 .970513 0, -.3 1.2 0 ] scale [ 1 .9, 1 .9, 1 .8, 1 .6, 1 .5, 1 .5, 1 .8 ] crossSection [ -.1 .32, 0 .4, .1 .32, .1 -.32, 0 -.4, -.1 -.32, -.1 .32 ] } } ] } Transform { translation .3 -1 0 rotation 0 0 0 0 children [ Shape { appearance USE IRON geometry Extrusion { spine [ .2 .582051 0, .4 .8 0, .7 .8 0 ] scale [ 1 .5, 1 .5, 1 1 ] crossSection [ -.1 .32, 0 .4, .1 .32, .1 -.32, 0 -.4, -.1 -.32, -.1 .32 ] } } ] } Transform { translation 1.2 -.3 0 rotation 0 0 1 -0.5 children [ Shape { appearance USE IRON geometry Box { size .5 .4 1 } } ] } Transform { translation 1 -2.5 0 rotation 1 0 0 1.57 children [ Shape { appearance USE IRON geometry Cylinder { radius 1 height 1 } } ] } ] } } revolver_hammer { }