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\$
  • \$\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 '10 at 20:12
  • \$\begingroup\$ create.msdn.com/en-US/education/catalog/sample/shatter \$\endgroup\$ – madeyes Jan 1 '11 at 19:42
1
\$\begingroup\$

You may want to check this out:

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

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

\$\endgroup\$
  • \$\begingroup\$ Unfortunately links are down \$\endgroup\$ – FloFu Jan 28 '18 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\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.