summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.h
AgeCommit message (Collapse)Author
2015-01-07MAINT-4773 FIXED Some transparent textures are rendered as white.ruslantproductengine
This bug fix related also to MAINT-4092. In 4092 sometimes when we don't have information about the texture during the setup the materail (LLVOVolume::setTEMaterialParams()), we should substitute the material with disabled "diffuse alpha mode" (for detail in cases see MAINT-4092 JIRA ticket comment). This bug fix cover the case when after the loading texture we have all information about alpha mode, and in this case we should restore diffuse alpha mode if need. In short: now we always believe that information about the material is valid (LLVOVolume::setTEMaterialParams()). Of course before setup it we check information about texture (if it possible) , if texture is not exist in database or not 32 bit depth (for diffuse) we made changes. But in all other cases (if we can't receive information about texture) we remeber this case in mWaitingTextureInfo multimap. When information about texture will be available we get it in: LLVOVolume::notify AboutCreatingTexture() or Volume::notifyAboutMissingAsset() and again, we recheck it and if need change (substitute) the material parameters. I suppose that this solution is better than was before. If this patch will be accepted , I think that MAINT-4092 should be rechecked again.
2013-06-03NORSPEC-229 Fix for bad binormals on mirrored surfaces (use tangent ↵Dave Parks
calculator instead of binormal calculator, convert binormal centric code to tangent centric)
2013-05-25Merge viewer-dev-matGraham Madarasz
2013-05-24NORSPEC-96 NORSPEC-189 another attempt at planar stretch across all 3 ↵Graham Madarasz
channels and make the materials CB use a UUID instead of this pointer for safety
2013-05-24norspec-107: remove the need for a friend declaration in local texturesOz Linden
2013-05-24MATBUG-8: fix local texture support for normal and specular mapsSerpentu
2013-05-17NORSPEC-189 restore old mat param update registrationGraham Madarasz (Graham)
2013-05-16Merge beta fixesGraham Madarasz
2013-05-16NORSPEC-189 return to inefficient material update reg to avoid crashes from ↵Graham Madarasz
brundlefly solution with old reg and new callback
2013-05-11Fix many issues with selection misapplication and rendering not matching ↵Graham Madarasz
applied materials
2013-04-25Merge 3.5.1 into MaterialsGraham Madarasz
2013-03-29Update Mac and Windows breakpad builds to latestGraham Madarasz
2013-01-28Basic normal mapping support.Geenz
2013-01-25Trying to set materials up for rendering! Yay!Geenz
2012-10-09Initial pass at getting a list of viewer objects with non-null material IDs.William Todd Stinson
2012-09-04merge changes for DRTVWR-207Oz Linden
2012-08-31merge changes forOz Linden
2012-08-29MAINT-1455 FIX Media Texture not visually updated correctlycallum
Reviewed by me. (Bao created)
2012-07-31Merge in viewer-developmentsimon@Simon-PC.lindenlab.com
2012-07-17pull back fixes for 3.3.4-beta4Oz Linden
2012-07-16MAINT-1223 Fix for alpha updates not triggering LoD updates.Dave Parks
2012-06-20MAINT-794 Move flexi idleUpdate and texture animation to their own update ↵Dave Parks
queues.
2012-06-19MAINT-794 Factor out a lot of CPU overhead around updating objects.Dave Parks
2012-06-08MAINT-646 Optimize LLVolumeImplFlexible::doIdleUpdate()Dave Parks
2012-05-01MAINT-775, MAINT-1022 Regression cleanup.Dave Parks
2012-04-19MAINT-775 Cleanup of some weird corner cases on animated child prims.Dave Parks
2011-11-30Automated merge with http://hg.secondlife.com/viewer-developmentRichard Linden
2011-11-28bumped up MSVC warning level to 3 to catch more stuff that gcc catchesRichard Linden
2011-11-10SH-2644 Fix debug display that shows selection triangle count and streaming costDave Parks
2011-08-22mergeBrad Payne (Vir Linden)
2011-08-16FIX SH-859, SH-1274 - added fix for determining triangle count andNyx (Neal Orman)
performance tested impact of animated textures Also did some cleanup to ensure branch built and ran properly after last merge.
2011-07-28fix for SH-2023: Brightness Bump maps don't load when shadows are enabledXiaohong Bao
2011-04-08merging mesh-development into nyx's mesh developmentNyx (Neal Orman)
2011-04-04SH-477 Scene stats console work in progress.Dave Parks
2011-03-30SH-477 Better mesh streaming cost estimation.Dave Parks
2011-03-22initial effort to enable a debug display to show render complexity.Nyx (Neal Orman)
Using for internal demo, will get it code reviewed if it merges in.
2011-03-21mergeNyx (Neal Orman)
2011-03-11SH-477 Put estimated streaming cost back in the debug display -- use ↵Dave Parks
newfangled equation.
2011-02-11re-applying render cost changes for experimentationsNyx (Neal Orman)
2011-02-07SH-930 FIX revert ARC algorithm for merge to viewer-developmentNyx (Neal Orman)
Reverting incomplete changes to ARC so that we don't change RC when we merge down.
2011-02-03SH-861 FIX update render cost algorithm to use geometry triangle countsNyx (Neal Orman)
base cost is now geometry-based, for both meshes and prims Some of the previous weights have been recalibrated based on testing. Code reviewed by davep. Deferring QA for now until the other parts of the algorithm are updated, as re-generating the test takes time each time the algorithm changes.
2011-02-01Automated merge up from viewer-development into mesh-developmentLoren Shih
2011-01-19fix for SH-730: sculpted prim attachment shapes on impostored avatars load ↵Xiaohong Bao
very slowly
2010-10-13correct licenses (fix problem with license change merge)Oz Linden
2010-09-29SH-224 Add new streaming cost algorithm debug displays to viewer.Dave Parks
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-27mergeDave Parks
2010-09-21Fix for build failures - disabling tcmalloc for nowBrad Payne (Vir Linden)
2010-09-20Stop using ll_aligned_malloc/free in llvolume.Dave Parks
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-19Raycasting for rigged attachments now works for your own attachments while ↵Dave Parks
in edit mode.
2010-09-01CTS-231 WIP create new ARC algorithm to be more accurate and account for meshesNyx (Neal Orman)
First pass - uses the new algorithm to hopefully be more accurate of render load on low-end machines. Also accounts for mesh complexity, including if a mesh is weighted or non-weighted. Code reviewed by davep