#VRML V2.0 utf8 NavigationInfo{ type "EXAMINE" } Background{ skyColor 0 .5 0} Viewpoint{ position 0 0 10 description "[100]"} Viewpoint{ position 7 0 7 orientation 0 1 0 .785 description "[110]"} Viewpoint{ position 5.8 5.8 5.8 orientation -1 1 0 .955 description "[111]"} PROTO Ga[ field SFVec3f trans 0 0 0]{ Transform{ translation IS trans children[ Shape{ appearance Appearance{ material Material{ emissiveColor 1 1 1}} geometry IndexedLineSet{ coord Coordinate{ point[0 0 0, .5 .5 .5, .5 -.5 -.5, -.5 .5 -.5, -.5 -.5 .5]} coordIndex[0 1 -1 0 2 -1 0 3 -1 0 4]}} Shape{ appearance Appearance{ material Material{ diffuseColor .9 .9 1 }} geometry Sphere{ radius 0.3 }}]} } PROTO As[ field SFVec3f trans 0 0 0]{ Transform{ translation IS trans children[ Shape{ appearance Appearance{ material Material{ emissiveColor 1 1 1}} geometry IndexedLineSet{ coord Coordinate{ point[0 0 0, -.5 -.5 -.5, -.5 .5 .5, .5 -.5 .5, .5 .5 -.5]} coordIndex[0 1 -1 0 2 -1 0 3 -1 0 4]}} Shape{ appearance Appearance{ material Material{ diffuseColor .9 .9 1}} geometry Sphere{ radius 0.3 }}]} } Transform{ children[ As{ trans 2 2 2} As{ trans 2 2 -2} As{ trans 2 -2 2} As{ trans 2 -2 -2} As{ trans -2 2 2} As{ trans -2 2 -2} As{ trans -2 -2 2} As{ trans -2 -2 -2} As{ trans 2 0 0} As{ trans 0 2 0} As{ trans 0 0 2} As{ trans -2 0 0} As{ trans 0 -2 0} As{ trans 0 0 -2} Ga{ trans -1 -1 1} Ga{ trans 1 1 1} Ga{ trans -1 1 -1} Ga{ trans 1 -1 -1} Shape{ appearance Appearance{ material Material{ diffuseColor .5 .5 1 transparency .5}} geometry IndexedFaceSet{ solid FALSE coord Coordinate{ point[2 2 2,2 2 -2,2 -2 2,2 -2 -2, -2 -2 -2,-2 -2 2,-2 2 -2,-2 2 2]} coordIndex[0 2 3 1 -1 0 7 5 2 -1 0 1 6 7 -1 4 5 7 6 -1 4 6 1 3 -1 4 3 2 5]}} ]}