Difference between revisions of "Deformation Envelope LPE"

From Inkscape Wiki
Jump to navigation Jump to search
Line 8: Line 8:
 
Main points are :
 
Main points are :
 
* a. envelope effect (math)
 
* a. envelope effect (math)
For the moment, Lib2geom has to be explored. An idea is to use things similar to four bend paths with weight...
+
[[Lib2geom]] provides good mesh-deformation. The toy "mesh-grad" is a good example.
  
 
* b. envelope parameter UI (how to handle the control of the envelope)  
 
* b. envelope parameter UI (how to handle the control of the envelope)  
The envelope may be a single path. But there are particular nodes : the first four ones. An idea is to count them...
+
The envelope may be a single path. But there are particular nodes : the first four ones.
<i>Johan: the sodipodi:nodetype attribute of a path determines the nodetype. you could add a new nodetype to specify the 4 special corner nodes. This way you can reuse all node-editing stuff that is already present in inkscape, with only tiny changes needed. I think you should not make the first 4 nodes special, because then you will have to do much more work. Just having it as one (closed) path is nice, good idea!</i>
+
<i>Johan: the sodipodi:nodetype attribute of a path determines the nodetype. you could add a new nodetype to specify the 4 special corner nodes. This way you can reuse all node-editing stuff that is already present in inkscape, with only tiny changes needed. Just having it as one (closed) path is nice, good idea!</i>
  
It will use [[Lib2geom]].
 
  
 
See this old page for the original idea : [[PerspectiveObject]] (is obsolete)
 
See this old page for the original idea : [[PerspectiveObject]] (is obsolete)

Revision as of 13:50, 15 January 2008

Deformation Envelope LPE

This Project is part of a student project from Ecole Centrale de Lyon.


See this Mock-up for immediate understanding.

Main points are :

  • a. envelope effect (math)

Lib2geom provides good mesh-deformation. The toy "mesh-grad" is a good example.

  • b. envelope parameter UI (how to handle the control of the envelope)

The envelope may be a single path. But there are particular nodes : the first four ones. Johan: the sodipodi:nodetype attribute of a path determines the nodetype. you could add a new nodetype to specify the 4 special corner nodes. This way you can reuse all node-editing stuff that is already present in inkscape, with only tiny changes needed. Just having it as one (closed) path is nice, good idea!


See this old page for the original idea : PerspectiveObject (is obsolete)