Sample 1

Sample 1 Demo


<FONT SIZE=+0>We need Cosmo Player to Run Demo


#VRML V2.0 utf8
# A Sphere
Transform
	{
	children [
	Shape {
			appearance Appearance {
		        material Material { 
				diffuseColor 1.0 .0 .0
				emissiveColor 1.01 1.5 .1
					}
				      }
		geometry Sphere {
			radius .5
				}
	      }		
		 ]
	translation 0 0.0 0.0
#	rotation  0.2 0.6 0.7 1.4
#	scale 1.5 0.7 1.5
	
	}

# A Cylinder
Transform
	{
	
	children [
	
	Shape {
		    appearance Appearance {
		        material Material { 
				diffuseColor .00 .50 .90
					}
				      }
		    geometry DEF mycyl Cylinder {
		        height 2.0
		        radius 0.5
				    }
			
	      }	
	
		]
	
		

	
	translation 0.0 -1.5 0.0
#	rotation  0.2 0.6 0.7 1.4
#	scale 1.5 0.7 1.5
      }		     


Transform
	{
	
	children [
	
	Shape {
		    appearance Appearance {
		        material Material { 
				diffuseColor .00 .50 .90
					}
				      }
		    
		   geometry USE mycyl					
	      }	
	
		]
	


	
	translation 0 1.5 0
      }		     

Transform
	{
	
	children [
	
	Shape {
		    appearance Appearance {
		        material Material { 
				diffuseColor .00 .50 .90
					}
				      }
		    
		   geometry USE mycyl					
	      }	
	
		]
	


	
	translation -1.5 0 0
	rotation 0 0 -1.5  1.55
      }		


Transform
	{
	
	children [
	
	Shape {
		    appearance Appearance {
		        material Material { 
				diffuseColor .00 .50 .90
					}
				      }
		    
		   geometry USE mycyl					
	      }	
	
		]
	


	
	translation 1.5 0 0
	rotation 0 0 1.5  1.55
      }