#VRML V2.0 utf8 #EXTERNPROTO ICON [ # exposedField SFVec3f translation # exposedField SFString picture #] "icon.wrl" #Prototype of an icon PROTO ICON [ exposedField SFVec3f translation 0 0 0 exposedField MFString picture ["gif/rrouter.gif"] ] { Transform { translation IS translation children [ Transform { translation 0.5 0.5 0 children [ Shape { geometry Box { size 1 1 0.1 } appearance Appearance { material Material { ambientIntensity 0.8 diffuseColor .3 .3 .3 } texture ImageTexture { url IS picture } } } ] } ] } } ICON {}