Commit Graph

811 Commits (c847a5eaac635604a2490872c0ee8cc947273cf5)

Author SHA1 Message Date
Jonathan "Geenz" Goodman 2cdcd336ba
Merge pull request #4783 from RyeMutt/rye/convexdecomp
Introduce initial VHACD based llconvexdecomposition library
2025-10-10 17:17:25 -04:00
Aqil Ahmad 5fe152cfea
Fix #4195: Preserve transforms when switching PBR materials (#4725)
Fixes texture transforms being reset when switching from Blinn-Phong to PBR materials and between PBR. Previously, custom scale, offset, and rotation settings would be lost, making it tedious to switch between PBR materials.
2025-10-06 16:52:33 +03:00
Rye b277cc6a8f Initial VHACD based llconvexdecomposition 2025-10-03 09:51:03 -04:00
Rye ba30737d8f Merge branch 'develop' of github.com:secondlife/viewer into rye/infinitemac 2025-08-20 18:04:55 -04:00
Rye 77514ebddd Fix macOS deprecation warnings 2025-08-19 08:58:49 -04:00
Andrey Kleshchev ce9d66cdd1 Merge branch develop into 2025.06
# Conflicts:
#	indra/newview/llvoavatar.cpp
2025-08-06 16:05:19 +03:00
Andrey Kleshchev 472ea3b49a #4393 Handle unknown exceptions in uploader better
Output is highly technical, but better than nothing
2025-07-22 21:49:19 +03:00
Andrey Kleshchev d84897967e #4318 Warn or log when texture gets scaled down
for material and model upload
2025-07-22 19:16:26 +03:00
Andrey Kleshchev 8df303ed85 #4399 Crash at load_face_from_dom_triangles
Since these offsets are used for idx[i+offset] where i starts from 0,
they shouldn't be below 0 to not go out of bounds.
2025-07-21 23:12:44 +03:00
Andrey Kleshchev 60425f69f7 #4314 Fix model suffixes
Usecase: Unable to use the same GLB model for physics
2025-07-08 23:13:19 +03:00
Andrey Kleshchev ecf220f1b8 #4242 Debug dump improvement #2 2025-07-04 00:24:30 +03:00
Andrey Kleshchev 5a0bbdc510 #4242 Debug dump improvement
for better comparison with collada output
2025-07-03 00:32:58 +03:00
Andrey Kleshchev 76dd9385f9 #4315 Crash in GLTF uploader
Properly handle importer's crashes in general
2025-07-02 01:40:50 +03:00
Ansariel 75db5e8b6b Revert "Fix LLCharacter base class constness." and restore improvements from 10a324a103 instead 2025-06-28 19:31:02 +02:00
Andrey Kleshchev c404b93759 #4148 Fix collision bones 2025-06-25 09:28:51 +03:00
Andrey Kleshchev f5320302d4 #4214 Revert and remake "weights remap"
This reverts commits fe10a83f69
and 08f6f5c697fce4ccbfba357ab9ce5af915dd0574..
2025-06-19 20:50:29 +03:00
Andrey Kleshchev 5bc92322e9 #4250 Crash uploading a dae model 2025-06-19 18:54:03 +03:00
Andrey Lihatskiy 98abff90a7 #4248 Add safety checks to LLMeshSkinInfo::asLLSD() 2025-06-11 00:49:22 +03:00
Andrey Kleshchev 08f6f5c697 #4214 Weights and Joints remap 2025-06-05 01:14:50 +03:00
Andrey Kleshchev 4c60231c3f #4080 Rigged mesh support #6
For now not touching normalizeVolumeFaces() to not brick dae upload
2025-05-28 20:19:11 +03:00
Andrey Kleshchev 875a418080 #4080 Import GLTF skin data 2025-05-19 20:40:19 +03:00
Jonathan "Geenz" Goodman 47a5c7a413 Make sure we're pushing to the joints name set as well. 2025-05-05 16:12:26 -04:00
Jonathan "Geenz" Goodman dd74b361e3 Fix import rotation and UVs 2025-05-04 23:40:10 -04:00
Andrey Lihatskiy 06a76eda6a Merge branch 'develop' into marchcat/05-develop 2025-04-15 22:19:15 +03:00
Andrey Lihatskiy 5d7a5001b4 Merge commit '9e24b30' into marchcat/maint-c/restore
# Conflicts:
#	indra/llmath/v2math.cpp
#	indra/llmath/v2math.h
#	indra/llmath/v3math.h
#	indra/llmath/v4math.h
#	indra/llui/llfolderviewitem.cpp
#	indra/llui/llfolderviewitem.h
#	indra/llui/llfolderviewmodel.h
#	indra/llui/llmodaldialog.cpp
#	indra/llui/lltexteditor.cpp
#	indra/llui/lltexteditor.h
#	indra/llwindow/llwindowwin32.cpp
#	indra/newview/llagent.cpp
#	indra/newview/llagentcamera.h
#	indra/newview/llavatarrenderinfoaccountant.cpp
#	indra/newview/llconversationmodel.h
#	indra/newview/llfloaterinventorysettings.cpp
#	indra/newview/llfloaternamedesc.cpp
#	indra/newview/llfloaternamedesc.h
#	indra/newview/llfloaterobjectweights.cpp
#	indra/newview/llfloaterobjectweights.h
#	indra/newview/llfolderviewmodelinventory.h
#	indra/newview/llinspecttexture.cpp
#	indra/newview/llinventorybridge.cpp
#	indra/newview/llinventorybridge.h
#	indra/newview/llinventoryfunctions.cpp
#	indra/newview/llinventorygallery.h
#	indra/newview/llinventorygallerymenu.cpp
#	indra/newview/llinventorymodel.cpp
#	indra/newview/llinventorypanel.cpp
#	indra/newview/llinventorypanel.h
#	indra/newview/llmaterialeditor.cpp
#	indra/newview/lloutfitgallery.cpp
#	indra/newview/lloutfitgallery.h
#	indra/newview/lloutfitslist.cpp
#	indra/newview/lloutfitslist.h
#	indra/newview/llpanelgroupcreate.cpp
#	indra/newview/llpanelgroupgeneral.cpp
#	indra/newview/llpanelobjectinventory.cpp
#	indra/newview/llpaneloutfitsinventory.h
#	indra/newview/llpanelprofile.cpp
#	indra/newview/llpanelwearing.cpp
#	indra/newview/llreflectionmap.cpp
#	indra/newview/llselectmgr.cpp
#	indra/newview/llsidepanelappearance.cpp
#	indra/newview/llsidepaneliteminfo.cpp
#	indra/newview/llteleporthistorystorage.cpp
#	indra/newview/lltexturectrl.cpp
#	indra/newview/lltexturectrl.h
#	indra/newview/lltexturefetch.cpp
#	indra/newview/lltexturefetch.h
#	indra/newview/llviewerassetupload.cpp
#	indra/newview/llviewercamera.cpp
#	indra/newview/llviewercamera.h
#	indra/newview/llviewermenufile.cpp
#	indra/newview/llviewerobject.h
#	indra/newview/llviewertexture.cpp
#	indra/newview/llviewerwindow.cpp
#	indra/newview/llvoavatar.cpp
#	indra/newview/llvoavatar.h
#	indra/newview/llvoavatarself.cpp
#	indra/newview/llvovolume.cpp
#	indra/newview/llvovolume.h
#	indra/newview/tests/llviewerassetstats_test.cpp
2025-04-10 06:01:50 +03: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
Rider Linden 99a9258d52 Issue #2687: Honor flag sent by server indicating server side autopilot is engaged. When flag is set allow sever to update local avatar rotation. 2025-02-26 15:47:53 -08:00
Andrey Kleshchev 934833ba97 viewer#3126 Crash at LLDAELoader::processElement 2024-11-22 15:38:53 +02:00
Brad Linden da341eb2da
cherry pick secondlife/viewer#912 BugSplat Crash 1412267: nvoglv64+0xadcd00 (#2785)
* secondlife/viewer#912 BugSplat Crash 1412267: nvoglv64+0xadcd00
* fix cherry-pick merge breakage.
* Fix signed/unsigned error

---------

Co-authored-by: Alexander Gavriliuk <alexandrgproductengine@lindenlab.com>
2024-10-04 14:16:04 -07:00
Dave Parks 486613e79b
Profile guided optimization pass (#2582)
- Tune up LLJointRiggingInfoTab
- Visualize joint bounding boxes when visualizing joints
- Use LLJointRiggingInfo to caclulate desired resolution of a texture
- Throttle calls to calcPixelArea
- Fetch MeshSkinInfo immediately when header is received
2024-09-16 18:49:03 -05:00
Rye Mutt b713f56d07
Replace glh_linear usage with GLM (#2554) 2024-09-12 11:22:10 -05:00
Rye Mutt 8fef55b3b2
Remove or suppress left over debug messages in hot paths (#2392) 2024-08-22 07:43:50 +03:00
Rye Mutt b5e306f7d8
Enable /permissive- on MSVC for better standards conformance (#2251)
* Enable /permissive- on MSVC for better C++ conformance and fix related errors

* Clean up left over warning suppressions from old library or msvc versions
2024-08-14 08:01:02 -07:00
Rye Mutt 05fd13f896
Remove dead pcre library dependency (#2177) 2024-08-02 13:29:28 +03: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
Rye Mutt 1296afd96a Reduce LLSD::Binary temporaries 2024-07-05 02:56:25 -04:00
Andrey Kleshchev 6b251fb7a4 viewer#1781 More detailed model upload errors for textures
Show filename of a specific texture
2024-06-17 17:19:12 +03:00
Brad Linden 8444cd9562 Fix whitespace pre-commit hook failures 2024-06-12 13:51:21 -07:00
Brad Linden 9775d7ea10 Merge remote-tracking branch 'origin/release/maint-a' into project/gltf_development 2024-06-11 17:42:17 -07:00
Ansariel 1ebf62e102 Clean up line endings that got mangled up during last merge 2024-06-11 15:40:09 +02:00
Ansariel d9789bfaf2 Merge branch 'main' of https://github.com/secondlife/viewer into DRTVWR-600-maint-A
# Conflicts:
#	indra/llappearance/llavatarappearance.h
#	indra/llimage/llimage.cpp
#	indra/llmath/llvolume.cpp
#	indra/llmath/llvolume.h
#	indra/llprimitive/llgltfmaterial.h
#	indra/llrender/llrendertarget.cpp
#	indra/llrender/llshadermgr.cpp
#	indra/newview/lldynamictexture.cpp
#	indra/newview/llenvironment.cpp
#	indra/newview/llfetchedgltfmaterial.cpp
#	indra/newview/llfloaterimagepreview.cpp
#	indra/newview/llfloaterimagepreview.h
#	indra/newview/llfloaterregioninfo.cpp
#	indra/newview/llfloaterregioninfo.h
#	indra/newview/llmaniprotate.cpp
#	indra/newview/llmaniptranslate.cpp
#	indra/newview/llpanelvolume.cpp
#	indra/newview/llselectmgr.cpp
#	indra/newview/llselectmgr.h
#	indra/newview/llsurface.cpp
#	indra/newview/llsurface.h
#	indra/newview/llsurfacepatch.cpp
#	indra/newview/lltexturectrl.cpp
#	indra/newview/lltexturectrl.h
#	indra/newview/lltinygltfhelper.cpp
#	indra/newview/llviewertexture.cpp
#	indra/newview/llviewerwindow.cpp
#	indra/newview/llviewerwindow.h
#	indra/newview/llvlcomposition.cpp
#	indra/newview/llvlcomposition.h
#	indra/newview/llvocache.cpp
#	indra/newview/llvovolume.cpp
#	indra/newview/pipeline.cpp
2024-06-11 13:38:43 +02:00
Brad Linden 7c42711ca3 Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into project/gltf_development 2024-06-10 16:22:12 -07:00
Andrey Lihatskiy c95b4bf3ea Post-merge - trim trailing whitespace 2024-06-10 20:45:59 +03:00
Ansariel 4b52dd754b Fix incorrect use of VX/VY/VZ/VW indices when color components are accessed 2024-06-10 19:30:17 +03:00
Ansariel c0fad3028f Re-enable compiler warnings C4018, C4100, C4231 and C4506 2024-06-10 16:42:43 +02:00
Cosmic Linden 6de0086ae9 secondlife/viewer#1475: Add PBR terrain repeats editing 2024-06-07 18:14:32 -07:00
Ansariel b42f9d836b Re-enable a lot of compiler warnings for MSVC and address the C4267 "possible loss of precision" warnings 2024-06-01 15:49:26 +02:00
Ansariel cb3bd8865a Fix a bunch of uninitialized variable warnings that showed up in Visual Studio 2024-05-30 15:41:36 +02:00
Brad Linden 9f6849e081 Merge remote-tracking branch 'origin/project/gltf_development' into brad/merge-maint-a-to-dev 2024-05-23 11:35:23 -07:00
Brad Linden a1f49564d6 Merge remote-tracking branch 'origin/DRTVWR-600-maint-A' into brad/merge-maint-a-to-dev 2024-05-23 11:31:19 -07:00