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.
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:
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(replace100with the amount).🕵️♂️ If someone starts working on this issue to earn the rewards, they can comment
/tryto let everyone know!🙌 And when they open the PR, they can comment
/claim #5663either in the PR description or in a PR's comment.🪙 Also, everyone can tip any user commenting
/tip 20 @kurtlinden(replace20with the amount, and@kurtlindenwith the user to tip).📖 If you want to learn more, check out our documentation.