Scripted unity terrain. Need guidance, options...

I being trying to proceduraly create a terrain grid for my proyect using unity terrain engine. I like the idea of using unity terrain tools from script. It makes it easier for me and it allows me to avoid going deep into vertex shaders and re-invent the well to make my own terrain engine.
Unfortunately, after varius tests i can’t seem to set a smooth (or close to smooth) relief from script. The terrain import heightmap raw works nice but i can’t do that from script on runtime. I try reading the grayscale from an image but the result is pretty much ugly. I just get steps and aparently there’s no way to interpolate the height between points.
To achieve something “usable” i have to set the size of the terrain to something like 10000 and the height set to no more than 100. But it totally lose all scence of terrain. It just looks wrong, plus i also lose detail control over the terrain tile.
I don’t want something very complex or edge cuting technology. I just want to achive something usable to bring my proyect into a beta stage. I had prety much everything covered but with a poor relief mesh is pointless.

I know this have been asked a lot and i did look a lot in the forums and the web but i just found ansewrs and no explanations So i ask again, is it posible to get rid of this steep changes of heights when generating terrain relief from script? Is there a way?
I’d very much like to keep using unity terrain engine.

And also i don’t want to buy outside code that do it for me. This is for various reasons. And having to write a shader to control textures is something i don’t even know where and how to start.
So before i sadly start the long path of learning procedural terrain generation from scratch i would like to know if there’s a way to get the same result of an import heightmap raw but on runtime from script.

Gabriel.

Can you post a picture of what you are getting? Your 2nd paragraph and 3rd lost me as to what you are actually getting. Not sure what you mean by a smooth relief, how you just get steps.

This is what i am getting.

Reading from an image (I’m assuming not raw) only gets you 256 shades of gray, which is only 8-bit resolution. Heightmaps should have 16-bit resolution. I’d recommend not reading the grayscale from an image like that, unless you use a raw image with 16-bit grayscale.

–Eric

Ok, so how fast could it be to import a .raw file on runtime via script? I pretend to make the terrains to gradually load on background as necesary.