Recipe 37: Shatter

    Jun 08 2007 | 12:00 am

    • Jun 19 2007 | 10:49 am
      hi! great! that was exactly i was looking for. my texcoords were always wrong.
    • Jun 19 2007 | 4:43 pm
      If you want to make the shards rotate, you can add a few more jit.expr objects into the process:
    • Jun 20 2007 | 10:14 am
      hero of the day!
    • Jul 04 2007 | 12:28 pm
      hi! is this operation so cpu intensive? the rotation slows down my machine drastically. where to integrate the rotation matrix?
      in fact this op is very inspiring and leads me to some other problems...
      btw. sent you a mail to your flickr account concerning your slurp shader. very nice. reminds me of this quaternion julia shader i once saw in vvvv world. required shader 3.0 and did not work in realtime mode.
    • Jul 04 2007 | 5:55 pm
      Hi Didi, Depending on how many quads you are using, there is some pretty heavy calculation going on in those jit.expr objects. On my G5, it didn't seem to slow things down too much, but YMMV.
      Those images in flickr are done using a some curvy meshes with a shader applied that does some interesting things based on Normal calculations. There really isn't so much to it, and the math isn't nearly as difficult as Julia sets.