#VRML V2.0 utf8 # CAP5805 Computer Simulation # Final Project # Laurentiu Iancu # liancu@cise.ufl.edu # Itanium Block Diagram Protos PROTO BlueBlock [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFColor diffuseColor 0.145 0.145 0.435 # 0.313 0.313 0.941 when lit field SFVec3f size 1.0 1.0 1.0 ] { Transform { translation IS translation children Shape { appearance DEF BlueBlockAppearance Appearance { material Material { diffuseColor IS diffuseColor } } geometry Box { size IS size } } } } PROTO TransparentBlueBlock [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFColor diffuseColor 0.145 0.145 0.435 # 0.313 0.313 0.941 when lit exposedField SFFloat transparency 0.3 field SFVec3f size 1.0 1.0 1.0 ] { Transform { translation IS translation children Shape { appearance DEF BlueBlockAppearance Appearance { material Material { diffuseColor IS diffuseColor transparency IS transparency } } geometry Box { size IS size } } } } PROTO GreenBlock [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFColor diffuseColor 0.000 0.392 0.000 # 0.000 0.682 0.000 when lit field SFVec3f size 1.0 1.0 1.0 ] { Transform { translation IS translation children Shape { appearance DEF GreenBlockAppearance Appearance { material Material { diffuseColor IS diffuseColor } } geometry Box { size IS size } } } } PROTO PurpleBlock [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFColor diffuseColor 0.278 0.000 0.470 # 0.592 0.000 1.000 when lit field SFVec3f size 1.0 1.0 1.0 ] { Transform { translation IS translation children Shape { appearance DEF BlueBlockAppearance Appearance { material Material { diffuseColor IS diffuseColor } } geometry Box { size IS size } } } } PROTO TransparentPurpleBlock [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFColor diffuseColor 0.592 0.000 1.000 # 0.800 0.000 1.000 when lit exposedField SFFloat transparency 0.6 field SFVec3f size 1.0 1.0 1.0 ] { Transform { translation IS translation children Shape { appearance DEF BlueBlockAppearance Appearance { material Material { diffuseColor IS diffuseColor transparency IS transparency } } geometry Box { size IS size } } } } PROTO YellowBlock [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFColor diffuseColor 0.545 0.545 0.419 # 0.980 0.980 0.023 when lit field SFVec3f size 1.0 1.0 1.0 ] { Transform { translation IS translation children Shape { appearance DEF YellowBlockAppearance Appearance { material Material { diffuseColor IS diffuseColor } } geometry Box { size IS size } } } } PROTO SimpleArrow [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFRotation rotation 0 0 1 0.0 exposedField SFVec3f scale 1.0 1.0 1.0 # height 1.0 or 1.2 with tip exposedField SFColor diffuseColor 0.545 0.545 0.419 # 0.980 0.980 0.023 when lit ] { Transform { translation IS translation rotation IS rotation scale IS scale children [ Shape { appearance DEF SimpleArrowAppearance Appearance { material Material { diffuseColor IS diffuseColor } } geometry Cylinder { radius 0.1 height 1.0 } }, Transform { translation 0.0 0.5 0.0 children Shape { appearance USE SimpleArrowAppearance geometry Cone { bottomRadius 0.2 height 0.4 } } } ] } } PROTO DoubleArrow [ exposedField SFVec3f translation 0.0 0.0 0.0 exposedField SFRotation rotation 0 0 1 0.0 exposedField SFVec3f scale 1.0 1.0 1.0 # height 1.0 or 1.2 with tip exposedField SFColor diffuseColor 0.545 0.545 0.419 # 0.980 0.980 0.023 when lit ] { Transform { translation IS translation rotation IS rotation scale IS scale children [ Shape { appearance DEF SimpleArrowAppearance Appearance { material Material { diffuseColor IS diffuseColor } } geometry Cylinder { radius 0.1 height 1.0 } }, Transform { translation 0.0 0.5 0.0 children Shape { appearance USE SimpleArrowAppearance geometry Cone { bottomRadius 0.2 height 0.4 } } }, Transform { translation 0.0 -0.5 0.0 rotation 1 0 0 3.141593 children Shape { appearance USE SimpleArrowAppearance geometry Cone { bottomRadius 0.2 height 0.4 } } } ] } }