Terry Brown wrote:
Implementung my own suggestion for an alternative approach to 3d edges (the bloodsplat discussion), I came up with the attached (screen shot).
Basically you take your shape. Maybe add more nodes. Then colour each internode based on its angle relative to the illumination angle.
So far all my effect does is the above, handling the grouping, bluring, and clipping as well would be nice, but I don't know the API that well, and am just doing everything by reverse engineering.
Where could I put the code?
How cool is that!?!? Please start a thread in the patch tracker and attach the code.
http://sourceforge.net/tracker/?group_id=93438&atid=604308
For the remaining features there really isn't an API. Effects work with XML, so we have to learn how to code those features in XML. The grouping one is easy. Lots of effects add groups of paths. Check out interpolate or extrude. All you have to do is create a <g /> element and add the paths as children. I'm less familiar with the XML manifestation of blur and clipping. But it should be pretty straight forward to make a simple test case image of each, copy the structure and pinpoint the parameters you want allow the user to modify.
Aaron Spike