{"id":1292,"date":"2011-12-09T13:14:33","date_gmt":"2011-12-09T13:14:33","guid":{"rendered":"http:\/\/www.west-racing.com\/mf\/?page_id=1292"},"modified":"2013-04-10T09:46:00","modified_gmt":"2013-04-10T09:46:00","slug":"vertex-paint","status":"publish","type":"page","link":"http:\/\/www.west-racing.com\/mf\/?page_id=1292","title":{"rendered":"Vertex Paint"},"content":{"rendered":"<p><a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/paint.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/paint-300x168.jpg\" alt=\"\" title=\"paint\" width=\"300\" height=\"168\" class=\"alignleft size-medium wp-image-1293 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/paint-300x168.jpg 300w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/paint-1024x574.jpg 1024w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/paint-680x381.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/paint.jpg 1279w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nThis modifier allows you to &#8216;paint&#8217; on a deformation to a mesh where the vertices will be displaced along their normals by a defined brush with size and falloff values.<br \/>\n<a href=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/megavpaint.jpg\"><img loading=\"lazy\" src=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/megavpaint.jpg\" alt=\"\" title=\"megavpaint\" width=\"259\" height=\"202\" class=\"alignright size-full wp-image-1580 fancy\" \/><\/a><\/p>\n<h3>Vertex Paint Param Description<\/h3>\n<h4><strong>Radius<\/strong><\/h4>\n<p>Size of the brush to paint with.<\/p>\n<h4><strong>Amount<\/strong><\/h4>\n<p>Amount to move vertices by.<\/p>\n<h4><strong>Use Decay<\/strong><\/h4>\n<p>Set to use falloff params below.<\/p>\n<h4><strong>Falloff Mode<\/strong><\/h4>\n<p>Type of fall off:<\/p>\n<ul><strong>Gauss<\/strong> &#8211; Gaussian bell shaped curve fall off<\/ul>\n<ul><strong>Linear<\/strong> &#8211; Simple straight falloff<\/ul>\n<ul><strong>Point<\/strong> &#8211; Very sharp fall off<\/ul>\n<h4><strong>Falloff<\/strong><\/h4>\n<p>This value will effect the shape of the falloff curves, higher numbers have a slower fall off in general.<\/p>\n<h4><strong>Use Avg Norm<\/strong><\/h4>\n<p>If this is set then vertices will be displace in the direction of the average of all the normals of the faces effected by the brush.<\/p>\n<h4><strong>Normal<\/strong><\/h4>\n<p>If Use Avg normals is clear then the vertices will be moved in the direction of this normal value.<\/p>\n<h4><strong>Paint Mode<\/strong><\/h4>\n<p>How the brush stroke effects the vertex values.<\/p>\n<ul><strong>Add<\/strong> &#8211; Brush will add to the vertex values.<\/ul>\n<ul><strong>Subtract<\/strong> &#8211; Brush will subtract from the vertex values.<\/ul>\n<ul><strong>Set<\/strong> &#8211; Brush will over write vertex values.<\/ul>\n<ul><strong>Multiple<\/strong> &#8211; Brush will scale the vertex values.<\/ul>\n<h3>Vertex Paint Class<\/h3>\n<p>[cc lang=&#8221;c#&#8221;]public class MegaPaint : MegaModifier<br \/>\n{<br \/>\n\tpublic float\t\t\tradius;<br \/>\n\tpublic float\t\t\tamount;<br \/>\n\tpublic float\t\t\tdecay;<br \/>\n\tpublic bool\t\t\t\tusedecay;<br \/>\n\tpublic MegaFallOff\t\tfallOff;<br \/>\n\tpublic float\t\t\tgaussc;<br \/>\n\tpublic bool\t\t\t\tuseAvgNorm;<br \/>\n\tpublic Vector3\t\t\tnormal;<br \/>\n\tpublic MegaPaintMode\tmode;<br \/>\n}[\/cc]<\/p>\n<h3>Video Guide<\/h3>\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=KyksXQk4r94&#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\/12\/ytvpaint.jpg\" alt=\"\" title=\"ytvpaint\" width=\"680\" height=\"384\" class=\"aligncenter size-full wp-image-1498 fancy\" srcset=\"http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/ytvpaint.jpg 680w, http:\/\/www.west-racing.com\/mf\/wp-content\/uploads\/2011\/12\/ytvpaint-300x169.jpg 300w\" sizes=\"(max-width: 680px) 100vw, 680px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This modifier allows you to &#8216;paint&#8217; on a deformation to a mesh where the vertices will be displaced along their normals by a defined brush with size and falloff values. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":38,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/1292"}],"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=1292"}],"version-history":[{"count":12,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/1292\/revisions"}],"predecessor-version":[{"id":3814,"href":"http:\/\/www.west-racing.com\/mf\/index.php?rest_route=\/wp\/v2\/pages\/1292\/revisions\/3814"}],"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=1292"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}