Results 1 to 5 of 5

Thread: How generate 2d mesh triangles list from an image?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Do you want the triangle shapes to follow the texture shapes? If you do then using vectoriization might be a good approach.

    But if you don't care much about that and just want to explode your texture into certain number of random looking pieces then you might want to check link to the next article.
    http://www-cs-students.stanford.edu/...ap-generation/
    While the article is explaining how to proceduraly generate game maps in its base it is using algorithms that split 2D area (map area) into multiple polygons of different shapes and sizes which could come useful to you for creating 2D mesh with random sized polygons that you can then explode. In fact I think that using polygons instead of simply triangles might lead to even better looking explosion effect.

  2. #2
    Thanks SilverWarrior, i will see the article.

    Regards
    Sesilla

    Quote Originally Posted by SilverWarior View Post
    Do you want the triangle shapes to follow the texture shapes? If you do then using vectoriization might be a good approach.

    But if you don't care much about that and just want to explode your texture into certain number of random looking pieces then you might want to check link to the next article.
    http://www-cs-students.stanford.edu/...ap-generation/
    While the article is explaining how to proceduraly generate game maps in its base it is using algorithms that split 2D area (map area) into multiple polygons of different shapes and sizes which could come useful to you for creating 2D mesh with random sized polygons that you can then explode. In fact I think that using polygons instead of simply triangles might lead to even better looking explosion effect.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •