<h2 style="font-size:13pt;overflow:hidden;margin:0px;padding-top:0.5em;padding-bottom:0.17em;color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Lucida Sans&#39;,Lucida,Verdana,sans-serif;line-height:17px;text-align:left;background-color:rgb(238,238,238)">
<span class="mw-headline" style="display:inline;padding-top:75px">Hi all</span></h2><div><span class="mw-headline" style="display:inline;padding-top:75px">you can read in </span><a href="http://wiki.blender.org/index.php/User:Apinzonf/progress">http://wiki.blender.org/index.php/User:Apinzonf/progress</a></div>
<h2 style="font-size:13pt;overflow:hidden;margin:0px;padding-top:0.5em;padding-bottom:0.17em;color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Lucida Sans&#39;,Lucida,Verdana,sans-serif;line-height:17px;text-align:left;background-color:rgb(238,238,238)">
<span class="mw-headline" id="Week_4_Report" style="display:inline;padding-top:75px">Week 4 Report</span></h2><h3 style="font-size:16px;border-bottom-style:none;margin:0px;padding-top:0.5em;padding-bottom:0.17em;overflow:hidden;color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Lucida Sans&#39;,Lucida,Verdana,sans-serif;line-height:17px;text-align:left;background-color:rgb(238,238,238)">
<span class="editsection" style="display:inline;float:right;margin-left:5px;font-size:12px;font-weight:400">[<a href="http://wiki.blender.org/index.php?title=User:Apinzonf/progress&amp;action=edit&amp;section=15" title="Edit section: What I did this week?" style="color:rgb(34,85,136);text-decoration:none">edit</a>]</span><span class="mw-headline" id="What_I_did_this_week.3F_4" style="display:inline;padding-top:75px">What I did this week?</span></h3>
<p style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Lucida Sans&#39;,Lucida,Verdana,sans-serif;font-size:12px;line-height:1.5em;margin:0.4em 0px 0.5em;text-align:justify;background-color:rgb(238,238,238)">
I implemented a Laplacian smooth how a modifier tool.</p><ul style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Lucida Sans&#39;,Lucida,Verdana,sans-serif;font-size:12px;line-height:17px;text-align:left;background-color:rgb(238,238,238)">
<li>I read <a href="http://wiki.blender.org/index.php/Dev:Source/Modifiers/Adding" title="Dev:Source/Modifiers/Adding" style="color:rgb(34,85,136);text-decoration:none">Dev:Source/Modifiers/Adding</a></li><li>I looked several MOD_...c files. In <tt>/source/blender/modifiers/intern</tt></li>
<li>I did copy and paste from <tt>MOD_smooth.c</tt> and related files to <tt>MOD_laplaciansmooth.c</tt></li><li>I Implemented Laplacian smooth algorithm in file <tt>MOD_laplaciansmooth.c</tt>, with base on my work in other file make in past weeks <tt>bmo_smooth_laplacian.c</tt> in <tt>/source/blender/bmesh/operators</tt></li>
<li>I take a long time transforming the algorithm, since in the modifiers there is little topological information. And transform the DerivedMesh to BMesh would cause poor performance (Advice given by Genscher and ideasman_42).</li>
</ul><p style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Lucida Sans&#39;,Lucida,Verdana,sans-serif;font-size:12px;line-height:1.5em;margin:0.4em 0px 0.5em;text-align:justify;background-color:rgb(238,238,238)">
<br></p><h3 style="font-size:16px;border-bottom-style:none;margin:0px;padding-top:0.5em;padding-bottom:0.17em;overflow:hidden;color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Lucida Sans&#39;,Lucida,Verdana,sans-serif;line-height:17px;text-align:left;background-color:rgb(238,238,238)">
<span class="editsection" style="display:inline;float:right;margin-left:5px;font-size:12px;font-weight:400">[<a href="http://wiki.blender.org/index.php?title=User:Apinzonf/progress&amp;action=edit&amp;section=16" title="Edit section: What you plan to do next week?" style="color:rgb(34,85,136);text-decoration:none">edit</a>]</span><span class="mw-headline" id="What_you_plan_to_do_next_week.3F_4" style="display:inline;padding-top:75px">What you plan to do next week?</span></h3>
<p style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Lucida Sans&#39;,Lucida,Verdana,sans-serif;font-size:12px;line-height:1.5em;margin:0.4em 0px 0.5em;text-align:justify;background-color:rgb(238,238,238)">
Adapt the modifier to work with Quads.</p><p style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Lucida Sans&#39;,Lucida,Verdana,sans-serif;font-size:12px;line-height:1.5em;margin:0.4em 0px 0.5em;text-align:justify;background-color:rgb(238,238,238)">
<br></p><h3 style="font-size:16px;border-bottom-style:none;margin:0px;padding-top:0.5em;padding-bottom:0.17em;overflow:hidden;color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Lucida Sans&#39;,Lucida,Verdana,sans-serif;line-height:17px;text-align:left;background-color:rgb(238,238,238)">
<span class="editsection" style="display:inline;float:right;margin-left:5px;font-size:12px;font-weight:400">[<a href="http://wiki.blender.org/index.php?title=User:Apinzonf/progress&amp;action=edit&amp;section=17" title="Edit section: Any roadblocks, difficulties, etc." style="color:rgb(34,85,136);text-decoration:none">edit</a>]</span><span class="mw-headline" id="Any_roadblocks.2C_difficulties.2C_etc._4" style="display:inline;padding-top:75px">Any roadblocks, difficulties, etc.</span></h3>
<p style="color:rgb(51,51,51);font-family:&#39;Lucida Grande&#39;,&#39;Lucida Sans Unicode&#39;,&#39;Lucida Sans&#39;,Lucida,Verdana,sans-serif;font-size:12px;line-height:1.5em;margin:0.4em 0px 0.5em;text-align:justify;background-color:rgb(238,238,238)">
The modifier only works with triangulated meshes, MFace has 4 verts in some cases, and I need work with 3 verts only or adapt the algorithm to work with Quads.</p>