u1.wrl

 tree.wrl  fence.wrl  table.wrl  stavba.wrl  cafe.wrl  chair.wrl  sibenice.wrl  tank.wrl  u1.wrl  garaz.wrl  tw.wrl 
Zpět Zpět
   1 : #VRML V2.0 utf8
   2 : 
   3 : WorldInfo {
   4 :  info ["Author: Jakub Zemlicka, Martin Petricek, Tomas Kazmar"]
   5 :  title "Uloha 1"
   6 : }
   7 : 
   8 : NavigationInfo {
   9 :  headlight FALSE
  10 : }
  11 : 
  12 : Background {
  13 :  skyColor [0.47 0.65 0.79]
  14 : 
  15 : # skyColor [0 0 0.5, 0 0.5 1, 0.5 1 1]
  16 : # skyAngle [0.8 1.57]
  17 :  groundColor [.32 .54 .26]
  18 : }
  19 : 
  20 : DirectionalLight {
  21 :  ambientIntensity 0.8
  22 :  direction -20 -8 -2
  23 : }
  24 : 
  25 : Viewpoint {
  26 :  description "Pohled zvrchu"
  27 :  position 0 40 70
  28 :  orientation 1 0.2 0.1 -0.5
  29 :  jump FALSE
  30 : }
  31 : 
  32 : Viewpoint {
  33 :  description "V rohu zahrady"
  34 :  position 24 10 24
  35 :  #orientation -0.23 0.9 0.37 1.2
  36 :  orientation -0.46 0.86 0.22 1.02 #0 1 0 0.9 + 1 0 0 -0.5
  37 :  
  38 :  jump FALSE
  39 : }
  40 : 
  41 : Viewpoint {
  42 :  description "Pred garazi"
  43 :  position 5 1.6 16
  44 :  orientation 1 0 0 0.1
  45 :  jump FALSE
  46 : }
  47 : 
  48 : Viewpoint {
  49 :  description "V garazi"
  50 :  position 3 1.6 -1.5
  51 :  orientation -0.7 0.7 0.18 0.7#0 1 0 0.5
  52 :  jump FALSE
  53 : }
  54 : 
  55 : Viewpoint {
  56 :  description "Venku u tanku"
  57 :  position 3.5 1.6 15
  58 :  orientation 0 1 0 1.57
  59 :  jump FALSE
  60 : }
  61 : 
  62 : Viewpoint {
  63 :  description "Pred stavbou"
  64 :  position 0 1.6 0
  65 :  orientation 0 1 0 1.3
  66 :  jump FALSE
  67 : }
  68 : 
  69 : Viewpoint {
  70 :  description "Na stavbe"
  71 :  position -24 5 -12
  72 :  orientation -0.06 -0.99 -0.12 2.21#0 1 0 -2.2 + 1 0 0 -0.2
  73 :  jump FALSE
  74 : }
  75 : 
  76 : 
  77 : 
  78 : #Transform { translation -25 0 25 children Inline {url "fence.wrl"}}
  79 : Transform { translation -25 0 -25 children Inline {url "fence.wrl"}}
  80 : Transform { translation 25 0 25 rotation 0 1 0 1.57 children Inline {url "fence.wrl"}}
  81 : Transform { translation -25 0 25 rotation 0 1 0 1.57 children Inline {url "fence.wrl"}}
  82 : 
  83 : Transform {
  84 :  translation 5 0 0
  85 :  children [
  86 :   Transform { translation -19 0   -3 children Inline { url "stavba.wrl" } rotation 0 1 0 1.57 }
  87 :   #Transform { translation -15.9 1.91 1.5 children Inline { url "cafe.wrl" } scale 3 3 3}
  88 :   Transform { translation   7 0    9 children Inline { url "sibenice.wrl" } rotation 0 1 0 1.57 }
  89 :   DEF StulPlus Group { children [
  90 :    Transform { translation  -3.2 0.77 -3.8 children Inline { url "cafe.wrl" } rotation 0 1 0 0.5}
  91 :    Transform { translation  -2.7 0.77 -3.7 children Inline { url "tw.wrl" }  rotation 0 1 0 0.1}
  92 :    Transform { translation  -3 0   -4.2 children Inline { url "table.wrl" } }
  93 :    Transform { translation  -3 0   -3.2 children Inline { url "chair.wrl" } scale 0.9 0.9 0.9 rotation 0 1 0 3.14}
  94 :   ]}
  95 :   Transform { translation   0 0    0 children Inline { url "garaz.wrl" } }
  96 :   Transform { translation 1.8 1.3  3 children Inline { url "tank.wrl" } }
  97 :   Transform { translation -18 1.3 13 children Inline { url "tank.wrl" } rotation 0 1 0 4}
  98 :  ]
  99 : }
 100 : Transform {
 101 :  rotation 0 1 0 1.4
 102 :  translation 16 0 12
 103 :  children USE StulPlus
 104 : }
 105 : 
 106 : 
 107 : Transform { translation  22 0   14 children Inline { url "tree.wrl" } rotation 0 1 0 1 scale 1 1 1.3 }
 108 : Transform { translation  20 0   15 children Inline { url "tree.wrl" } rotation 0 1 0 2 scale 1 1.3 1.1 }
 109 : Transform { translation  18 0   17 children Inline { url "tree.wrl" } rotation 0 1 0 3 scale 1.1 1.1 1.4 }
 110 : Transform { translation  16 0   16 children Inline { url "tree.wrl" } rotation 0 1 0 4 scale 1.5 1.2 1 }
 111 : Transform { translation  14 0   18 children Inline { url "tree.wrl" } rotation 0 1 0 5 scale 1.2 1.4 1 }
 112 : 
 113 : #slunce
 114 : Transform {
 115 :  translation 2000 470 200
 116 :  children Shape {
 117 :   appearance Appearance {
 118 :    material Material {
 119 :     emissiveColor 1 1 0.8
 120 :     diffuseColor 0 0 0
 121 :     specularColor 0 0 0
 122 :     ambientIntensity 0
 123 :     shininess 0
 124 :    }
 125 :   }
 126 :   geometry Sphere {
 127 :    radius 30
 128 :   }
 129 :  }
 130 : }
 131 : 
 132 : #mraky
 133 : Transform {
 134 :  translation 0 500 0
 135 :  children Shape {
 136 :   appearance Appearance {
 137 :   texture ImageTexture {
 138 :    url "clouds.jpg"
 139 :   }  
 140 :   }
 141 :   geometry IndexedFaceSet {
 142 :    coord Coordinate {
 143 :     point [-4500 0 -4500,-4500 0 4500, 4500 0 4500, 4500 0 -4500]
 144 :    }
 145 :    ccw FALSE
 146 :    coordIndex [0 1 2 3 -1]
 147 :   }
 148 :  }
 149 : }
 150 : 
 151 : Transform # travnik
 152 : {	 
 153 : 	translation	0 -0.1 0
 154 : 	children Shape { 
 155 : 		geometry Box {size 50 0.2 50}
 156 : 		appearance Appearance {
 157 : 			material Material {
 158 :                                 emissiveColor .32 .54 .26
 159 : 				diffuseColor 0 0 0
 160 : 				specularColor 0 0 0
 161 : 				ambientIntensity 0
 162 : 				shininess 0
 163 : 			}
 164 : 		}
 165 :     }
 166 : }
 167 : 
 168 : 
 169 : #plot
 170 : #Transform {
 171 : # translation 25 0.6 0
 172 : # children Shape {
 173 : #  appearance DEF Plot Appearance {
 174 : #   material Material {
 175 : #    diffuseColor 0.6 0.9 0.6
 176 : #   }
 177 : #  }
 178 : #  geometry DEF PlotL Box {
 179 : #   size 0.2 1.2 49.8
 180 : #  }
 181 : # }
 182 : #}
 183 : #Transform {
 184 : # translation -25 0.6 0
 185 : # children Shape {
 186 : #  appearance USE Plot
 187 : #  geometry USE PlotL 
 188 : # }
 189 : #}
 190 : 
 191 : #plot
 192 : #Transform {
 193 : # translation 0 0.6 25
 194 : # children Shape {
 195 : #  appearance USE Plot
 196 : #  geometry DEF Plot2 Box {
 197 : #   size 50.2 1.2 0.2
 198 : #  }
 199 : # }
 200 : #}
 201 : #Transform {
 202 : # translation 0 0.6 -25
 203 : # children Shape {
 204 : #  appearance USE Plot
 205 : #  geometry USE Plot2 
 206 : # }
 207 : #}