Wireframe to Solid to Material in 1 cycles material

So I want to make an animation that will do a solid horizontal line (vertical) that will split 2 or more, and have that line move across the model to reveal like a new layer/material behind the line. I achieved something kind of like it, but since it was for just a single image, I have split the model into 2, and made them separate materials.