summaryrefslogtreecommitdiff
path: root/indra/llprimitive
AgeCommit message (Collapse)Author
2025-07-29Merge tag 'Second_Life_Release#288bce10-2025.05' into 2025.05Erik Kundiman
2025-07-22#4393 Handle unknown exceptions in uploader betterAndrey Kleshchev
Output is highly technical, but better than nothing
2025-07-22#4318 Warn or log when texture gets scaled downAndrey Kleshchev
for material and model upload
2025-07-21#4399 Crash at load_face_from_dom_trianglesAndrey Kleshchev
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-18Merge tag 'Second_Life_Release#f5d350fb-2025.05-gltf-mesh-import' into 2025.05Erik Kundiman
2025-07-18Merge branch 'main' into 2025.05Erik Kundiman
2025-07-08#4314 Fix model suffixesAndrey Kleshchev
Usecase: Unable to use the same GLB model for physics
2025-07-07Get the viewer installable on Debian arm64Erik Kundiman
The Debian version supported is 13 (trixie), because that's the version I could install on my M1, hence the Boost default version is 1.83 & we can use system's OpenJPEG 2.5.3. Somehow CMake's FindOpenGL wasn't effective, but we can get around this by setting the GL libraries paths when running cmake. Debian aarch64 suffers from the same problem Fedora aarch64 had when compiling libcurl, and it's assumed that it's Linux aarch64 thing. When trying to build ColladaDOM when building the viewer, it couldn't find Boost somehow, so building ColladaDOM is done in configuration stage instead. Upstream Variables.cmake is full of assumptions regarding architecture, and ARCH is used in many places already for Debian/Ubuntu, so we have to make sure ARCH is set with the correct value at the root level. Pipewire on trixie is also too new, so it's cancelled here. Some dependencies have the t64 suffixes on them, just like the currently supported Ubuntu (because I guess 24.04 *is*, based on trixie). The executable still crashes when launched on my M1, however, but we'll commit the progress so far for now.
2025-07-04#4242 Debug dump improvement #2Andrey Kleshchev
2025-07-03Merge tag 'Second_Life_Project#900516a4-glTF_Mesh_Import' into gltf_mesh_importErik Kundiman
2025-07-03Merge tag 'Second_Life_Project#bca9ba9b-glTF_Mesh_Import' into gltf_mesh_importErik Kundiman
2025-07-03#4242 Debug dump improvementAndrey Kleshchev
for better comparison with collada output
2025-07-02#4315 Crash in GLTF uploaderAndrey Kleshchev
Properly handle importer's crashes in general
2025-06-28Revert "Fix LLCharacter base class constness." and restore improvements from ↵Ansariel
10a324a1034c177b95545ac7ffaa6aa6abed65ff instead
2025-06-25#4148 Fix collision bonesAndrey Kleshchev
2025-06-24Merge tag 'Second_Life_Project#1a6e3286-GLTF_Mesh_Import' into gltf_mesh_importErik Kundiman
2025-06-19#4214 Revert and remake "weights remap"Andrey Kleshchev
This reverts commits fe10a83f69bb26eb581e143fb99c1250c355938b and 08f6f5c697fce4ccbfba357ab9ce5af915dd0574..
2025-06-19#4250 Crash uploading a dae modelAndrey Kleshchev
2025-06-11#4248 Add safety checks to LLMeshSkinInfo::asLLSD()Andrey Lihatskiy
2025-06-05#4214 Weights and Joints remapAndrey Kleshchev
2025-05-30Merge remote-tracking branch 'secondlife/project/gltf-mesh-import' into ↵Erik Kundiman
gltf-mesh-import
2025-05-28#4080 Rigged mesh support #6Andrey Kleshchev
For now not touching normalizeVolumeFaces() to not brick dae upload
2025-05-22Merge branch 'main' into 2025.04Erik Kundiman
2025-05-19#4080 Import GLTF skin dataAndrey Kleshchev
2025-05-12Not redeclare DOM/DAE classes in any conditionErik Kundiman
They haven't been used anyway because of LL_USESYSTEMLIBS (before), and it still works even though we reverted to using LL's fork in ColladaDOM's case, by building the fork instead of using any system library vanilla version.
2025-05-12Not rely on LL_USESYSTEMLIBS for choosing zlib implErik Kundiman
with the effect of choosing zlib over zlib-ng in any condition, which has been the case so far. But this opens the way to relying on some other condition, such as which platform, for deciding whether we can use zlib-ng or not, instead of zlib. So we can freely use, for example LL's prebuilt, zlib-ng while still using system libraries for others.
2025-05-05Make sure we're pushing to the joints name set as well.Jonathan "Geenz" Goodman
2025-05-04Fix import rotation and UVsJonathan "Geenz" Goodman
2025-04-19Merge tag 'Second_Life_Release#9a333e65-2025.04' into 2025.04Erik Kundiman
2025-04-08GLTF WIP. Still working on getting transforms working proper and need to ↵Jonathan "Geenz" Goodman
figure out our indices.
2025-04-07Make it build & install, USING Portage, on GentooErik Kundiman
Gentoo uses lib64, just like Fedora, and has libexec too. The necessary step to install dependencies is part of the ebuild script now (tracked in another repo, ebuild.git). One thing I forgot to mention on the commit in that ebuild repo is, unzip.h is provided on Gentoo only by minizip, and not minizip-ng cause somehow the (minizip) "compat" USE flag couldn't be turned on somehow, and there was no "minizip" (without -ng) package on Gentoo, but it was achievable by setting the "minizip" USE flag on the zlib (again, without -ng) package. The queue header inclusion is needed cause its absence would cause the compiling to fail on Portage (though it compiled when building the viewer manually without Portage). Also, using the prebuilt Meshoptimizer caused some linking errors when using Portage (though, again, it linked when building the viewer manually without Portage), hence Meshoptimizer is built from source as part of the CMake configuration on Gentoo, differing from fellow Linux distros. Now Collada DOM, firstly the unpack destination directory is moved to inside the build directory now, to make it uniform with other 3rd-party files, just for less confusion. Secondly, since the patching that takes effect is the one done by Portage, it would kill the process when there are offending failed patchings (ones that generate .rej, reject files), and they are the vcxproj patchings which aren't used anyway. Thirdly, the hash checking on the downloaded file, that would fail anyway since Portage doesn't allow any downloading that isn't part of the ebuild, unfortunately has to be skipped so the emerge process wouldn't be killed just because of it. Ebuild has its own sum checking (though this means this particular file is not checked on other platforms, but other files aren't checked either anyway yet). Last but not least, the XDG Application category is removed because it's considered deprecated by Portage, though not fatal, but the viewer is already shown well in the Internet (Network) submenu anyway on unix desktops.
2025-03-05Bump collada-dom version to v2.3-r8 plus alpha.Hiroo Ono
2025-02-26Issue #2687: Honor flag sent by server indicating server side autopilot is ↵Rider Linden
engaged. When flag is set allow sever to update local avatar rotation.
2024-11-26Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into ↵Erik Kundiman
2024.09-ExtraFPS
2024-11-22viewer#3126 Crash at LLDAELoader::processElementAndrey Kleshchev
2024-10-22Merge branch 'main' into 2024.09-ExtraFPSErik Kundiman
2024-10-22Revert "LL physics extensions stub"Erik Kundiman
This reverts commit 45b9eed30320c6281efcfb748098a8789b15f15f.
2024-10-21Merge branch 'main' into 2024.09-ExtraFPSErik Kundiman
2024-10-20Working Arch port but CEF & WebRTC are still brokenErik Kundiman
I've tried using FMOD instead, but CEF didn't work either. At first I used crow-misia's WebRTC build but it would cause a segmentation fault, but LL's build seems to break CEF. Gotta find a way so CM's build doesn't crash the viewer. PKGBUILD should be moved to indra/newview as an .in to be configured by CMake for dynamic version numbers, and adjust the instruction too to run makepkg -R from the folder where the generated PKGBUILD will be.
2024-10-18Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into ↵Erik Kundiman
2024.09-ExtraFPS
2024-10-18Merge remote-tracking branch 'secondlife/release/2024.09-ExtraFPS' into ↵Erik Kundiman
2024.09-ExtraFPS
2024-10-04cherry pick secondlife/viewer#912 BugSplat Crash 1412267: nvoglv64+0xadcd00 ↵Brad Linden
(#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-09-16Profile guided optimization pass (#2582)Dave Parks
- 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-12Replace glh_linear usage with GLM (#2554)Rye Mutt
2024-09-07Merge branch 'main' into 2024.08-DeltaFPSErik Kundiman
2024-09-07BSD/Linux can use the same dae loader constructionErik Kundiman
Also add explicit minizip, pcre, and xml2 development packages in Debian/Ubuntu instructions.
2024-09-01Merge remote-tracking branch 'secondlife/release/2024.08-DeltaFPS' into ↵Erik Kundiman
2024.08-DeltaFPS
2024-09-01Build and link collada-dom v2.3-r7 taken from Linden Lab's 3rd party softwareHiroo Ono
repository.
2024-09-01Build private static collada-dom library for Linux and FreeBSD.Hiroo Ono
Clone the repository by git and make it a cmake submodule.
2024-08-31Revert Linux/BSD to use system Collada DOM for nowErik Kundiman
Turns out getting 2.3 compiled on those platforms need a lot more attention. Apart from that, the compilation result variable name got fixed, the prebuilt include directory got fixed, and pkg-config-ing minizip, libpcrecpp and libxml-2.0 so we can make have generic variable arguments to pass to Collada DOM's CMake settings.