Commit Graph

215 Commits (ec06aa129f839cc98aaa8006d6467241281da9fa)

Author SHA1 Message Date
Dave Parks b2824aa21d SH-2690 Add comments per Vir's review feedback 2011-11-16 15:25:09 -06:00
Dave Parks 986dccbeaf SH-2690 Fix for spammy triangle death on GeForce 7800 Go when selecting flexi attachments. 2011-11-16 15:08:17 -06: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
Dave Parks 79912f9d3f SH-2031 Profile guided optimization of matrix ops
- don't use F64 except where needed (should really factor out calls to gluProject)
- get rid of sorting by texture in favor of sorting by matrix (no sort needed, geometry is already matrix sorted as a result of frustum cull tree traversal order)
- unroll matrix sync inner loop and cache MVP and normal matrices
2011-10-07 03:12:11 -05:00
Dave Parks bd02cdc75f merge 2011-09-26 19:27:10 -05:00
Dave Parks 7c95af74f1 SH-2243 work in progress -- application side matrix stack management 2011-09-14 16:30:45 -05:00
Dave Parks 7821ff23ba SH-2242 Physics shape display works again, added asserts to flush out areas where state being consumed by a shader does not match state being provided by vertex buffers. 2011-08-27 00:38:53 -05:00
Brad Payne (Vir Linden) ff60546070 merge 2011-08-22 13:16:02 -04:00
Nyx (Neal Orman) 9ed7cc297a merging in latest mesh-development 2011-08-19 17:03:51 -04:00
Nyx (Neal Orman) cfe0a3cbe4 BUILDFIX SH-1246 fixed a bug in the ARC computations, and texture cost computations in build tools
Minor bug in ARC display computations, where wrong numbers were being used for child prims
Feature enhancement to not double-count textures reused within a linkset.
2011-08-18 19:16:08 -04:00
Seth ProductEngine 543df6736f SH-2171 FIXED New prim weights added to weights detail floater.
- Fixed detecting cross-parcel objects selection.
- Various fixes in LLAccountingCostManager.
- getSelectedObjectRenderCost() moved from LLFloaterTools to LLObjectSelection where it used to reside. Previous commented out implementation of this method removed.
2011-08-17 01:42:21 +03:00
Dave Parks 2ee8154780 SH-2238, SH-2223, SH-SH-2242 glVertexAttrib throughout main render pipeline complete, preview renders and debug displays still pending. Also fixed a render glitch and a crash (JIRAs listed). 2011-08-10 13:01:14 -05:00
Dave Parks 14f6bbadef SH-2242 Work in progress migrating to glVertexAttrib everywhere 2011-08-08 15:29:23 -05:00
Dave Parks 8ec39da346 SH-2181 Fix for alpha flickering when basic shaders enabled (don't use glAlphaFunc when shaders are available).
Reviewed by Leslie
2011-07-29 17:46:16 -05:00
Nyx (Neal Orman) 60d15f78e1 merge with latest mesh-dev 2011-07-26 15:51:44 -04:00
Nyx (Neal Orman) 8f94ff85f9 merging up latest mesh-development to nyx-mesh-development 2011-05-17 12:13:54 -04:00
Loren Shih 781af27e9c SH-1419 Sim complains about changing physical materials when Physics, Temporary, or Phantom is changed. 2011-05-09 13:49:20 -04:00
Dave Parks a4e49310a5 STORM-1210 fsqrtf cleanup 2011-05-02 18:01:27 -05:00
Dave Parks a25f898703 merge 2011-05-02 14:52:12 -05:00
Ricky Curtice 89216a6c21 Merged with viewer-development.
The reason was to manually resolve a couple of merge problems, as upstream has had several changes since this was applied, and some of the changes overlapped.
2011-04-29 14:23:27 -07:00
Ricky Curtice 26f2762b89 Removed an extra variable I'd added.
Also cleaned up some whitespace-around-operator issues.
While removing the extra variable seems to make the code more ugly, all it does is reveal the pre-existing ugliness that had been masked in the past.  Trying to find a fix, or even try to come to a real understanding of why this section of code is the way it is, is out of my scope for this task.
2011-04-25 16:24:16 -07:00
Nyx (Neal Orman) 2deea74cf6 merging mesh-development into nyx's mesh development 2011-04-08 15:58:11 -04:00
Oz Linden b5c834c6fd merge changes for STORM-1051 2011-04-05 07:23:43 -04:00
Ricky Curtice ca186a6401 Parenthisized a #define to make it safer, adjusted some notes (and added a TODO) around some extremely obscure code that needs further attention but which is outside this scope. 2011-04-04 10:24:43 -07:00
Dave Parks 6b9a2d24cc SH-477 Better mesh streaming cost estimation. 2011-03-30 18:38:22 -05:00
Nyx (Neal Orman) 955b727550 merge 2011-03-21 17:56:11 -04:00
Ricky Curtice 9bac314ba0 Switched to using *_SQUARED constants instead of multiplied constants, and cleaned up a few other minor issues noted during review. 2011-03-12 23:39:10 -08:00
Ricky Curtice d4d292258e Squared all dist_vec() based comparisons and other dist_vec() operations where sensible.
Not all instances of dist_vec() were squared, only those where it wouldn't (hopefully) change the functionality.
2011-03-10 22:07:06 -08:00
Dave Parks 9044526994 SH-755 Set physics shape type to convex hull on delink if physics shape type was none. 2011-03-10 00:10:25 -06:00
Loren Shih c8293e29ca Automated merge up from viewer-development into mesh-development 2011-03-09 11:24:54 -05:00
Dave Parks a9412b6d2e SH-1085 Potential fix for crash when disabling mirror. 2011-03-07 17:28:04 -06:00
Dave Parks 3b5d6eed12 merge 2011-04-19 14:55:11 -05:00
Paul ProductEngine 776dde83ed STORM-889 FIXED Put Link/Unlink in Edit Panel
- Moved callbacks for Link/Unlink to the LLSelectMgr

- Binded Link/Unlink callbacks with buttons in Build Floater

- Replaced view_listener_t usage for Link, Unlink, EnableLink, EnableUnlink with boost::bind
2011-02-22 15:24:55 +02:00
Don Kjer 774405e92b Cleanup of headless client (was: DisableRendering mode)
* Now called 'HeadlessClient' instead of 'DisableRendering'
* Removed most cases where we skipped certain behaviors in the client when in this mode.  This gets us closer to a 'true' client, for testing purposes.
2011-02-18 23:16:38 +00:00
Nyx (Neal Orman) 4046a9082d re-applying render cost changes for experimentations 2011-02-11 17:37:07 -05:00
Dave Parks 479b5ac8ac SH-510 Fix for some mesh selection outlines appearing one region away. 2011-02-11 13:30:37 -06:00
Dave Parks ebf0dd4dce Merge 2011-02-08 15:54:52 -06: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
Nyx (Neal Orman) 8b15ca8d6b SH-930 FIX revert ARC algorithm for merge to viewer-development
Reverting incomplete changes to ARC so that we don't change RC when
we merge down.
2011-02-07 21:03:10 -05:00
Roxie Linden 159afd141d SH-753 - Ghost meshes
Fix the case where the silhouette shown when editing a mesh in an adjacent region
was showing up in the wrong place.  The silhouette was not being translated
by the avs view with respect to the region.
2011-01-28 16:37:27 -08:00
Dave Parks c1db849c41 SH-635 Fix for changing one physics parameter changing all physics parameters. 2011-01-20 15:50:03 -06:00
Nyx (Neal Orman) 52f397ec7a SH-350 SH-351 SH-355 FIX ARC fixes
Had a few debugging lines in my last checkin.
Cleaning up unreviewed changes.
2010-11-18 17:28:13 -05:00
Nyx (Neal Orman) 5e57352e12 SH-350 SH-351 SH-355 FIX Several fixes for ARC
Fixed the texture resolution calculation against the rounding errors
   we had before.
Fixed the bug where linking prims changed the combined cost
Fixed the bug where twisting was not computed properly

Code reviewed by davep.
2010-11-18 16:42:57 -05:00
Oz Linden a5619d16f7 correct licenses (fix problem with license change merge) 2010-10-13 07:24:37 -04:00
Dave Parks b70ccfe8e3 Add pure physics cost to UI 2010-10-07 14:00:43 -05:00
Dave Parks 0c93da0501 SH-224 Add new streaming cost algorithm debug displays to viewer.
Add the ability to clear LOD slots.
Make triangle count UI more responsive to Generate LOD button.
Add triangle count debug display for current selection.

Reviewed by Nyx
2010-09-29 16:09:21 -05:00
Dave Parks 7c2b9221d6 merge 2010-09-27 15:20:27 -05:00
Brad Payne (Vir Linden) 90e3d83a5c Fix for build failures - disabling tcmalloc for now 2010-09-21 13:26:52 -04:00
Dave Parks c42ed54b0a Stop using ll_aligned_malloc/free in llvolume.
Fix for garbage data in vertex weight array crashing software skinning.
Proper integration of picking for rigged attachhments.
Optimization in LLDrawable::updateDistance (don't call updateRelativeXform, just use spatial group position).
2010-09-20 18:45:56 -05:00
Merov Linden b85cf7b125 Pull update from viewer-development 2010-09-24 11:23:07 -07:00