<html><body>
<p>It didn't look like this post made it the first time.<br>
<font size="2" color="#800080">----- Forwarded by Mike Pitman/Watson/IBM</font><font size="2" color="#800080"> on 09/14/2008 10:19 AM</font><font size="2" color="#800080"> -----</font><br>
<br>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td style="background-image:url(cid:1__=0ABBFE57DFDD316A8f9e8a93df938@us.ibm.com); background-repeat: no-repeat; " width="40%">
<ul>
<ul>
<ul>
<ul><b><font size="2">Mike Pitman/Watson/IBM</font></b>
<p><font size="2">09/13/2008 08:49 PM</font></ul>
</ul>
</ul>
</ul>
</td><td width="60%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:2__=0ABBFE57DFDD316A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">To</font></div></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFE57DFDD316A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">opensim-dev@lists.berlios.de</font></td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:2__=0ABBFE57DFDD316A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">cc</font></div></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFE57DFDD316A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
</td></tr>

<tr valign="top"><td width="1%"><img width="58" height="1" src="cid:2__=0ABBFE57DFDD316A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<div align="right"><font size="2">Subject</font></div></td><td width="100%"><img width="1" height="1" src="cid:2__=0ABBFE57DFDD316A8f9e8a93df938@us.ibm.com" border="0" alt=""><br>
<font size="2">Fix for terrain editing spike problem</font><a href="Notes://D01ML605/852562BD006ECBCC/32547D7F59F9E7E38525613200556E77/BAAFC8DD1E8BE50F852574C3006F05DB"><img src="cid:3__=0ABBFE57DFDD316A8f9e8a93df938@us.ibm.com" border="0" alt="Mike Pitman"></a></td></tr>
</table>

<table border="0" cellspacing="0" cellpadding="0">
<tr valign="top"><td width="58"><img width="1" height="1" src="cid:2__=0ABBFE57DFDD316A8f9e8a93df938@us.ibm.com" border="0" alt=""></td><td width="336"><img width="1" height="1" src="cid:2__=0ABBFE57DFDD316A8f9e8a93df938@us.ibm.com" border="0" alt=""></td></tr>
</table>
</td></tr>
</table>
<font size="4">Hey Folks,</font><br>
<br>
<font size="4">Mantis 0002187 contains a patch I submitted which fixes the terrain spikes, and is the result of mostly a tuning operation on the smooth and flatten tools. I dug in and found that the spikes apparently result from smooth's overly aggressive iteration steps toward the average curvature, which leads to an instability that blows up the heights. I introduced a scaling factor to dampen the 'duration' parameter which tames progress and seems to keep things stable.</font><br>
<br>
<font size="4">I was no longer able to produce any spikes.</font><br>
<br>
<font size="4">I also adjusted the brush size function to linear, as Adam suggested, which seems to work much better. I settled on small flatten being just enough to induce a narrow walkway on the side of a mountain that an avatar can walk along, medium giving a nice sized trail for an avatar, and large still useful for big jobs.</font><br>
<br>
<font size="4">I left raise and lower alone, since fast response is good for bulk work and didn't cause instabilities. </font><br>
<br>
<font size="4">-Mike Pitman/Rez Tone</font><br>
<br>
</body></html>