secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
209 stars 53 forks source link

GLTF Asset Prototype #1357

Open RunitaiLinden opened 5 months ago

RunitaiLinden commented 5 months ago

Description

Add a button to save LL::GLTF::Asset to disk in a format that would be suitable for use on the asset server.

Don't worry about mesh compression (yet).

Should be able to save asset to a .gltf and a .bin, reload, and view side by side with original with no discrepency.

Textures should be saved as j2c and referenced by uri.

RunitaiLinden commented 5 months ago

Develop->Render Tests->GLTF Scene Preview has been removed

Develop->GLTF has been added and contains three items:

"Open..." -- does what GLTF Scene Preview used to do "Save As..." -- opens a dialog for saving the selected GLTF asset and saves as a single .gltf and .bin or a single .glb "Decompose..." -- opens a dialog for saving the selected GLTF and saves as a single .gtlf, one or more .bins, and one or more images. Images are saved as both their original png/jpg and as a j2c

vladyslavasproductengine commented 3 months ago

Fail QA. Verified on the Second Life Release 7.1.9.9620320242 (64bit) on Win10/OSX in scope secondlife/iqa#266.

  1. "Save as" does not save select format as bin and glb
  2. There is not "Decompose..." item. Now there is the "Upload" item Also, The error "Unable to upload ...." mesage is shown after clicking on the "Upload" item. Capture