Can I make an existing mesh into a terrain?

I’m new to Unity and I created a terrain in Rhino using a parametric function plugin (grasshopper) using real world information taken from QGIS. I then brought that object into Maya and then after adding additional modeling I brought it into Unity. I don’t think it’s possible to make a mesh terrain but I am having trouble using heightmap. I have a heightmap but it doesn’t seem to be working on my terrain. Is there a certain tutorial of which steps I should be following?

3 Answers

3

Convert a mesh to a terrain using this.

Eric5h5 have you ever gotten that script to work?

the answer field is for answers only. please repost as a comment

Eric wrote it!

Yeah, I wrote it, so it kinda maybe works. ;)

Thank you! I've been searching for half hour

From my knowledge terrains are purely height maps and you can’t just explicitly convert a mesh to a terrain! I’m pretty sure there are tools which can be used to generate a heightmap from a mesh using projection techniques on the asset store, otherwise you’d have to import the heightmap from tools in Maya or Rhino.

I don’t see why you can’t use regular meshes as terrains, really. They’re obviously missing a great deal of the functionality and optimisation that heightmap terrains have, but if you generate a mesh collider and give it some decent shaders then I don’t see why you couldn’t use it as is.

The word is OPTIMIZATION, not OPTIMISATION

So very wrong. There are no words spelled "optimazation" or "optimasation". There is, however, a word spelled "optimisation", and yes that's real and correct. Don't call out people's (correct) spelling when you're not able to spell yourself. Also, this isn't an answer to the question.

I'm so sorry, but "YOU" are very wrong. NO 'S'... is the point. Simply go to Google and type in "OPTIMIZATION", and you will see the following: Search Results Dictionary op·ti·mi·za·tion ˌäptəməˈzāSHən,ˌäptəˌmīˈzāSHən/ noun noun: optimization; plural noun: optimizations; the action of making the best or most effective use of a situation or resource. "companies interested in the optimization of the business" Even WIKIPEDIA has it spelled correctly, at this address: https://en.wikipedia.org/wiki/Optimization_(disambiguation)