3
\$\begingroup\$

i have a simple triangle mesh which i want to explode. so i am looking for an algorithm that makes every triangle to move outwards from the centerpoint. is there already something premade like this?

thanks!

\$\endgroup\$
2
  • \$\begingroup\$ You're looking for particle systems, there's a great deal of material on that, can't give you any links off the top of my head though. Furthermore, if your models are made of too coarse a mesh, you'll need to look into tessellation and subdivision techniques to blow up larger patches of your mesh. \$\endgroup\$
    – falstro
    Dec 28, 2010 at 20:12
  • \$\begingroup\$ create.msdn.com/en-US/education/catalog/sample/shatter \$\endgroup\$
    – madeyes
    Jan 1, 2011 at 19:42

2 Answers 2

1
\$\begingroup\$

You may want to check this out:

http://www.cgafaq.info/wiki/Half_edge_general

http://en.nicoptere.net/?p=960

\$\endgroup\$
1
  • \$\begingroup\$ Unfortunately links are down \$\endgroup\$
    – FloFu
    Jan 28, 2018 at 22:48
4
\$\begingroup\$

Look into particle physics. Each vertex would be set up as one particle per triangle it is a part of and each would be pushed away from the explosion point using whatever force you want. To keep the triangles from warping as the particles move, add stick constraints for each edge (they're described in the article linked above). When the constraints are resolved, it will modify the particle movement and cause the triangles to move independently, flipping and rotating as they go.

\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .