for Terragen there are exporters to goto .obj (maya), .3ds (max) etc...it natively exports to .lwo (lightwave) in the landscape window. there's a button for export. I haven't had much luck with the add-on exporters though, so you'll probably be better off exporting to .lwo and importing to Maya or using a file format converter...such as Quick3d or something.