Tile a spline with bricks

68 Views Asked by At

I have a series of identically sized virtual Lego bricks. I need to "tile" these bricks along the length of a Hermite spline to create a curved road. The spline is two-dimensional. E.g. the curve only rises or falls. It does not turn left or right.

How do I go about doing this? The bricks all need to remain connected to each other.

Here are two examples of real and virtual curved Lego roads.

http://gallaghersart.com/images/made/item/1000/700_560_78/GallaghersArt_ramp_04_a_sm.jpg

http://www.flickr.com/photos/12333864@N05/3646860002

Thanks!