Commit Graph

281 Commits (5dcd81c15507ad8f487e5727bc7a94de82f6fb45)

Author SHA1 Message Date
Graham Linden fec6ab591e Disable asserts in CalculateTangentArray (discussed with davep) to avoid debugging interruptions from bad assets 2013-06-14 09:32:23 -07:00
Dave Parks 7b28a9a541 Remove some now useless assertions. 2013-06-13 14:38:51 -05:00
Graham Madarasz 9726f3774d Backout tangent assert experiment 2013-06-12 10:26:06 -07:00
Graham Madarasz d2b253f1f6 Changes to protect against use of normalize3fast on degenerate vectors 2013-06-12 09:16:19 -07:00
Graham Madarasz 48324a9383 Fix issues with NaNs in tangent data from using normalize3fast on zero-length vectors and other data conditioning; also added assert to normalize3fast to make finding these problems easier in the future 2013-06-12 08:09:29 -07:00
Graham Madarasz 01f595d871 Speculative fix for tangent calc asserts on Mac 2013-06-11 12:02:54 -07:00
Dave Parks d09f1e7117 NORSPEC-242 Followup, fix a couple more sources of NaN and infinity. 2013-06-10 16:01:53 -05:00
Dave Parks ddf15867e4 NORSPEC-242 Fix for infinity and NaN showing up in tangents and texture coordinates sometimes. 2013-06-07 16:18:37 -05:00
Dave Parks c3f14b915c NORSPEC-229 Fix for bad binormals on mirrored surfaces (use tangent calculator instead of binormal calculator, convert binormal centric code to tangent centric) 2013-06-03 12:50:48 -05:00
simon ec5bd94d59 BUG-2581 : [simon-ll-viewer-cat] Path cut, hollow and slice break planar
texture mapping on prims.  Credits to DaveP
2013-05-15 11:00:00 -07:00
simon 5687b0c4df Merge 2013-05-09 15:30:49 -07:00
simon ee2fce8790 Merge downstream code and viewer-beta 2013-05-09 14:10:45 -07:00
Dave Parks dbfcd6c9c5 Optimization -- don't draw glow in alpha pool unless needed 2013-05-07 17:20:33 -05:00
Oz Linden ddd5659f81 merge changes for DRTVWR-294 2013-04-19 10:11:29 -04:00
Graham Madarasz bf6182daa8 Update Mac and Windows breakpad builds to latest 2013-03-29 07:50:08 -07:00
Graham Madarasz (Graham Linden) 9a811855b9 Merge 2013-03-13 16:16:17 -07:00
Graham Madarasz (Graham Linden) bba84a3fa9 Cleanup per code review of prev change with DaveP 2013-03-13 13:38:30 -07:00
Graham Madarasz (Graham Linden) 5d2fea6262 Move fast memcpy to llcommon and use it in llalignedarray pushback on all platforms. Code Review: DaveP 2013-03-13 10:42:40 -07:00
Graham Madarasz e8b8a12b73 Mods to make compile on gcc 4.6.3 work mo betta 2013-03-12 10:48:05 -07:00
Graham Madarasz 1051220d4b Merged vwr-cat..#$%$% whitespace diffs 2013-03-11 12:41:06 -07:00
Graham Madarasz c04f4f66c8 Moved LLAlignedArray from llmath to llcommon and put template func impls in header to work around Mac 4.3.3 link issue. 2013-03-11 12:30:16 -07:00
Dave Parks f8e059deee MAINT-2371 Lat round of optimizations.
Reviewed by Graham
2013-03-08 17:11:30 -06:00
Graham Madarasz 1816582b92 Fix crashes from using single alloc for pos/norm/tc in volume face data fighting with old free call in model loading code 2013-03-06 09:09:07 -08:00
Dave Parks 586025bde5 Automated merge with https://bitbucket.org/lindenlab/viewer-cat 2013-03-04 18:06:29 -06:00
Dave Parks 609ed855e1 MAINT-2371 More optimizations.
Reviewed by Graham
2013-03-04 18:01:42 -06:00
Graham Madarasz (Graham) 4e81a84abd Performance improvements. Faster threadsaferefcount, faster instancetracker, use hashtable and pre-hashed strings for GLSL uniform lookup, and use dup_handles curl interface to avoid re-initing ares resolvers expensively. 2013-03-04 08:57:58 -08:00
Dave Parks f5e5396c3a MAINT-2371 First set of profile guided optimizations.
Reviewed by Graham
2013-02-26 15:15:08 -06:00
Nyx Linden 11fe124ae9 merging in viewer-beta.
Most of the merge was clean, a couple conflicts.
Brought over a couple patches manually for llpolymesh.
2013-01-24 16:22:49 -05:00
prep e0432f98ee SH-3563. Pull and merge from viewer-development. Modest code changes to fix alignment issue in llAppearance. 2012-11-28 16:36:34 -05:00
Don Kjer c06c35609c Updating linux build to gcc4.6 2012-10-11 00:09:04 +00:00
Dave Parks 4127f3e7fc reapply efcec3eb374f: MAINT-646 Factor std::vector out of lloctree 2012-09-20 09:48:56 -04:00
Dave Parks cf98064700 reapply 52b6c9168974: MAINT-646 Factor std::set out of lloctree 2012-09-20 09:48:55 -04:00
Dave Parks 9ec263d2f1 MAINT-1503 Minimal set of changes needed to safely disable tcmalloc 2012-09-12 15:44:36 -05:00
Oz Linden 97d969a338 initial attempt to restore changes that make removing tcmalloc possible; not tested 2012-09-12 14:36:37 -04:00
William Todd Stinson a766e26db4 Backing out the changes contributing to DRTVWR-167 and DRTVWR-179 from the repository. 2012-09-10 10:37:02 -07:00
Dave Parks 980d5a7555 MAINT-1503 Fix for ll_aligned_realloc returning non-aligned pointers on linux 2012-08-31 16:30:58 -05:00
simon@Simon-PC.lindenlab.com 173d0fa213 Pull in viewer-development because it's painful. Merge with runitai's help. 2012-07-11 16:15:23 -07:00
simon@Simon-PC.lindenlab.com b7555a3309 Merge back viewer-lion, which has viewer-development and down-stream fixes 2012-08-01 14:07:24 -07:00
Dave Parks 4a5ad35793 MAINT-570 Remove unused memory tracking system LLMemType 2012-07-20 11:42:15 -05:00
Dave Parks 6dd3840b44 MAINT-646 Factor std::vector out of lloctree 2012-06-05 13:32:18 -05:00
Dave Parks 92ee373e45 MAINT-646 Factor std::set out of lloctree 2012-06-05 12:55:17 -05:00
Brad Payne (Vir Linden) 542975b4c6 merge 2012-06-04 16:19:18 -04:00
Brad Payne (Vir Linden) 635a264e6f merge 2012-02-08 11:22:52 -05:00
Richard Linden 2ed1de224a Automated merge with http://hg.secondlife.com/viewer-development 2012-02-06 15:28:45 -08:00
Brad Payne (Vir Linden) b9376ab990 merge 2012-02-02 10:57:09 -05:00
Richard Linden 5a14a67e06 converted a bunch of narrowing implicit conversions to explicit 2012-02-01 13:03:46 -08:00
Dave Parks 18e7f1bffd SH-2889 Add visual auto-muting controls 2012-01-20 16:42:57 -06:00
Brad Payne (Vir Linden) c8682722ad SH-2789 WIP - aligned alloc and realloc 2011-12-21 17:02:47 -05:00
Dave Parks c0b4ec6fe7 SH-2694 Fix for FPS drop when mousing over flexi objects (don't use an octree for flexi raycast) 2011-12-16 17:43:30 -06:00
Brad Payne (Vir Linden) e68d5e248f SH-2789 WIP - add asserts to check object address alignment where needed 2011-12-14 16:18:19 -05:00
Dave Parks 76bd8cee11 SH-2644 Fix debug display that shows selection triangle count and streaming cost 2011-11-10 14:48:48 -06:00
Brad Payne (Vir Linden) 4b269f67ea merge 2011-09-14 14:54:20 -04:00
Xiaohong Bao 8cef480b96 fix for SH-2311: crash at LLVOVolume::lineSegmentIntersect line 3435
and SH-2358: Crash in LLError::crashAndLoop: Invalid face index
2011-08-29 18:15:38 -06:00
Dave Parks f7d17cad5c SH-2188 Fix for generally bad vertex buffer updates for rigged attachments and fix for viewer always thinking meshes initially have 8 texture entries. 2011-08-17 12:55:32 -05:00
Dave Parks 5c0df02df5 SH-2147 Clarify and quiet log spam on mesh LoD unzip failure. 2011-08-15 12:18:06 -05:00
Leyla Farazha 10ec004912 merge from viewer-experience 2011-08-12 14:53:25 -07:00
Brad Payne (Vir Linden) dd3069127b merge 2011-07-13 14:57:23 -04:00
Oz Linden 8529c37dee merge changes for storm-1488 2011-07-11 06:16:19 -04:00
Don Kjer b9d6b5ef9a Merge viewer-development -> mesh-development 2011-07-08 18:25:07 -07:00
Brad Payne (Vir Linden) 7541e6e31b SH-2014 FIX 2011-07-08 14:45:02 -04:00
Dave Parks d50093cb42 SH-1926 Fix for blocking legitimate sculpt maps with over-eager area check. 2011-07-05 11:51:32 -05:00
Xiaohong Bao f83b08b69c fix for SH-1878: Viewer hang in GLOD_Group::adaptTriangleBudget during LLModelPreview::genLODs;
SH-1891: viewer crashes while previewing "RYOMA 3D XML File.dae";
SH-1890: Crash loading palm tree
2011-06-24 15:09:10 -06:00
Nyx (Neal Orman) 7201d55396 BUILDFIX: linux build broken - abs() used instead of fabs()
linux caught the fact that we're using an integer absolute value function
when we should be using a floating-point version.
2011-06-20 17:18:43 -04:00
Dave Parks 15235061e8 SH-828 Fix for using uninitialized data when normals or texture coordinates are absent from collada file (can now upload meshes without normals or texture coordinates). 2011-06-18 01:02:03 -05:00
Dave Parks 91fe50ecc7 SH-1802 Fix for disappearing meshes under some circuimstances. 2011-06-09 17:03:53 -05:00
Dave Parks 75e366dd6f merge 2011-06-09 00:29:37 -05:00
Dave Parks b6e7d771da SH-1696 Protect against sculpt triangle bombs by turning high-surface area sculpties into spheres. 2011-06-09 00:23:46 -05:00
Dave Parks ca5a87b819 merge 2011-06-08 15:59:11 -05:00
Dave Parks e135d4d629 SH-1767 Fix for crash when viewing assets uploaded by mesh-asset-deprecation viewers 2011-06-07 15:28:05 -05:00
Dave Parks aa21ad59aa Fix for crash when viewing asset with "NoGeometry" 2011-06-06 18:20:07 -05:00
Dave Parks b77e027fcc Remove some unused variables. 2011-06-02 23:46:26 -05:00
Dave Parks de5f93ca52 SH-1732 Add streaming cost calculation for mesh objects. 2011-06-02 22:58:57 -05:00
Dave Parks 3a409e6edc SH-1603 Replace every occurrence of "WTF" with something more appropriate. 2011-05-25 18:45:21 -05:00
Dave Parks 8017900e7f merge 2011-05-12 18:50:22 -05:00
brad kittenbrink 2a843e9a6b Fix up alignment problems for debug build.
reviewed by davep.
2011-05-12 16:09:42 -07:00
Dave Parks 56ba23d231 Use SSE for decoding texture coordinates. 2011-05-11 17:32:39 -05:00
Loren Shih 8b4b2e375d Fix for line endings style (dos2unix).
Updated header blocks for llphysicsshapebuilderutil classes.
2011-05-03 15:31:30 -04:00
Dave Parks 1ff7968312 SH-1225 Add skinning info to import path of .slm files. 2011-03-28 23:50:23 -05:00
Dave Parks 6ff87e2840 SH-1169 Import from slm instead of dae when appropriate. 2011-03-22 17:23:48 -05:00
Dave Parks a242129b57 SH-523 Fix for non-finite values in silhouette rendering resulting in silhouette segments pointing at center of screen. 2011-02-08 15:53:50 -06:00
Xiaohong Bao d08372f71d merge fix for SH-659 from v-d to mesh: small textures not loaded 2011-02-01 12:43:12 -07:00
Loren Shih c7d0fab7b9 Fixes for merge up from viewer-development to mesh-development.
Backed out SH-659 since merge was messy; this will be merged in manually later.
2011-02-01 12:33:39 -05:00
Loren Shih fbc6e5d639 Automated merge up from viewer-development into mesh-development 2011-02-01 11:28:22 -05:00
Dave Parks f3493d4165 SH-822 Fix for crash in cacheOptimize (U16 should have been a U32) 2011-01-19 23:14:41 -06:00
Xiaohong Bao c602fed9b7 fix for SH-659: small textures not loaded 2011-01-18 14:08:21 -07:00
Dave Parks ce5dc4d42b SH-762 Forsyth style vertex buffer optimization for meshes. 2011-01-07 13:47:50 -06:00
Dave Parks e9d21ba941 Fix for windows build. Reviewed by Nyx. 2010-12-20 15:09:15 -06:00
Boroondas Gupte 8edd7e94b1 merged CTS-323: Don't cast pointers to U32 2010-11-23 01:52:11 +01:00
Dave Parks c149a0020b Get rid of pointless redirection and malloc/free. 2010-11-21 03:06:47 -06:00
JonathanLinden ffb8b78ae9 Reverting fix for SH-391 until it works for all use cases 2010-11-03 17:11:08 -07:00
JonathanLinden 117af7e7e3 Fix for SH-391 'Viewer crash when enabling align planar faces on a mesh object'. Paired with Runitai 2010-11-03 13:23:53 -07:00
Dave Parks ed29cac3a1 SH-92 Fix for busted bounding boxes for mirrored meshes. 2010-10-29 16:10:17 -05:00
Dave Parks 78e62d0030 Fix for bad normals on some prim faces. 2010-10-29 12:06:20 -05:00
Dave Parks da04af47cc Fix for bad binormals. 2010-10-26 16:19:24 -05:00
Boroondas Gupte 4f388eacf6 merged CTS-323: Don't cast pointers to U32 2010-10-24 16:13:31 +02:00
Boroondas Gupte 32b0747e33 CTS-323: (part 2 of 2) Don't cast pointers to U32 2010-10-24 16:07:43 +02:00
Oz Linden a5619d16f7 correct licenses (fix problem with license change merge) 2010-10-13 07:24:37 -04:00
Dave Parks 478e0927c8 Interface/state for rendering convex hull physics shapes. Still need to implement gMeshRepo.buildHull 2010-10-04 09:48:05 -05:00
Dave Parks 11fce20134 Add llhysicsshapebuilderutil 2010-10-01 13:33:14 -05:00
Matthew Breindel (Falcon) 569f3f4b06 Merge 2010-09-22 13:04:53 -07:00