#include "boats/boat9/body.inc"
#include "boats/boat9/front.inc"
#include "boats/boat9/top.inc"
#include "boats/boat9/sack.inc"

#declare Txt = texture{
	pigment{
		wood 
		scale 0.55 
		warp {turbulence 0.6 octaves 5 lambda 2.6 omega 0.61}
		scale<0.08, 0.08, 0.5> 
		color_map {
			[ 0.0 rgb<0.32, 0.22, 0.1>]
    		[ 0.4 rgb<0.25, 0.19, 0.1>]
    		[ 0.8 rgb<0.23, 0.15, 0.1>]
		}
	} 
	finish {diffuse 0.6}
	rotate y*90 scale<1, 0.2, 1>
}

#declare SackTxt = texture{
	pigment{color rgb <0.78, 0.76, 0.75>}
	finish {diffuse 0.6}
	normal{wrinkles 0.2 scale<0.3, 0.1, 0.05>}
}

#declare Boat9 = union {
	object{
		Body
		texture{Txt}
	}
	
	object{
		Front
		texture{Txt rotate z*110}
	}
	
	object{
		Top
		texture{Txt}
	} 
	
	object{
		Sack
		texture{SackTxt}
	}
}
