There is an issue with mesh uploads in .glb (or .gltf) format. It seems that SL applies all rotation values to the uploaded mesh, which is not good, as this did not happen with the Collada (.dae) format.
When uploading rotated objects, the rotation values of all rotated objects becomes 0,0,0, while the mesh model stays rotated visually. This results in shifted axes on the uploaded mesh, which among other things, makes in-world scaling distorted.
In other words, the object's bounding box don't align properly with the mesh itself.
https://secondlife.canny.io/admin/board/bug-reports/p/corrupted-rotation-values-at-mesh-upload
Test plan
- Test content in https://github.com/secondlife/viewer-private/issues/585
- Upload .glb mesh test object.
- Rez it.
- Open the Edit tools.
- Tick the Edit linked checkbox.
- Select the Stretch radio button.
- Click each one of the boxes in the mesh object. Verify the scaling box is aligned with the selected box.
Like so:
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 #5431 either in the PR description or in a PR's comment.
🪙 Also, everyone can tip any user commenting /tip 20 @canny[bot] (replace 20 with the amount, and @canny[bot] with the user to tip).
📖 If you want to learn more, check out our documentation.
There is an issue with mesh uploads in .glb (or .gltf) format. It seems that SL applies all rotation values to the uploaded mesh, which is not good, as this did not happen with the Collada (.dae) format.
When uploading rotated objects, the rotation values of all rotated objects becomes 0,0,0, while the mesh model stays rotated visually. This results in shifted axes on the uploaded mesh, which among other things, makes in-world scaling distorted.
In other words, the object's bounding box don't align properly with the mesh itself.
https://secondlife.canny.io/admin/board/bug-reports/p/corrupted-rotation-values-at-mesh-upload
Test plan
Like so:
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 #5431either in the PR description or in a PR's comment.🪙 Also, everyone can tip any user commenting
/tip 20 @canny[bot](replace20with the amount, and@canny[bot]with the user to tip).📖 If you want to learn more, check out our documentation.