Terrainpaint 3.1

Hello people,

I’v just uploaded the next version of my terrainpaint script. i released it on github so i hope other people start working on this script and improve it!
I have little time to do it all by myself

Known bugs:

  • Previews not correct hight/size

  • Preview rotation not correct while painting on normals.

  • Preview only takes the first prototype object

  • Sometimes previews are missing.

  • Size of the brush is wrong when painting on non-planer meshes.

Features:

  • Adjusted the shader for the terrain (now supports shadow)
  • Added feature : painting objects
  • improved the preview

Download the whole project on github:

http://www.github.com/Pixelstudio/TerrainPaint/

Have fun!!

I nearly missed this release!!

I really dont master programming out of my cad environment. Hope people in comunity can help you.

Very nice!

Is object placement based on mesh normals, or is it on a specific direction (towards -y, or the origin of the object for example)?

looking at the sphere I would say it is normal based. Locking it to Y might be usefull too as treest tend to grow vertically. But… lets try it …

mesh normal or up, you can choose

Wait how u get the holes on terrain ?

Thats why he made this shit, you can’t

this is NOT a terrain but custom mesh :wink:

He is basically remaking the terrain painting tools for any custom mesh you choose to use. Which is a very awesome addition to the editor. :smile:

pixelstudio, could this be used to place gameobjects on a mesh object that is already textured? eg: I don’t want to paint textures, just place objects rotated based on mesh normals.

Only problem is that it comes up with the error: indexoutofrangeexception and doesn’t work

Can you give some technical information on its abilities and limitations. Such as, trees are regular game objects (or not), trees have billboards (or not), number of textures supported, bump mapping supported (or not), detail support, etc :slight_smile:
Basically, how is it different or the same as the terrain engine.
Thanks!