Jump to content
Sign in to follow this  
LindaB Helendale

Mesh LOD scheme LI calculator in-world

Recommended Posts

I made a simple in-world calculator to see the effect of mesh LOD reduction scheme on Download Cost in Land Impact. It prints a table of total LI and the contribution of each LOD on the LI for different mesh radii.

The script is here: http://wiki.secondlife.com/wiki/User:LindaB_Helendale/meshLODschemeCalculator

 

Note (or caveat actually):

Download cost depends on the byte size of each LOD in the asset server, including the vertex and face data, UV vertices and faces, etc, and the data is compressed by gzip. In general it's not easy to know those numbers, but roughly the triangle counts are on the same order of magnitude as the numbers used in this script. The LI results should be taken as relative, showing the relative contribution of different LODs and the effect of the mesh scale for a given scheme, such as 2000 : 500 : 120 : 60.

To see the actual mesh LOD sizes in the asset server for an uploaded mesh, to get absolute LI values, see http://wiki.secondlife.com/wiki/User:LindaB_Helendale/getMeshLODsize

Partly the same information this script prints can be found in Drongle McMahon's graphs for some LOD schemes http://community.secondlife.com/t5/Mesh/Download-weight-and-size-Some-graphs/m-p/1058609#M5642 while this script lets you display any LOD scheme.

  • Like 2

Share this post


Link to post
Share on other sites

Another good one. Can I suggest a combination with the previous script? So that would be a script that you drop into a mesh and then you could ask how  the download weight would change if you reduced LODX data by y%. It would use the previous mechanism to calculate the data sizes, then the new mechanism to predict download weight after modification. That way you can interrogate the effectiveness of different optimisations on an actual prototype object.  Probably nice to be able to change more than one LOD. You could even have it  take the existing physics cost into account to warn when that becomes limiting, and allow that to be changed too.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...