Innula Zenovka Posted October 4, 2018 Share Posted October 4, 2018 The wiki explains, of the OBJECT_RENDER_WEIGHT flag to llGetObjectDetails(), that Quote If id is an avatar whose render weight is unknown to the simulator, -1 is returned. Under what circumstances, though, will the avatar's render weight actually be unknown to the simulator? I ask because I'm testing something and I'm getting that result at times and I don't understand what its implications might be. 1 Link to comment Share on other sites More sharing options...
Love Zhaoying Posted October 4, 2018 Share Posted October 4, 2018 (edited) Interesting: The main description says “This is a flag used with llGetObjectDetails to get the Avatar_Rendering_Cost of an avatar, based on values reported by nearby viewers. If no data is available, -1 is returned. The maximum render weight stored by the simulator is 500000. When called against an object, 0 is returned.” The implication is, the server only knows if a viewer has recently reported the rendering cost to the server. That (top of page) description seems more specific than the one you copied from the chart. Helpful? Edited October 4, 2018 by Love Zhaoying Link to comment Share on other sites More sharing options...
Innula Zenovka Posted October 4, 2018 Author Share Posted October 4, 2018 Thanks. I still don't understand the implications, though, since when I've tested the script while alone on a private region, it's returned a result for me. So unless in all cases where I'm getting this result it's for avatars who are out of everyone's draw distance and using text only viewers (which is possible but wildly improbable for where I'm testing) I still don't see why I'm seeing that result as often as I am. Link to comment Share on other sites More sharing options...
Love Zhaoying Posted October 4, 2018 Share Posted October 4, 2018 Maybe..if the non-reported avatars were mostly set to imposters, jelly dolls, or muted, users had SL minimized, etc. server doesn’t choose the “real” value and returns -1? Link to comment Share on other sites More sharing options...
Innula Zenovka Posted October 4, 2018 Author Share Posted October 4, 2018 But set to imposters, jelly dolls or muted by whom? I'm testing in a busy region, with a script that simply runs through llGetAgentList and checks for each avatar on the list. 1 Link to comment Share on other sites More sharing options...
KT Kingsley Posted October 4, 2018 Share Posted October 4, 2018 I've only given this a cursory examination, but the few times I've had "unknown" returned have been either for a very recent arrival in the region or for an agent in a hidden parcel. 1 2 Link to comment Share on other sites More sharing options...
ChinRey Posted October 10, 2018 Share Posted October 10, 2018 (edited) On 10/5/2018 at 12:05 AM, Love Zhaoying said: Interesting: The main description says “This is a flag used with llGetObjectDetails to get the Avatar_Rendering_Cost of an avatar, based on values reported by nearby viewers. If no data is available, -1 is returned. That is no longer true. The value used to be the average of data from all agents in the region and in adjacent regions but it was changed recently. Some tests I've done indicate that an agent's OBJECT_RENDER_WEIGHT now is based solely on info from that agent's viewer. I have to emphasize though, that the calculated render weight, whether it's directly from the viewer or via an lsl script, is seriously compromised by a number of errors and not in any way a reliable indicator of an avatar's actual render cost. For a start, the calculation does not take the fitmesh LoD bug into account, and that error alone can easily alter the result by a factor of tens, hundreds and even thousands. Edited October 10, 2018 by ChinRey 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now