|Anonymous | Login | Signup for a new account||2020-01-20 19:54 PST|
|Main | My View | View Issues | Change Log | Roadmap | Summary | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0007853||opensim||[REGION] Physics Engines||public||2016-03-22 00:03||2016-06-24 00:45|
|Platform||Linux/Mono||OS||OpenSim Dev OSgrid w/ubODE||OS Version||0.9.0.0|
|Product Version||master (dev code)|
|Target Version||Fixed in Version|
|Summary||0007853: ubODE fails when “sculpt animation” is used.|
|Description||Sculpt animation is frowned upon in the LL Wiki and other places. But all the alternatives have limitations or are not available. So there is still a lot of content that uses this trick to animate objects: Use llSetLinkPrimitiveParamsFast to change the sculpt texture map of a prim to change its shape. When content using this method is introduced to a region using BulletSim, everything continues to work. HOWEVER, if content using this method is introduced to a region running ubODE, performance of the region soon degrades. Avatars get stuck and cannot move. Physical objects eventually stop falling.|
|Steps To Reproduce||Make sure your region is running ubODE. Put the 6 included leg sculpts in the inventory of a prim. Then put a copy of the following script in the same prim. Make 16 copies of the resulting animated leg. If you are running ubODE, your physics engine will be brought to its knees. If you delete all the animated legs, performance sometimes recovers after a while.|
|Additional Information||integer leg=0;|
llSetLinkPrimitiveParamsFast(LINK_THIS,[PRIM_SIZE,<2.5, 1, 3> ]);
leg = (leg+1)%6;
|Tags||No tags attached.|
|Git Revision or version number|
|Run Mode||Grid (Multiple Regions per Sim)|
|Environment||Mono / Linux64|
|Attached Files||LegSculpts.zip [^] (15,301 bytes) 2016-03-22 00:03|
|Have you tried turning off sculpt visual shape meshing in opensim.ini? That may improve performance.|
I tested this and on my test region ubOde did not fail, just takes a more time that bullet. Making them physical just took a bit more time, (they will jump all over due to the abrupt change of shape, causing deep prim overlaps)
didn't notice performance degradation with time
On a slower machine or one with higher load this may impact other objects or avatar movement, if not crash. Things may get worse with time due to accumulation of work requests.
if you change prim shape type to convex, it will be a bit faster.
Changing a prim shape is a heavy operation on ubOde, but even on bullet you should not do it.
Make the legs phantom or if linked set shape type to NONE.
|2016-03-22 00:03||Kayaker Magic||New Issue|
|2016-03-22 00:03||Kayaker Magic||File Added: LegSculpts.zip|
|2016-03-22 09:38||vegaslon||Note Added: 0030091|
|2016-06-24 00:45||UbitUmarov||Note Added: 0030729|
|Copyright © 2000 - 2012 MantisBT Group|