Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

[BUG-225815] [Animesh] - Much needed Animesh specific constants for llGetObjectDetails(). #4524

Open
sl-service-account opened this issue Nov 15, 2018 · 0 comments

Comments

@sl-service-account
Copy link

Information

Now that Animesh has been released we should focus on giving users access to much needed data to aid in the creation process.

Here are a few critical constants for llGetObjectDetails():

OBJECT_ANIMATED_COUNT - When targeting an object returns 1 if "Animated Mesh" is checked on the root else returns 0. When targeting an agent returns the number of worn Animesh attachments.

OBJECT_ANIMATED_SLOTS_AVAILABLE - When targeting an object, returns 0. When targeting an agent, returns the number of Animesh objects the agent can attach. Data returned does NOT reference current number of non-Animesh attachments, nor max attachments. It strictly takes the max number of Animesh objects the agent can attach and subtracts the number of Animesh objects they are wearing. OBJECT_ATTACHED_SLOTS_AVAILABLE will have to be used to determine overall number of attach slots available.

This data is needed for applications that attach or temp attach Animesh objects, before/after rez or from ground to know if the attaching will be successful or not especially now that the number of animesh attachment allowance can vary.

OBJECT_TOTAL_ESTIMATED_TRIANGLES - When targeting an object, returns the high LOD triangle total for all links. When targeting an agent, returns the high LOD estimated triangle total for all visible objects worn.

This data is needed to determine whether manual/scripted linking of rigged mesh to Animesh objects will succeed or not due to tri count caps.

OBJECT_TOTAL_CHARGED_TRIANGLES - When targeting an object, returns the charged estimated triangle total for all links. When targeting an agent, returns the charged estimated triangle total for all visible objects worn.

This data is needed to aid applications in calculating land impact before manual/scripted linking and to show if and where an abundance in triangles exists in the MED,LOW,LOWEST LOD ranges. Generally, if CHARGED does not equal ESTIMATED, an abundance exists somewhere in the linkset.

Discussion and/or comments welcome. Thanks in advance for any consideration.

Original Jira Fields
Field Value
Issue BUG-225815
Summary [Animesh] - Much needed Animesh specific constants for llGetObjectDetails().
Type New Feature Request
Priority Unset
Status Accepted
Resolution Accepted
Reporter Lucia Nightfire (lucia.nightfire)
Created at 2018-11-15T10:59:36Z
Updated at 2019-06-23T12:39:16Z
{
  'Build Id': 'unset',
  'Business Unit': ['Platform'],
  'How would you like the feature to work?': 'Now that Animesh has been released we should focus on giving users access to much needed data to aid in the creation process.\r\n\r\nHere are a few critical constants for llGetObjectDetails():\r\n\r\nOBJECT_ANIMATED_COUNT - When targeting an object returns 1 if "Animated Mesh" is checked on the root else returns 0. When targeting an agent returns the number of worn Animesh attachments.\r\n\r\nOBJECT_ANIMATED_SLOTS_AVAILABLE - When targeting an object, returns 0. When targeting an agent, returns the number of Animesh objects the agent can attach. Data returned does NOT reference current number of non-Animesh attachments, nor max attachments. It strictly takes the max number of Animesh objects the agent can attach and subtracts the number of Animesh objects they are wearing. OBJECT_ATTACHED_SLOTS_AVAILABLE will have to be used to determine overall number of attach slots available.\r\n\r\nThis data is needed for applications that attach or temp attach Animesh objects, before/after rez or from ground to know if the attaching will be successful or not.\r\n\r\nOBJECT_TOTAL_ESTIMATED_TRIANGLES - When targeting an object, returns the high LOD triangle total for all links. When targeting an agent, returns the high LOD estimated triangle total for all visible objects worn.\r\n\r\nThis data is needed to determine whether manual/scripted linking of rigged mesh to Animesh objects will succeed or not due to tri count caps.\r\n\r\nOBJECT_TOTAL_CHARGED_TRIANGLES - When targeting an object, returns the charged estimated triangle total for all links. When targeting an agent, returns the charged estimated triangle total for all visible objects worn.\r\n\r\nThis data is needed to aid applications in calculating land impact before manual/scripted linking and to show if and where an abundance in triangles exists in the MED,LOW,LOWEST LOD ranges. Generally, if CHARGED does not equal ESTIMATED, an abundance exists somewhere in the linkset.\r\n\r\nDiscussion and/or comments welcome. Thanks in advance for any consideration.',
  'Original Reporter': 'Lucia Nightfire (lucia.nightfire)',
  'ReOpened Count': 0.0,
  'Severity': 'Unset',
  'Target Viewer Version': 'viewer-development',
  'Why is this feature important to you? How would it benefit the community?': '?',
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant