Jump to content


Terrain: deform algorithms ?


3 replies to this topic

#1 kikoST

    New Member

  • Members
  • Pip
  • 3 posts

Posted 02 April 2010 - 05:53 PM

Hi all

I want to make a brush to deform terrain like Unity Engine.
Unity 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.devmaster...=terrain+deform , but nothing over deform algorithm.


Does somebody know that algorithms are used?
For deform like Unity engine

Advanced thanks

kiko

#2 kikoST

    New Member

  • Members
  • Pip
  • 3 posts

Posted 05 April 2010 - 06:23 PM

Hi

Any idea ?

Something like this
look the image:

http://www.imagenser..._image.JPG.html


advanced thanks

#3 Reedbeta

    DevMaster Staff

  • Administrators
  • 5305 posts
  • LocationBellevue, WA

Posted 05 April 2010 - 06:42 PM

Terrain is commonly represented by a heightfield, which is just a grayscale image. It looks like the brushes are just painting into the heightfield the same way as you paint onto any image in Photoshop etc.
reedbeta.com - developer blog, OpenGL demos, and other projects

#4 kikoST

    New Member

  • Members
  • Pip
  • 3 posts

Posted 15 April 2010 - 11:54 AM

Hi Reedbeta

thanks to reply, sorry for the delay.

My problem is solved.

http://www.imagenser..._image.JPG.html

kiko





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users