<div>I'm not sure what may be causing your delays but I do have one suggestion which may help mitigate some issues you are seeing: try making any prins that you rez phantom and do not change that state until the entire object is complete. This will eliminate a lot of unnecessafy interaction with the physics engine and may improve reliability and speed.</div>

<div> </div>
<div><br><br> </div>
<div class="gmail_quote">On Tue, Oct 6, 2009 at 2:03 PM, Shack Dougall <span dir="ltr"><<a href="mailto:shack@liferain.com">shack@liferain.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">One part of Prim Composer is an LSL-based rezzing system that creates a<br>build from notecard data.<br><a href="http://liferain.com/downloads/primcomposer/" target="_blank">http://liferain.com/downloads/primcomposer/</a><br>
<br>In OpenSim 0.6.5, this system worked almost as good as in Second Life.<br>Unfortunately, it does not work well in 0.6.6 and is unusable in 0.6.7<br><br>*Test Platform*: Standalone, Windows XP, MySQL, ODE Physics,<br>Meshmerizer.  Other than this I use the defaults.<br>
<br>So, the question is "What is causing the problem?"  What has changed<br>since 0.6.5 that causes the LSL rezzer to perform so badly?<br><br>I have verified that the script engine defaults have not changed.<br>
<br>*How the rezzer works*<br><br>The rezzer contains linksets with various numbers of prims, e.g.,<br>Linkset-10 is a linkset with 10 prims in it.<br><br>1. The rezzer reads data out of a notecard. It sees how many prims<br>
should be in the next linkset and rezzes a linkset from its inventory<br>with that number of prims.<br>2. When the linkset rezzes, the root prim tells the rezzer that it is<br>alive and the rezzer sends it the UUID and line number of a notecard to<br>
read via chat.  At this point, the rezzer goes back to Step 1.<br>3. The root prim then sends a link message to its children telling them<br>the UUID and a line number to read.<br>4.  Each prim in the linkset then reads their data independently from<br>
the notecard and then performs llSetPrimitiveParams to transform<br>themselves into the shape determined by the notecard data.<br><br>It's actually a lot more complicated than that, but you get the idea.<br>So, lots of prims are being rezzed very quickly via LSL and each prim<br>
has a script in it that reads notecard data and sets params.<br><br>In 0.6.5, this process runs very smoothly--prims and scripts are created<br>and execute quickly.  In 0.6.6 and above, something is happening that<br>drastically slows this process down.  Either the prims are rezzing<br>
slower, or the scripts are starting slower or the scripts are executing<br>slower.<br><br>In any event, the difference is extreme.  It is bad in 0.6.6 and seems<br>to be even worse in 0.6.7.<br><br>Does anyone have any ideas or suggestions?  Is this a bug?  Is it an<br>
inevitable fact of life?  Can it be improved?  What can I do to help<br>with the process?<br><br>I'm more than happy to create a video showing the difference.  The LSL<br>scripts are open source.  I can also set you up with some test data and<br>
a copy of my maxport utility if anyone wants to try to reproduce it.  It<br>is very easy to do.<br><br>Thanks in advance!  --Shack<br>_______________________________________________<br>Opensim-dev mailing list<br><a href="mailto:Opensim-dev@lists.berlios.de">Opensim-dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/opensim-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/opensim-dev</a><br></blockquote></div><br>