secondlife / secondlife/viewer
Expose camera position and orientation via LEAP API
Open
@maxim-productengine is already working on this.
Since Apr 17, 2026.
- #6314 by @maxim-productengine — merged
enhancement
LEAP_additions
qa:automation
- Dominant language
- C++
- Stars
- 299
- Forks
- 146
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 88
Description
The viewer automation framework (LEAP/outleap) currently has no way to query the camera's world-space position or orientation. This data is needed for automated tests that verify camera controls (orbit, pan, zoom, presets) produce correct camera movement.
Proposed solution:
Add a LEAP API endpoint (e.g. under LLViewerControl or a new LLCameraAPI) that returns the camera's current state:
{
"position": [x, y, z],
"rotation": [x, y, z, w],
"fov": 1.0471975
}
This could be a query on an existing API or a new "LLViewerCamera" API with a "getCamera" operation.
This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting
/reward 100 (replace 100 with the amount).🕵️♂️ If someone starts working on this issue to earn the rewards, they can comment
/try to let everyone know!🙌 And when they open the PR, they can comment
/claim #5663 either in the PR description or in a PR's comment.🪙 Also, everyone can tip any user commenting
/tip 20 @kurtlinden (replace 20 with the amount, and @kurtlinden with the user to tip).📖 If you want to learn more, check out our documentation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.