Not to rain on the parade, but wouldn't it just be easier to render out a heightfield in one of the free 3d programs ??

-Rob A>