Commit Graph

29 Commits (e935a8aebca4ae014b5f6b438612ac5674678fe6)

Author SHA1 Message Date
Ansariel f03cd219a9 Fix clang compiler issues due to unused variables 2025-08-12 14:09:53 +00:00
Andrey Kleshchev f338b91f7c #4483 Fix gltf not opening unicode paths 2025-08-04 18:20:50 +03:00
Maxim Nikolenko 136149d1a1
#4191 skip loading model compressed with Draco 2025-05-30 03:06:33 +03:00
Maxim Nikolenko be40d20bca
#4190 provide unsupported extension info in log 2025-05-29 20:20:29 +03:00
Maxim Nikolenko 0d99487d46
#4107 upload the model ignoring unsupported extension 2025-05-27 20:28:00 +03:00
Jonathan "Geenz" Goodman 3670cf64eb White space. 2025-05-21 21:04:14 -04:00
Jonathan "Geenz" Goodman 30aa14d0b3 Make loading the asset into VRAM optional. 2025-05-21 21:00:06 -04:00
Jonathan "Geenz" Goodman 30b72ba410 Make sure we're guarding texture uploads to the GPU properly
If we're not loading a texture, most of this should not be necessary.
2025-05-21 20:43:45 -04:00
Jonathan "Geenz" Goodman 18182b137a Fix for crash when loading texutres on a GLTF mesh. 2025-05-21 20:09:15 -04:00
Jonathan "Geenz" Goodman c8499b7f01 GLTF WIP. Still working on getting transforms working proper and need to figure out our indices. 2025-04-08 13:51:21 -04:00
Dave Parks 98941831e4
Fix for GLTF scenes not uploading (#1994) 2024-07-11 11:36:36 -05:00
Ansariel 9fdca96f8b Re-enable compiler warnings C4244 and C4396 except for lltracerecording.h and llunittype.h for now 2024-07-08 20:27:14 +02:00
Dave Parks 08b933a0c6
#1870 Tune up for better experience on integrated intel with low memory (#1872)
* More deterministic vsize calculation.   Add control for choosing downscale method.
* Quick hack to make GLTF preview work again
2024-07-03 17:42:24 -05:00
Dave Parks 80ea30af1a
#1769 gltf optimization pass (#1816)
#1814 and #1517 Fix mirror update rate and occlusion culling
2024-06-21 13:13:08 -05:00
Dave Parks f40fbdf4ad
#1718 Add GLTF support for multiple texcoords (#1720)
* Fix for GLTF MeshPrimitiveModes test
2024-06-11 17:10:13 -05:00
Dave Parks 429c92ad75
#1687 Add support for KHR_texture_transform (#1717) 2024-06-11 13:27:54 -05:00
Dave Parks 4522f33d2b
#1677 Add GLTF extensions serialization and support for KHR_materials_unlit (#1686) 2024-06-10 16:57:31 -05:00
RunitaiLinden e279aae51a #1597 Fix for some GLTF transforms not loading properly.
Also incidental fix for unreachable code error.
2024-05-30 13:42:27 -05:00
Dave Parks 15fd13f830
#1530 Increase joint limit for GLTF Assets (#1582)
* Migrate GLTF scene rendering to its own shaders
* Add support for ambient occlusion map separate from metallic roughness map (or absent)
* Use UBO's for GLTF joints
* Better error handling of downloading GLTF assets
2024-05-29 16:56:39 -05:00
Dave Parks 2f41200384
Remove tinygltf dependency from LL::GLTF (#1541)
* #1535 Image loading/saving support in boost::json driven GLTF parser
* #1536 GLB Support in boost::json drvien GLTF parser
2024-05-28 09:45:40 -05:00
Dave Parks 03c4458bdc
#1392 GLTF Upload (#1394)
* #1392 WIP -- Functional texture upload, stubbed out .bin upload.

* #1392 GLTF Upload WIP -- Emulates successful upload

Successfully uploads texture
Emulates successful .gltf and .bin upload by injecting into local asset cache.
Emulates rez from inventory by setting sculpt ID of selected object
Currently fails in tinygltf parsing due to missing .bin

* Add missing notification

* Build fix

* #1392 Add boost::json .gltf reading support.

* #1392 boost::json GLTF writing prototype

* Create gltf/README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* #1392 Add ability to render directly from LL::GLTF::Material

* Fix for mac build

* Mac build fix

* #1392 AssetType and Inventory Type plumbing

* #1392 More sane error handling and scheduling of uploads.

* #1392 Actually attempt to upload glbin

* Mac build fix, upload nudge

* Mac build fix

* Fix glTF asset uploads to server

* Mac build fix (inline not static)

* More consistent inline

* Add glm, mac nudge.

* #1392 For consistency with spec, start using glm over glh:: and LLFoo

* Another attempt at placating Mac builds

* Another Mac nudge

* Mac build take 23

* #1392 Prune LLMatrix4a from GLTF namespace.

* #1392 Fix for orientation being off (glm::quat is wxyz, not xyzw)

* #1392 WIP -- Actually send the sculpt type and id, nudge readme and alpha rendering

* #1392 Working download!

* #1394 Add support for GLTFEnabled SimulatorFeature

* #1392 Review feedback

---------

Co-authored-by: Pepper Linden <3782201+rohvani@users.noreply.github.com>
2024-05-20 13:22:55 -05:00
Ansariel 799ebf2162 Fix broken merge and BOOL/bool issues 2024-05-10 15:16:06 +02:00
RunitaiLinden a701cce8e0 #1357 Preserve asset "extras" and switch to std::shared_ptr for referencing Asset from LLViewerObject to cut down rebuild time 2024-05-01 09:51:32 -05:00
RunitaiLinden 170765fd35 #1357 Proof of concept on decomposing a GLTF scene into its component parts 2024-04-30 21:57:42 -05:00
RunitaiLinden 5e2bac01cb #1357 GLTF Export Prototype 2024-04-30 17:26:48 -05:00
RunitaiLinden cadc1a02cc
1285 GLTF Animation Prototype 2024-04-24 09:51:15 -05:00
RunitaiLinden bc93177ea0
1176 integrate llgltfnode with selection manager and llmaniptranslate/rotate (#1258)
* #1176 Somewhat working GLTF Node support for translate tool

* #1176 Missing file from last commit

* #1176 Better translation for rotated nodes.

* #1176 Fix for objects snapping back to original position

* #1176 GLTF Samples compatibility pass -- attempt at improving rotation manip support, incidental cleanup, GLTF node debug display

* #1176 Clean out some unused and not working functions.

* #1176 Fix for mac build, incidental cleanup

* Mac build fix
2024-04-17 16:12:49 -05:00
RunitaiLinden 720f7d7ef5
Fix mac build (#1182)
* Fix mac build

* Mac build take 2

* Mac build take 3
2024-04-10 11:25:07 -05:00
RunitaiLinden b2a450a308
#1126 gltf scene import prototype (#1172)
* #1126 GLTF Scene import initial prototype (working geometry import for some assets)

* #1126 WIP -- Expand support for more vertex formats, PoC material import, shadow support, scale support

* #1126 move GLTF implementation to newview/gltf

* #1126 Refactor attribute loading to be less copy/pasta for each combination of types

* #1126 Partially working object selection.  Ability to have multiple scenes at once.  Helpful message on how to use the preview button.

* #1126 Add bounding box debug display and untangle GLTF raycast from LLVOVolume raycast

* #1126 Working raycast on GLTF scenes.

* #1126 Remove some #pragma optimize offs
2024-04-09 19:21:10 -05:00