Commit Graph

222 Commits (56da70fa9651164e577caaf866fccec684bbd577)

Author SHA1 Message Date
Beq 61a6beb2e8 BUG-227041 Camera distance to avatar in neighboring region incorrect 2019-05-29 00:21:57 +01:00
Ansariel 2d26846d9f Clean up includes 2018-12-14 00:53:52 +01:00
Beq 3b3b2a7105 Fix up alignment error that was breaking 32bit builds 2018-11-16 13:19:21 +00:00
Beq 35ecc970b0 Clean up unnecessary stuff and more JointMatrix Palette caching tweaks.
Move cache to drawable for more benefit. Reduces CPU overhead when rendering
shadows and materials by caching the jointmatrixpallette.
Sacrifices some potential cache locality but savings seem to outweigh this.
2018-11-15 20:56:35 +00:00
Brad Payne (Vir Linden) e1a86494e1 SL-1350 - keep control avatar rotation synced to corresponding root drawable 2018-09-27 19:34:41 +01:00
Ansariel d5fdcd67ab Merge axon 2018-09-25 17:45:20 +02:00
Brad Payne (Vir Linden) 301821337b SL-9680, SL-9673 - set attachment distance floor at 0.01 to avoid triggering divide-by-zero prevention logic. Force HUD attachments to always be full detail. 2018-09-19 15:53:44 +01:00
Brad Payne (Vir Linden) d9cc027cd8 SL-937 - use dynamic box for rigged mesh attached to normal avatar as well. Still has a 2x error in the radius calc, but gets radius using the dynamic box. 2018-07-31 21:57:42 +01:00
Brad Payne (Vir Linden) 447aadc37b SL-937 - use dynamic box for rigged mesh attached to normal avatar as well. Still has a 2x error in the radius calc, but gets radius using the dynamic box. 2018-07-31 21:57:42 +01:00
Ansariel 457d9792c0 Merge axon 2018-07-15 12:32:06 +02:00
Brad Payne (Vir Linden) 9be476e3bb MAINT-7926, MAINT-8400 - fixes related to bounding box and LOD calculations for rigged meshes in animated objects 2018-07-09 22:30:50 +01:00
Ansariel 568acb9e1d Merge axon 2018-06-07 19:29:08 +02:00
Brad Payne (Vir Linden) 2a2046fd07 merge 2018-06-05 22:44:04 +01:00
Ansariel acfe7e625e Merge Firestorm LGPL 2018-06-01 22:10:21 +02:00
Ansariel 5d924483a8 Merge viewer-cougar 2018-03-02 15:00:48 +01:00
Ansariel c8e654c61d Merge axon 2018-03-02 11:04:21 +01:00
Brad Payne (Vir Linden) 3f9b3e01b9 MAINT-8264 - prevent at least some cases of LODs getting stuck at too-low values. 2018-02-21 22:02:34 +00:00
Ansariel 01d8e7e347 Merge axon 2017-09-20 01:09:14 +02:00
Brad Payne (Vir Linden) 2aa890da0b SL-718 - better support for transforms of animated attachments 2017-09-08 16:05:49 +01:00
Brad Payne (Vir Linden) 30880e062a SL-751, SL-691 - test lsl scripts update, better syncing between skeleton and drawable 2017-07-21 20:01:40 +01:00
Brad Payne (Vir Linden) 5610444d64 SL-714 - fixes to get wireframes to display consistently when right-clicking on animated objects. 2017-07-19 22:21:08 +01:00
ruslantproductengine e2aa2e0008 MAINT-6275 - Child prim not touchable after being resized and moved relative to root prim by script.
FIXED.
UPDATED: Add comments.
2017-04-26 15:56:43 +03:00
ruslantproductengine 334dfe0587 MAINT-6275 - Child prim not touchable after being resized and moved relative to root prim by script.
FIXED.
It's a very important on each cycle on Drawable::update form(), when object
remained in move, list update the CurrentScale member, because if do not do that,
it remained in this list forever or when the delta time between two frames
a become a sufficiently large (due to interpolation)
for overcome the MIN_INTERPOLATE_DISTANCE_SQUARED.
2017-04-24 20:19:48 +03:00
ruslantproductengine 6770c27321 MAINT-6645 - Improvement - Agents that render as jelly dolls should have their attachments render at 0 LoD to prevent loading higher LoD complexity in memory thus deterring crashes.
Comments:
- Fix based on "RenderAutoMuteByteLimit" setting.
- File indra/llxml/llcontrol.h - add all signals to 0 group.
  It garanty that handlers (in indra/newview/llviewercontrol.cpp) will be called last.
2017-01-24 15:56:25 +02:00
AndreyL ProductEngine 71269ac1fc Backed out changeset: ebe10b4b1197 2016-12-15 02:40:51 +02:00
ruslantproductengine 65161e6b39 MAINT-6125 - Mesh avatar deforms constantly
MAINT-6910 - [MAINT-RC] Some mesh turns invisible when camera is moved on the Maint-RC viewer only - caused by fix for MAINT-6125.

Commulative fix.
Fixed for booth ticket's in indra/newview/llvovolume.cpp
Remained fixed, it's a small code improvements which is not related to
MAINT-6125, MAINT-6910
2016-12-12 18:24:46 +02:00
ruslantproductengine 5cc716dbf9 MAINT-6125 - Mesh avatar deforms constantly
MAINT-6910 - [MAINT-RC] Some mesh turns invisible when camera is moved on the Maint-RC viewer only - caused by fix for MAINT-6125.

Commulative fix.
Fixed for booth ticket's in indra/newview/llvovolume.cpp
Remained fixed, it's a small code improvements which is not related to
MAINT-6125, MAINT-6910
2016-12-12 18:24:46 +02:00
Ansariel c2b428e334 Fix LL impostor hacking:
* Don't render shadows for impostors
* Show muted avatars as impostors (fix if RenderAvatarMaxNonImpostors = 0 = no limit)
* No detailed attachment updates for muted avatars if using no impostors
* Properly calculate update interval for muted avatars if using no impostors

Changed LLVOAvatar::isImpostor() so it also returns if an avatar is an impostor
in case RenderAvatarMaxNonImpostors = 0 = LLVOAvatar::sUseImpostors = FALSE is set,
so we can get rid of some

"isImpostor() || ((LLVOAvatar::AV_DO_NOT_RENDER == getVisualMuteSettings() || isInMuteList()) && !needsImpostorUpdate())"

and replace it with

"isImpostor() && !needsImpostorUpdate()"

This additional check would be necessary to render an avatar as impostor in case
it should never be rendered or it is muted, but LLVOAvatar::sUseImpostors is FALSE.
The check for !needsImpostorUpdate() is still needed to fail the condition in case
an impostor needs an update. For impostor updates, LLPipeline::generateImpostor()
will temporarily set LLVOAvatar::sUseImpostors = FALSE, so the rendering pipeline
doesn't skip parts needed to create a silhouette of the avatar. In that case,
needsImpostorUpdate() will return TRUE.
2016-11-08 16:49:05 +01:00
Ansariel 3192fe832f Merge viewer-quickgraphics 2016-03-08 01:41:31 +01:00
Oz Linden c8726aba30 remove execute permission from many files that should not have it 2015-11-10 09:48:56 -05:00
Oz Linden a8ef252571 merge changes for 3.7.27-release 2015-04-13 16:23:36 -04:00
Nicky 006190f2a1 Merge with tools update. 2015-05-05 13:09:27 +02:00
Ansariel 9be423524d Merge LL V3.7.27 2015-04-14 22:08:31 +02:00
andreykproductengine 5f288e837c MAINT-2590 FIXED Linked HUDs attached directly from inworld are invisible 2014-12-16 19:09:38 +02:00
callum_linden 23711c9275 Rename llround(..) to ll_round(..) because of a collision with MS llround (long long round) in VS2013 2014-12-10 08:44:08 -08:00
callum_linden bdce32a02b Update to build on Xcode 6.0: collection of removal of unused variables [-Wunused-variable] 2014-10-18 11:56:23 -07:00
Tank_Master 6babf8abd2 Merge LL 3.7.7 2014-06-09 11:29:57 -07:00
Xiaohong Bao b49170b732 fix some flaws for memory corruption 2014-01-31 18:24:55 -07:00
Richard Linden 697d2e720b renamed TimeBlock to BlockTimerStatHandle 2013-10-15 20:24:42 -07:00
Richard Linden 17df8988fe renamed TraceType to StatType
added more MemTrackable types
optimized memory usage of LLTrace some more
2013-10-07 13:38:03 -07:00
Richard Linden 59628d6f85 Automated merge with http://bitbucket.org/lindenlab/viewer-release 2013-10-01 14:28:39 -07:00
Richard Linden 12f0f8cb72 changed over to manual naming of MemTrackable stats
changed claimMem and disclaimMem behavior to not pass through argument
added more mem tracking stats to floater_stats
2013-10-01 13:46:43 -07:00
Richard Linden 053d97db1b better memory usage for LLTrace (tighter packing of recording arrays)
removed complicated and unnecessary fast timer gapless handoff logic (it should be gapless anyway)
improved MemTrackable API, better separation of shadow and footprint
added memory usage stats to floater_stats.xml
2013-09-25 19:12:35 -07:00
Richard Linden cbe397ad13 changed fast timer over to using macro
another attempt to move mem stat into base class
2013-09-05 14:04:13 -07:00
Graham Linden d8f700d6ac NORSPEC-355 NORSPEC-356 replaced llerrs with asserts to avoid crashes from false alarms in release 2013-08-28 09:14:29 -07:00
Xiaohong Bao 7b5618aeae fix for SH-4400: Interesting: Side effect 1 of unloading culled objects. 2013-08-22 12:22:34 -06:00
Richard Linden e340009fc5 second phase summer cleaning
replace llinfos, lldebugs, etc with new LL_INFOS(), LL_DEBUGS(), etc.
2013-08-09 17:11:19 -07:00
Richard Linden a2e22732f1 Summer cleaning - removed a lot of llcommon dependencies to speed up build times
consolidated most indra-specific constants in llcommon under indra_constants.h
fixed issues with operations on mixed unit types (implicit and explicit)
made LL_INFOS() style macros variadic in order to subsume other logging methods
such as ll_infos
added optional tag output to error recorders
2013-07-30 19:13:45 -07:00
Dave Parks 930de04f51 NORSPEC-287 Make alpha sRGB correction curves match OpenGL spec. 2013-07-02 18:02:28 -05:00
Richard Linden 8208a40412 BUILDFIX: reverted changes that attempted to automate mem track
stat definition as they don't work on gcc/clang
2013-07-01 18:50:51 -07:00