{"id":199,"date":"2011-11-28T15:29:37","date_gmt":"2011-11-28T15:29:37","guid":{"rendered":"http:\/\/www.west-racing.com\/mf\/?page_id=199"},"modified":"2012-05-02T19:52:56","modified_gmt":"2012-05-02T19:52:56","slug":"ffd","status":"publish","type":"page","link":"http:\/\/www.west-racing.com\/mf\/?page_id=199","title":{"rendered":"FFD"},"content":{"rendered":"<p><a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ffd.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ffd-1024x272.jpg\" alt=\"\" title=\"ffd\" width=\"640\" height=\"170\" class=\"aligncenter size-large wp-image-805 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ffd-1024x272.jpg 1024w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ffd-300x79.jpg 300w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ffd-680x181.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ffd.jpg 1122w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/a><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaffd1.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaffd1-201x300.jpg\" alt=\"\" title=\"megaffd1\" width=\"201\" height=\"300\" class=\"alignleft size-medium wp-image-812 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaffd1-201x300.jpg 201w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaffd1.jpg 407w\" sizes=\"(max-width: 201px) 100vw, 201px\" \/><\/a>FFD stands for Free-Form Deformation. The FFD modifier surrounds the selected geometry with a lattice. By adjusting the control points of the lattice, you deform the enclosed geometry. There are three FFD modifiers, each providing a different lattice resolution: 2x2x2, 3x3x3, and 4x4x3. The 3x3x3 modifier, for example, provides a lattice with three control points across each of its dimensions or nine on each side of the lattice. The FFD modifier is powerful and can be used for a lot of deformations and is a very common tool in high end 3D Packages, a lot of cartoon effects can be done with this modifier especially if combined with some scripting of the control points, for example damage to cars can be done by moving the points.<\/p>\n<p>\nThe gizmo for the FFD modifiers shows a red lattice around the mesh with yellow handles for the points, you can click and drag these points to deform the mesh.<br \/>\n<div class=\"message_box info_box\">\n<p class=\"message_box_sign info_box_sign\">Info<\/p>\nYou can return the lattice to its original position by right clicking the Inspector FFD foldout bar and clicking &#8216;Reset&#8217;\n<\/div><br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaffd.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaffd.jpg\" alt=\"\" title=\"megaffd\" width=\"245\" height=\"303\" class=\"alignright size-full wp-image-808 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaffd.jpg 245w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/megaffd-242x300.jpg 242w\" sizes=\"(max-width: 245px) 100vw, 245px\" \/><\/a><\/p>\n<h3>FFD Param Description<\/h3>\n<h4><strong>DrawGizmos<\/strong><\/h4>\n<p>Draw the control points and gizmo in edit mode, allows user to drag points.<\/p>\n<h4><strong>KnotSize<\/strong><\/h4>\n<p>Relationship of knotsize to lattice grid size.<\/p>\n<h4><strong>inVol<\/strong><\/h4>\n<p>Only deform points that lie inside the source volume.<\/p>\n<h4><strong>Points<\/strong><\/h4>\n<p>Click this foldout to show the point array for the FFD so you can manually enter values.<\/p>\n<h3>FFD Class<\/h3>\n<p>[cc lang=&#8221;c#&#8221;]public class MegaFFD : MegaModifier<br \/>\n{<br \/>\n\tpublic bool      DrawGizmos;<br \/>\n\tpublic float     KnotSize;<br \/>\n\tpublic bool      inVol;<br \/>\n\tpublic Vector3[] pt;<br \/>\n}[\/cc]<\/p>\n<h3>FFD Tutorial<\/h3>\n<p><a href=\"https:\/\/www.youtube.com\/watch?v=u3Hwjm47YKM&#038;hd=1&#038;fs=1&#038;autoplay=1\" class=\"fancybox-youtube\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2012\/05\/ytffd1.jpg\" alt=\"\" title=\"Click to Play\" width=\"680\" height=\"406\" class=\"aligncenter size-full wp-image-1946 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2012\/05\/ytffd1.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2012\/05\/ytffd1-300x179.jpg 300w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n<h3>Video of FFD<\/h3>\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=QtaDVxRTmOw&#038;hd=1&#038;fs=1&#038;autoplay=1\" class=\"fancybox-youtube\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ytffd.jpg\" alt=\"\" title=\"FFD Video Click to Play\" width=\"680\" height=\"385\" class=\"aligncenter size-full wp-image-1515 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ytffd.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/11\/ytffd-300x169.jpg 300w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>FFD stands for Free-Form Deformation. The FFD modifier surrounds the selected geometry with a lattice. By adjusting the control points of the lattice, you deform the enclosed geometry. There are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":38,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/199"}],"collection":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=199"}],"version-history":[{"count":22,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/199\/revisions"}],"predecessor-version":[{"id":4650,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/199\/revisions\/4650"}],"up":[{"embeddable":true,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/38"}],"wp:attachment":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}