   Terrain deform algorithms ?
  Hi allI want to make a brush to deform terrain like Unity Engine.look image:http://www.imagenserver.com.ar/show.php/13036_image.JPG.htmlUnity like other terrain editors use a image for the brush, but I not understand that algorithm/technique him use.I search "terrain deform algorithms" in google, but not found nothing.In the forum, I found this topic: http://www.gamedev.net/community/forums/topic.asp?topic_id=138833 , but nothing over deform algorithm.Does somebody know that algorithms are used?For deform like Unity engine, any idea Advanced thankskiko   
  I don't have any experience with Unity, but I'd guess they map the brush image to a brushSize by brushSize terrain square or (or a circle with radius brushSize) and then sample the image at each point in the square (or circle) to get a scaling factor for the deformation. In other words, the deformation function applies an offset to each vertex in the brush radius whose magnitude is determined by the color value of the pixel in the brush image that maps to that vertex.   ;  Sounds like the colour-encoded height value of each pixel in the brush would be determined by some function of the distance of that pixel from the centre (Like an inverse square). The brush would be applied to a height map which is then processed by the application to produce the offset values for the vertices in the terrain mesh.   ;  Hi allthanks to reply, sorry for the delay.My problem is solved.http://www.imagenserver.com.ar/show.php/13109_image.JPG.htmlkiko   