secondlife / jira-archive

2 stars 0 forks source link

[BUG-234981] Featuer Request: Increase attachment position max distance for HUDs to accommodate outputs returned by llWorldPosToHUD() in wide window aspect ratio environments. #11801

Closed sl-service-account closed 4 months ago

sl-service-account commented 5 months ago

Information

After testing llWorldPosToHUD(), I noticed an issue when positioning HUD roots that were attached to Top Left, Top Right, Bottom Left or Bottom Right.

These 4 attach points have their zero vector attach positions in the corners of the screen.

This means in order to move an HUD to an opposite(diagonal) corner, they need to move the minimum magnitude of <0.0, window ratio, 1.0>.

If this magnitude is greater than the current 3.5m max distance limit, then correct HUD placement can not happen.

An example, in a window with a ratio of 4.0, such as one in a cinematic or dual/tri monitor environment, the distance to an opposite corner is 4.123106 meters.

The current 3.5m distance limit is enforced by the viewer through the UI, but also at the server with calls from LSL.

I request that this limit be raised to either a static value that will accommodate most wide window ratios or to max(3.5, vecmag(<0.0, window ratio, 1.0>)).

Thanks.

Original Jira Fields | Field | Value | | ------------- | ------------- | | Issue | BUG-234981 | | Summary | Featuer Request: Increase attachment position max distance for HUDs to accommodate outputs returned by llWorldPosToHUD() in wide window aspect ratio environments. | | Type | New Feature Request | | Priority | Unset | | Status | Closed | | Resolution | Unactionable | | Reporter | Lucia Nightfire (lucia.nightfire) | | Created at | 2024-01-15T03:04:17Z | | Updated at | 2024-01-26T02:58:57Z | ``` { 'Build Id': 'unset', 'Business Unit': ['Platform'], 'Date of First Response': '2024-01-25T20:58:57.620-0600', 'How would you like the feature to work?': '?', 'ReOpened Count': 0.0, 'Severity': 'Unset', 'Target Viewer Version': 'viewer-development', 'Why is this feature important to you? How would it benefit the community?': '?', } ```
sl-service-account commented 5 months ago

Kyle Linden commented at 2024-01-26T02:58:58Z

Issue copied, for further review, to https://feedback.secondlife.com/feature-requests/p/featuer-request-increase-attachment-position-max-distance-for-huds-to-accommodat