#in questo file e' contenuta una simulazione di antigravita in vrlm #ecco il link dove poter fare le dovute simulazioni e come comandrle #http://eureka.lucia.it/vrml/links/links11.html #VRML V2.0 utf8 #semplice casetta : uso del nodo IndexedFaceSet Transform { translation 0 0 -100 # pongo la casa ad una certa # distanza dall'osservatore rotation 0 1 0 .5 # ruoto leggermente per dare una # migliore vista iniziale children [ Shape { appearance Appearance { material Material { emissiveColor .5 .5 .5 } # come colore della base uso un grigio chiaro } geometry Box { size 20 20 20 } } Transform { translation 0 10 0 children [ Shape { appearance Appearance { material Material { emissiveColor .8 0 0 } } geometry IndexedFaceSet { coord Coordinate { point [ -10 0 10, 10 0 10, 10 0 -10, -10 0 -10, 0 10 0 ] } coordIndex [ 0, 3, 2, 1, -1 0, 1, 4, -1 1, 2, 4, -1 2, 3, 4, -1 3, 0, 4, -1 ] } } ] } ] }