Recipe 37: Shatter
hi! great! that was exactly i was looking for. my texcoords were always wrong.
hurra,
dd
If you want to make the shards rotate, you can add a few more jit.expr
objects into the process:
Enjoy!
hero of the day!
dd
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.
allthebest,
dd
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.
AB