martedì 5 giugno 2012

Esercizi di VrmlPad

Per visualizzare il lavoro, devi avere il programma Cortona.Sito: http://www.cortona3d.com/try-buy/downloads.aspx
Banchi classe
  DEF filabanchi
 Transform {
translation 0 0 0
children[
DEF coppiabanchi
Transform {
 translation -4.05 0 0
 children [
DEF Banco
Transform{
 translation 0 0 0
 children[
#base lavoro
Transform {
 translation 0 7.15 0
 children[
  Shape {
   appearance Appearance {
    material Material {
     diffuseColor 0.98 0.98 0.98
     # emissiveColor 1 0 0
    }
   }
   geometry Box {
    size 8 0.3 8 
   }
  }
 ]
}
#gamba1
 Transform {
 translation -3 3.5 3
 children[
  Shape {
   appearance Appearance {
    material Material {
     diffuseColor 0.75 0.2 0
     # emissiveColor 1 0 0
    }
   }
   geometry Cylinder {
    radius 0.3
    height 7
   }
  }
 ]
}
#gamba2
 Transform {
 translation -3 3.5 -3
 children[
  Shape {
   appearance Appearance {
    material Material {
     diffuseColor 0.75 0.2 0
     # emissiveColor 1 0 0
    }
   }
   geometry Cylinder {
    radius 0.3
    height 7
   }
  }
 ]
}
#gamba3
 Transform {
 translation 3 3.5 -3
 children[
  Shape {
   appearance Appearance {
    material Material {
     diffuseColor 0.75 0.2 0
     # emissiveColor 1 0 0
    }
   }
   geometry Cylinder {
    radius 0.3
    height 7
   }
  }
 ]
}
#gamba4
 Transform {
 translation 3 3.5 3
 children[
  Shape {
   appearance Appearance {
    material Material {
     diffuseColor 0.75 0.2 0
     # emissiveColor 1 0 0
    }
   }
   geometry Cylinder {
    radius 0.3
    height 7
   }
  }
 ]
}
#supporto 1
Transform {
 translation 0 6.7 3
 children[
  Shape {
   appearance Appearance {
    material Material {
     diffuseColor 0.75 0.2 0
     # emissiveColor 1 0 0
    }
   }
   geometry Box {
    size 5.4 0.6 0.3 
   }
  }
 ]
}
#supporto 2
Transform {
 translation 0 6.7 -3
 children[
  Shape {
   appearance Appearance {
    material Material {
     diffuseColor 0.75 0.2 0
     # emissiveColor 1 0 0
    }
   }
   geometry Box {
    size 5.4 0.6 0.3 
   }
  }
 ]
}
#supporto 3
Transform {
 rotation 0 1 0 1.57
 translation -3 6.7 0
 #translation 0 6.7 -3
 children[
  Shape {
   appearance Appearance {
    material Material {
     diffuseColor 0.75 0.2 0
     # emissiveColor 1 0 0
    }
   }
   geometry Box {
    size 5.4 0.6 0.3 
   }
  }
 ]
}
#supporto 4
Transform {
 rotation 0 1 0 1.57
 translation 3 6.7 0
 #translation 0 6.7 -3
 children[
  Shape {
   appearance Appearance {
    material Material {
     diffuseColor 0.75 0.2 0
     # emissiveColor 1 0 0
    }
   }
   geometry Box {
    size 5.4 0.6 0.3 
   }
  }
 ]
}
]
}
Transform{
 translation 8.1 0 0
 children[ 
  USE Banco
 ]
}
]
}
Transform {
translation 35.2 0 0
children [
 USE coppiabanchi
 ]
}
Transform {
translation -25.2 0 0
children [
 USE coppiabanchi
 ]
}
]
}
 Transform{
 translation 12.2 0 0
 children[ 
  USE Banco
 ]
}
Transform{
 translation 4 0 -20
 children[ 
  USE Banco
 ]
}
Transform {
translation -25.2 0 -20
children [
 USE coppiabanchi
 ]
}
 Transform{
 translation -13.0 0 -20
 children[ 
  USE Banco
 ]
}
Transform {
translation 35.2 0 -20
children [
 USE coppiabanchi
 ]
}
 Transform{
 translation 23.0 0 -20
 children[ 
  USE Banco
 ]
}
 Transform {
translation 35.2 0 -40
children [
 USE coppiabanchi
 ]
}
 Transform{
 translation 23.0 0 -40
 children[ 
  USE Banco
 ]
}
 Transform {
translation -25.2 0 -40
children [
 USE coppiabanchi
 ]
}
 Transform{
 translation -13.0 0 -40
 children[ 
  USE Banco
 ]
}
 Transform {
translation 35.2 0 -60
children [
 USE coppiabanchi
 ]
}
 Transform{
 translation 23.0 0 -60
 children[ 
  USE Banco
 ]
}
Transform {
translation -25.2 0 -60
children [
 USE coppiabanchi
 ]
}



Cattedra
DEF Cattedra
Transform{
 translation 0 0 -34
 rotation 0 1 0 1.57
 children[
#Ripiano sopra
 Transform {
 translation  0 7.25 0
 children [
Shape {
 geometry  Box {
  size 6.9 0.2 12.9
 }
 appearance Appearance {
  material Material {
   diffuseColor 0 1 0
  }
 }
 }
]
}
Transform {
 translation -3 3.5 5.5
 children [
Shape {
 geometry Cylinder {
  radius 0.3
  height 7.5
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.7529 0.7529 0.7529
  }
 }
 }
]
}

Transform {
 translation 3 3.5 -5.5
 children [
Shape {
 geometry Cylinder {
  radius 0.3
  height 7.5
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.7529 0.7529 0.7529
  }
 }
 }
]
}

Transform {
 translation -3 3.5 -5.5
 children [
Shape {
 geometry Cylinder {
  radius 0.3
  height 7.5
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.7529 0.7529 0.7529
  }
 }
 }
]
}

Transform {
 translation 3 3.5 5.5
 children [
Shape {
 geometry Cylinder {
  radius 0.3
  height 7.5
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.7529 0.7529 0.7529
  }
 }
 }
]
}
#supporto davanti
Transform {
 translation  0 4.25 5.5
 children [
Shape {
 geometry  Box {
  size 5.6 3.05 0.3
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.9 0.7 0.4
  }
 }
}
]
}
#supporto destro
Transform {
 translation  -3 4.35 0
 rotation 0 1 0 1.57
 children [
Shape {
 geometry  Box {
  size 11.5 4.0 0.3
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.9 0.7 0.4
  }
 }
}
]
}
#casetto
Transform {
 translation  0 4.25 -3.5
 rotation 0 1 0 1.57
 children [
Shape {
 geometry  Box {
  size 4.0 3.05 5.7
 }
 appearance Appearance {
  material Material {
   diffuseColor 0.9 0.7 0.4
  }
 }
}
]
}
]
}








     

1 commento:

  1. ciao sn Beatrice, scusa se ti disturbo e ti scrivo sul post "wrml pad" ma in sicilia ho perso il cell e quindi, visto che stò riprendendo tutti i numeri ke ho perso,
    potresti, per favore, scrivere il tuo n° di tell, il tuo indirizzo e se hai qualche n° di tell di qualche nostro compagno di classe alla mia email mac.67@alice.it grazie

    RispondiElimina