(original) (raw)

#VRML V2.0 utf8 WorldInfo{ title "6-BCDEFG Generation Date: 10-19-2007" info[ "Author: Jim McNeill" ] } # # HEDRON --- Polyhedron Generator, Version: Version 1.12.0 27-Sep-2007 # Copyright Jim McNeill, 1999/2006 # jim-mcneill@ukonline.co.uk # # Model by: Jim McNeill jim-mcneill@ukonline.co.uk # # Aggregate Edge Deformation (E): 1.15463194561016E-14 # Maximum Single Edge Distortion (SE): 0 # Polygonal Deformation (P): 3.41671908997187E-13 # Aggregate Angle Deformation (A): 2.4413937734914E-11 degrees # 4.26103596851135E-13 radians # # Deformation Summary (E=0.000, P=0.000, A=0.0�) # # # Forced rhombus acute angle: 0.7297 radians, 41.81 degrees. # Angle deformation above assumption that all rhombi have acute angle as above # Type 2 Rhombus acute angle: 1.231 radians, 70.529 degrees. # Angle deformation above assumption that all rhombi have acute angle as above # Background { skyColor [0.031 0.031 0.031] } NavigationInfo { type "EXAMINE" headlight TRUE avatarSize [0, 0, 0, 0, 0, 0] } Viewpoint { position 0 0 5.663 description "Wide Angle" } Viewpoint { position 0 0 28.316 fieldOfView 0.15 description "Telephoto" } Viewpoint { position 0 0 0 description "Origin" } Viewpoint { position 0 0 0 fieldOfView 1.0 description "Origin Wide Angle" } Viewpoint { position 0 0 0 fieldOfView 1.57 description "Origin Fish-Eye" } Viewpoint { position 0 0 0 fieldOfView 2.4 description "Origin Super Fish-Eye" } PROTO HUD [ exposedField SFVec3f size 3.4e38 3.4e38 3.4e38 exposedField SFVec3f translation 0.0 0.0 -10 exposedField SFRotation rotation 0 0 0 0 field MFNode children [] ] { Group { children [ DEF UserPosition ProximitySensor { center 0 0 0 size IS size } DEF HUD Transform { children [ Transform { children [ Transform { translation IS translation rotation IS rotation children IS children } ] } ] } ] } ROUTE UserPosition.position_changed TO HUD.translation ROUTE UserPosition.orientation_changed TO HUD.rotation } HUD { translation 0 -0.82 -2 children [ Transform { children [ DEF SENSOR TouchSensor { } DEF POINT Transform { children [ Shape { geometry Box { size 0.2 0.05 0.001 } appearance Appearance { material Material { diffuseColor 0.533 0.533 0.533 transparency 0.50 } } } ] } DEF CMDTXT Switch { whichChoice 1 choice [ Transform { translation -0.15 -0.83 -2 children[ Shape{ geometry Text { fontStyle FontStyle { size 0.08 family "SANS" } string "--> solid", }}]} , Transform { translation -0.15 -0.83 -2 children[ Shape{ geometry Text { fontStyle FontStyle { size 0.08 family "SANS" } string "--> trans", }}]} , Transform { translation -0.15 -0.83 -2 children[ Shape{ geometry Text { fontStyle FontStyle { size 0.08 family "SANS" } string "--> frame", }}]} ]} ] } ] } Group { children [ DEF POLY Switch { whichChoice 1 choice [ Transform { children [ DEF FRAME Shape{ geometry IndexedFaceSet{ solid FALSE convex FALSE colorPerVertex FALSE color DEF COL Color{ color [ 0 0 0, 1.000 1.000 0.000, # 1 inter realm faces 0.812 0.710 0.231, # 2 highlighting 0.000 0.000 1.000, # 3 triangle 1.000 0.600 0.000, # 4 square 0.000 1.000 0.000, # 5 pentagon 0.000 1.000 1.000, # 6 hexagon 1.000 1.000 0.000, # 7 apolydronic 1.000 0.000 1.000, # 8 octagon 0 0 0 1.000 0.000 0.000, # 10 decagon 0.000 0.502 0.000, # 11 pentagram 0.502 0.000 0.502, # 12 octagram 0.522 0.204 0.204, # 13 decagram 0.506 0.380 0.184, # 14 rhombus set 1 0.812 0.710 0.231, # 15 rhombus set 2 0.000 0.000 1.000, # 16 segment 1 1.000 0.000 0.000, # 17 segment 2 0.000 1.000 0.000, # 18 segment 3 1.000 0.502 0.000, # 19 segment 4 1.000 0.000 1.000, # 20 segment 5 1 0 0 # 21 red 1 .6 0 # 22 amber (orange) 1 1 0 # 23 yellow 0 1 0 # 24 green 0 1 1 # 25 cyan 0 0 1 # 26 blue 1 0 1 # 27 magenta .8 .8 .8 # 28 pseudo-white (grey) 0.812 0.710 0.231, # 29 Highlight 0.812 0.710 0.231, # 30 Distorted Hexagon 1 0.651 0.490 0.239, # 31 Distorted Hexagon 2 ] } coord DEF C1 Coordinate{ point[ 0.0 0.93417236 1.29099445, 0.35682209 0.0 1.29099445, 0.0 -0.93417236 1.29099445, -0.35682209 0.0 1.29099445, 1.29099445 0.0 -0.93417236, 1.29099445 -0.35682209 0.0, 1.29099445 0.0 0.93417236, 1.29099445 0.35682209 0.0, -0.93417236 -1.29099445 0.0, 0.0 -1.29099445 0.35682209, 0.93417236 -1.29099445 0.0, 0.0 -1.29099445 -0.35682209, -1.29099445 0.0 -0.93417236, -1.29099445 0.35682209 0.0, -1.29099445 0.0 0.93417236, -1.29099445 -0.35682209 0.0, 0.93417236 1.29099445 0.0, 0.0 1.29099445 0.35682209, -0.93417236 1.29099445 0.0, 0.0 1.29099445 -0.35682209, 0.0 -0.93417236 -1.29099445, 0.35682209 0.0 -1.29099445, 0.0 0.93417236 -1.29099445, -0.35682209 0.0 -1.29099445, -0.93417236 0.93417236 0.93417236, 0.93417236 0.93417236 -0.93417236, -0.93417236 -0.93417236 -0.93417236, 0.93417236 -0.93417236 0.93417236, -0.93417236 -0.93417236 0.93417236, 0.93417236 0.93417236 0.93417236, 0.93417236 -0.93417236 -0.93417236, -0.93417236 0.93417236 -0.93417236, 0.0 0.89174595 1.29099445, 0.34061664 0.0 1.29099445, 0.0 -0.89174595 1.29099445, -0.34061664 0.0 1.29099445, 1.29099445 0.0 -0.89174595, 1.29099445 -0.34061664 0.0, 1.29099445 0.0 0.89174595, 1.29099445 0.34061664 0.0, -0.89174595 -1.29099445 0.0, 0.0 -1.29099445 0.34061664, 0.89174595 -1.29099445 0.0, 0.0 -1.29099445 -0.34061664, -1.29099445 0.0 -0.89174595, -1.29099445 0.34061664 0.0, -1.29099445 0.0 0.89174595, -1.29099445 -0.34061664 0.0, 0.89174595 1.29099445 0.0, 0.0 1.29099445 0.34061664, -0.89174595 1.29099445 0.0, 0.0 1.29099445 -0.34061664, 0.0 -0.89174595 -1.29099445, 0.34061664 0.0 -1.29099445, 0.0 0.89174595 -1.29099445, -0.34061664 0.0 -1.29099445, -0.91295916 0.89984867 0.94728284, -0.04743416 0.89984867 1.27788397, -0.37803529 0.03432368 1.27788397, -1.24356028 0.03432368 0.94728284, 0.94728284 0.91295916 -0.89984867, 1.27788397 0.04743416 -0.89984867, 1.27788397 0.37803529 -0.03432368, 0.94728284 1.24356028 -0.03432368, -0.89984867 -0.94728284 -0.91295916, -0.89984867 -1.27788397 -0.04743416, -0.03432368 -1.27788397 -0.37803529, -0.03432368 -0.94728284 -1.24356028, -0.94728284 -0.91295916 -0.89984867, -1.27788397 -0.04743416 -0.89984867, -1.27788397 -0.37803529 -0.03432368, -0.94728284 -1.24356028 -0.03432368, 0.89984867 -0.94728284 0.91295916, 0.89984867 -1.27788397 0.04743416, 0.03432368 -1.27788397 0.37803529, 0.03432368 -0.94728284 1.24356028, 0.94728284 -0.91295916 0.89984867, 1.27788397 -0.04743416 0.89984867, 1.27788397 -0.37803529 0.03432368, 0.94728284 -1.24356028 0.03432368, 0.89984867 0.94728284 -0.91295916, 0.89984867 1.27788397 -0.04743416, 0.03432368 1.27788397 -0.37803529, 0.03432368 0.94728284 -1.24356028, -0.94728284 0.91295916 0.89984867, -1.27788397 0.04743416 0.89984867, -1.27788397 0.37803529 0.03432368, -0.94728284 1.24356028 0.03432368, -0.89984867 0.94728284 0.91295916, -0.89984867 1.27788397 0.04743416, -0.03432368 1.27788397 0.37803529, -0.03432368 0.94728284 1.24356028, -0.91295916 -0.89984867 -0.94728284, -0.04743416 -0.89984867 -1.27788397, -0.37803529 -0.03432368 -1.27788397, -1.24356028 -0.03432368 -0.94728284, 0.91295916 0.89984867 -0.94728284, 0.04743416 0.89984867 -1.27788397, 0.37803529 0.03432368 -1.27788397, 1.24356028 0.03432368 -0.94728284, 0.91295916 -0.89984867 0.94728284, 0.04743416 -0.89984867 1.27788397, 0.37803529 -0.03432368 1.27788397, 1.24356028 -0.03432368 0.94728284, -0.03354102 -0.90990185 1.28172394, -0.91917236 -0.90990185 0.94344287, -1.25745343 -0.02427051 0.94344287, -0.37182209 -0.02427051 1.28172394, 1.28172394 0.03354102 0.90990185, 0.94344287 0.91917236 0.90990185, 0.94344287 1.25745343 0.02427051, 1.28172394 0.37182209 0.02427051, 0.90990185 -1.28172394 -0.03354102, 0.90990185 -0.94344287 -0.91917236, 0.02427051 -0.94344287 -1.25745343, 0.02427051 -1.28172394 -0.37182209, -1.28172394 -0.03354102 0.90990185, -0.94344287 -0.91917236 0.90990185, -0.94344287 -1.25745343 0.02427051, -1.28172394 -0.37182209 0.02427051, -0.90990185 -1.28172394 0.03354102, -0.90990185 -0.94344287 0.91917236, -0.02427051 -0.94344287 1.25745343, -0.02427051 -1.28172394 0.37182209, 1.28172394 -0.03354102 -0.90990185, 0.94344287 -0.91917236 -0.90990185, 0.94344287 -1.25745343 -0.02427051, 1.28172394 -0.37182209 -0.02427051, -0.90990185 1.28172394 -0.03354102, -0.90990185 0.94344287 -0.91917236, -0.02427051 0.94344287 -1.25745343, -0.02427051 1.28172394 -0.37182209, -1.28172394 0.03354102 -0.90990185, -0.94344287 0.91917236 -0.90990185, -0.94344287 1.25745343 -0.02427051, -1.28172394 0.37182209 -0.02427051, 0.90990185 1.28172394 0.03354102, 0.90990185 0.94344287 0.91917236, 0.02427051 0.94344287 1.25745343, 0.02427051 1.28172394 0.37182209, -0.03354102 0.90990185 -1.28172394, -0.91917236 0.90990185 -0.94344287, -1.25745343 0.02427051 -0.94344287, -0.37182209 0.02427051 -1.28172394, 0.03354102 -0.90990185 -1.28172394, 0.91917236 -0.90990185 -0.94344287, 1.25745343 -0.02427051 -0.94344287, 0.37182209 -0.02427051 -1.28172394, 0.03354102 0.90990185 1.28172394, 0.91917236 0.90990185 0.94344287, 1.25745343 0.02427051 0.94344287, 0.37182209 0.02427051 1.28172394, ] } coordIndex[ 0 , 1 , 33 , 32 , -1, 1 , 2 , 34 , 33 , -1, 2 , 3 , 35 , 34 , -1, 3 , 0 , 32 , 35 , -1, 4 , 5 , 37 , 36 , -1, 5 , 6 , 38 , 37 , -1, 6 , 7 , 39 , 38 , -1, 7 , 4 , 36 , 39 , -1, 8 , 9 , 41 , 40 , -1, 9 , 10 , 42 , 41 , -1, 10 , 11 , 43 , 42 , -1, 11 , 8 , 40 , 43 , -1, 12 , 13 , 45 , 44 , -1, 13 , 14 , 46 , 45 , -1, 14 , 15 , 47 , 46 , -1, 15 , 12 , 44 , 47 , -1, 16 , 17 , 49 , 48 , -1, 17 , 18 , 50 , 49 , -1, 18 , 19 , 51 , 50 , -1, 19 , 16 , 48 , 51 , -1, 20 , 21 , 53 , 52 , -1, 21 , 22 , 54 , 53 , -1, 22 , 23 , 55 , 54 , -1, 23 , 20 , 52 , 55 , -1, 24 , 0 , 57 , 56 , -1, 0 , 3 , 58 , 57 , -1, 3 , 14 , 59 , 58 , -1, 14 , 24 , 56 , 59 , -1, 25 , 4 , 61 , 60 , -1, 4 , 7 , 62 , 61 , -1, 7 , 16 , 63 , 62 , -1, 16 , 25 , 60 , 63 , -1, 26 , 8 , 65 , 64 , -1, 8 , 11 , 66 , 65 , -1, 11 , 20 , 67 , 66 , -1, 20 , 26 , 64 , 67 , -1, 26 , 12 , 69 , 68 , -1, 12 , 15 , 70 , 69 , -1, 15 , 8 , 71 , 70 , -1, 8 , 26 , 68 , 71 , -1, 27 , 10 , 73 , 72 , -1, 10 , 9 , 74 , 73 , -1, 9 , 2 , 75 , 74 , -1, 2 , 27 , 72 , 75 , -1, 27 , 6 , 77 , 76 , -1, 6 , 5 , 78 , 77 , -1, 5 , 10 , 79 , 78 , -1, 10 , 27 , 76 , 79 , -1, 25 , 16 , 81 , 80 , -1, 16 , 19 , 82 , 81 , -1, 19 , 22 , 83 , 82 , -1, 22 , 25 , 80 , 83 , -1, 24 , 14 , 85 , 84 , -1, 14 , 13 , 86 , 85 , -1, 13 , 18 , 87 , 86 , -1, 18 , 24 , 84 , 87 , -1, 24 , 18 , 89 , 88 , -1, 18 , 17 , 90 , 89 , -1, 17 , 0 , 91 , 90 , -1, 0 , 24 , 88 , 91 , -1, 26 , 20 , 93 , 92 , -1, 20 , 23 , 94 , 93 , -1, 23 , 12 , 95 , 94 , -1, 12 , 26 , 92 , 95 , -1, 25 , 22 , 97 , 96 , -1, 22 , 21 , 98 , 97 , -1, 21 , 4 , 99 , 98 , -1, 4 , 25 , 96 , 99 , -1, 27 , 2 , 101 , 100 , -1, 2 , 1 , 102 , 101 , -1, 1 , 6 , 103 , 102 , -1, 6 , 27 , 100 , 103 , -1, 2 , 28 , 105 , 104 , -1, 28 , 14 , 106 , 105 , -1, 14 , 3 , 107 , 106 , -1, 3 , 2 , 104 , 107 , -1, 6 , 29 , 109 , 108 , -1, 29 , 16 , 110 , 109 , -1, 16 , 7 , 111 , 110 , -1, 7 , 6 , 108 , 111 , -1, 10 , 30 , 113 , 112 , -1, 30 , 20 , 114 , 113 , -1, 20 , 11 , 115 , 114 , -1, 11 , 10 , 112 , 115 , -1, 14 , 28 , 117 , 116 , -1, 28 , 8 , 118 , 117 , -1, 8 , 15 , 119 , 118 , -1, 15 , 14 , 116 , 119 , -1, 8 , 28 , 121 , 120 , -1, 28 , 2 , 122 , 121 , -1, 2 , 9 , 123 , 122 , -1, 9 , 8 , 120 , 123 , -1, 4 , 30 , 125 , 124 , -1, 30 , 10 , 126 , 125 , -1, 10 , 5 , 127 , 126 , -1, 5 , 4 , 124 , 127 , -1, 18 , 31 , 129 , 128 , -1, 31 , 22 , 130 , 129 , -1, 22 , 19 , 131 , 130 , -1, 19 , 18 , 128 , 131 , -1, 12 , 31 , 133 , 132 , -1, 31 , 18 , 134 , 133 , -1, 18 , 13 , 135 , 134 , -1, 13 , 12 , 132 , 135 , -1, 16 , 29 , 137 , 136 , -1, 29 , 0 , 138 , 137 , -1, 0 , 17 , 139 , 138 , -1, 17 , 16 , 136 , 139 , -1, 22 , 31 , 141 , 140 , -1, 31 , 12 , 142 , 141 , -1, 12 , 23 , 143 , 142 , -1, 23 , 22 , 140 , 143 , -1, 20 , 30 , 145 , 144 , -1, 30 , 4 , 146 , 145 , -1, 4 , 21 , 147 , 146 , -1, 21 , 20 , 144 , 147 , -1, 0 , 29 , 149 , 148 , -1, 29 , 6 , 150 , 149 , -1, 6 , 1 , 151 , 150 , -1, 1 , 0 , 148 , 151 , -1, ] colorIndex[ 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 14 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , ] } appearance Appearance { material Material { shininess 1 specularColor 1 1 1 } } } Transform { children[ DEF EDGES Shape{ geometry IndexedLineSet{ colorPerVertex FALSE color Color{ color [ 0.000 0.000 0.000 , 1.000 1.000 0.000 , 1.000 1.000 0.000 ] } coord USE C1 coordIndex[ 0 , 1 ,-1, 1 , 2 ,-1, 2 , 3 ,-1, 0 , 3 ,-1, 4 , 5 ,-1, 5 , 6 ,-1, 6 , 7 ,-1, 4 , 7 ,-1, 8 , 9 ,-1, 9 , 10 ,-1, 10 , 11 ,-1, 8 , 11 ,-1, 12 , 13 ,-1, 13 , 14 ,-1, 14 , 15 ,-1, 12 , 15 ,-1, 16 , 17 ,-1, 17 , 18 ,-1, 18 , 19 ,-1, 16 , 19 ,-1, 20 , 21 ,-1, 21 , 22 ,-1, 22 , 23 ,-1, 20 , 23 ,-1, 0 , 24 ,-1, 3 , 14 ,-1, 14 , 24 ,-1, 4 , 25 ,-1, 7 , 16 ,-1, 16 , 25 ,-1, 8 , 26 ,-1, 11 , 20 ,-1, 20 , 26 ,-1, 12 , 26 ,-1, 8 , 15 ,-1, 10 , 27 ,-1, 2 , 9 ,-1, 2 , 27 ,-1, 6 , 27 ,-1, 5 , 10 ,-1, 19 , 22 ,-1, 22 , 25 ,-1, 13 , 18 ,-1, 18 , 24 ,-1, 0 , 17 ,-1, 12 , 23 ,-1, 4 , 21 ,-1, 1 , 6 ,-1, 2 , 28 ,-1, 14 , 28 ,-1, 6 , 29 ,-1, 16 , 29 ,-1, 10 , 30 ,-1, 20 , 30 ,-1, 8 , 28 ,-1, 4 , 30 ,-1, 18 , 31 ,-1, 22 , 31 ,-1, 12 , 31 ,-1, 0 , 29 ,-1, ] colorIndex[ 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, ] } } ] } ] } , Transform { children[ DEF SOLID Shape{ geometry IndexedFaceSet{ solid FALSE convex FALSE colorPerVertex FALSE color USE COL coord USE C1 coordIndex[ 0 , 1 , 2 , 3 ,-1, 4 , 5 , 6 , 7 ,-1, 8 , 9 , 10 , 11 ,-1, 12 , 13 , 14 , 15 ,-1, 16 , 17 , 18 , 19 ,-1, 20 , 21 , 22 , 23 ,-1, 24 , 0 , 3 , 14 ,-1, 25 , 4 , 7 , 16 ,-1, 26 , 8 , 11 , 20 ,-1, 26 , 12 , 15 , 8 ,-1, 27 , 10 , 9 , 2 ,-1, 27 , 6 , 5 , 10 ,-1, 25 , 16 , 19 , 22 ,-1, 24 , 14 , 13 , 18 ,-1, 24 , 18 , 17 , 0 ,-1, 26 , 20 , 23 , 12 ,-1, 25 , 22 , 21 , 4 ,-1, 27 , 2 , 1 , 6 ,-1, 2 , 28 , 14 , 3 ,-1, 6 , 29 , 16 , 7 ,-1, 10 , 30 , 20 , 11 ,-1, 14 , 28 , 8 , 15 ,-1, 8 , 28 , 2 , 9 ,-1, 4 , 30 , 10 , 5 ,-1, 18 , 31 , 22 , 19 ,-1, 12 , 31 , 18 , 13 ,-1, 16 , 29 , 0 , 17 ,-1, 22 , 31 , 12 , 23 ,-1, 20 , 30 , 4 , 21 ,-1, 0 , 29 , 6 , 1 ,-1, ] colorIndex[ 14 , 14 , 14 , 14 , 14 , 14 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , 15 , ] } appearance Appearance { material DEF MATER Material { shininess 1 specularColor 1 1 1 transparency 0 } } } Transform { children USE EDGES } ] } , Group{ children [ Transform { children USE SOLID } Transform { children USE EDGES } Transform { children USE FRAME } ] } # end of switch nodes ] } ] } # Dummy sphere to reset centre of rotation to origin Transform { translation 0 0 0 children [ Shape { appearance Appearance { material Material { transparency 1 } } geometry Sphere { radius 0.1 } } ] } PROTO Switcher [ eventIn SFBool isActive eventOut SFInt32 switchvalue eventOut SFFloat transp ] { Script { eventIn SFBool isActive IS isActive eventOut SFInt32 switchvalue IS switchvalue eventOut SFFloat transp IS transp field SFBool first TRUE url [ "javascript: function isActive(eventValue) { if (eventValue == true) { if (first == true) { switchvalue = 1; first = false; } if (switchvalue == 0) { switchvalue = 1; transp = 0; } else { if (switchvalue == 1) { switchvalue = 2; transp = 0.50 } else { if (switchvalue ==2) { switchvalue = 0; transp = 0; } } } } }" ] } } DEF VIEWSWITCH Switcher { } ROUTE SENSOR.isActive TO VIEWSWITCH.isActive ROUTE VIEWSWITCH.switchvalue TO POLY.whichChoice ROUTE VIEWSWITCH.switchvalue TO CMDTXT.whichChoice ROUTE VIEWSWITCH.transp TO MATER.transparency