Procedural Mesh and Texture Generation

Hey there,

I am a university student starting the research phase of my honour’s project. I am looking for a suitable engine to do the project in.

I am curious to know what kinds of things Unity has in the way of procedural mesh and texture generation.

One of my goals for my project is to procedurally generate terrain and color and texture it based on a heightmap after the mesh has been generated.

Is this possible to do with Unity? Or would I generate a mesh and then import it into Unity?

Thanks,
William

Unity doesn’t have any limitations along those lines. If you can program it, you can do it in Unity.

–Eric

I’d be curious to see some examples and references as to how this is done. If you could provide those Eric, myself and lang, I’m sure, would both be thankful.

http://unity3d.com/support/resources/example-projects/procedural-examples.html

–Eric

What about terrain manipulation and texture generation?

–Eric

Looks like I’ll have to do some reading on how the scripting engine in Unity works.

Thanks for pointing me out to those great resources Eric!

look at all the links that eric said, they will help alot

I’ve done some procedural terrain - there’s absolutely nothing stopping you. I chose unity to do procedural terrain.
here are 2 things to help you out.
LibNoise - absolutely fantastic. Easy to use, super fast.
Procedural Example - old, but they are fantastic examples.

Unity Asset Store - The Best Assets for Game Making is now a more helpful link for the procedural examples.

1 Like

@twobob

Agreed. The examples in those projects taught me a better way to do effects, how to manipulate / sculpt geometry and also procedural mesh generation.

1 Like

It’s possible and relatively easy. Unity has some performance issues with this, but other than that…it’s not all that hard. There’s heaps of tutorials out there on the interweb for Unity on how to do this.