//--------stodola
//param: tekstura_dachu x  y  z  kat

origin (p2) (p3) (p4)

	rotate 0 (p5) 0

// front 
	node 1000 0 none triangle_strip wood/WoodRedBrown2_agedPlanks
	0 0 7   			0 0 0	5 3	end
	0 0 2   			0 0 0	0 3	end
	0 3 7    	  		0 0 0	5 0	end
	0 3 2   			0 0 0	0 0	
	endtri

	node 1000 0 none triangle_strip wood/WoodRedBrown1_Planks
	0 0 2   			0 0 0	4 3	end
	0 0 -2   			0 0 0	0 3	end
	0 3 2    	  		0 0 0	4 0	end
	0 3 -2  			0 0 0	0 0	
	endtri

	node 1000 0 none triangle_strip wood/WoodRedBrown2_agedPlanks
	0 0 -2   			0 0 0	5 3	end
	0 0 -7   			0 0 0	0 3	end
	0 3 -2    	  		0 0 0	5 0	end
	0 3 -7  			0 0 0	0 0	
	endtri


// tyl
	node 1000 0 none triangle_strip wood/WoodRedBrown2_agedPlanks
	-6 0 -7   			0 0 0	0 3	end
	-6 0 7  			0 0 0	10 3	end
	-6 3 -7 			0 0 0	0 0     end
        -6 3 7  	  		0 0 0	10 0	
	endtri

// sciany szczytowe
	node 1000 0 none triangle_strip wood/WoodRedBrown2_agedPlanks 
	0 0 -7  			0 0 0	0 0	end
	-6 0 -7   			0 0 0	6 0	end
	0 3 -7  	     		0 0 0	0 3	end
	-6 3 -7 			0 0 0	6 3	end
        -3 6 -7				0 0 0	3 6	
	endtri

	node 1000 0 none triangle_strip wood/WoodRedBrown2_agedPlanks 
	-6 0 7   			0 0 0	6 0	end
	0 0 7   			0 0 0	0 0	end
	-6 3 7  	 		0 0 0	6 3 end
        0 3 7   	  		0 0 0	0 3   end	
        -3 6 7   	  		0 0 0	3 6   
	endtri

// dach
	node 1000 0 none triangle_strip (p1) 
	0.5 2.5 7.2   			0 0 0	10 3	end
	0.5 2.5 -7.2   			0 0 0	0 3	end
	-3 6 7.2    	  		0 0 0	10 0	end
	-3 6 -7.2  			0 0 0	0 0	
	endtri

	node 1000 0 none triangle_strip (p1) 
	-3 6 7.2    	  		0 0 0	10 0	end
	-3 6 -7.2  			0 0 0	0 0	end
	-6.5 2.5 7.2   			0 0 0	10 3	end
	-6.5 2.5 -7.2  			0 0 0	0 3	
	endtri

// dach - podbitki
	node 1000 0 none triangle_strip wood/WoodGrayBrown1_Planks 
	-3 6 7.2    	  		0 0 0	3 0	end
	-3 6 -7.2  			0 0 0	0 0	end
	0.5 2.5 7.2   			0 0 0	3 1	end
	0.5 2.5 -7.2   			0 0 0	0 1	
	endtri

	node 1000 0 none triangle_strip wood/WoodGrayBrown1_Planks 
	-6.5 2.5 7.2   			0 0 0	3 1	end
	-6.5 2.5 -7.2  			0 0 0	0 1	end
	-3 6 7.2    	  		0 0 0	3 0	end
	-3 6 -7.2  			0 0 0	0 0	
	endtri

	rotate 0 0 0

endorigin
