Difference between revisions of "Deformation Envelope LPE"

From Inkscape Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
=Deformation Envelope LPE=
 
=Deformation Envelope LPE=
 
This Project is part of a student project from Ecole Centrale de Lyon.
 
This Project is part of a student project from Ecole Centrale de Lyon.
 +
(SVN : http://svn.eclair.ec-lyon.fr/ )
  
 
----
 
----
Line 8: Line 9:
 
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. 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)

Latest revision as of 22:37, 5 February 2008

Deformation Envelope LPE

This Project is part of a student project from Ecole Centrale de Lyon. (SVN : http://svn.eclair.ec-lyon.fr/ )


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)