Rye Mutt
bcadee8575
Apply a lil alchemy blackmagic
2019-10-07 12:40:30 -04:00
Router Gray
562982cc30
Null check, sooner is better, and clang is happy. Thanks Liru.
2019-05-24 12:06:34 -05:00
Shyotl
7f776c0d53
Fixed geom never generating in some scenarios.
2019-04-17 00:49:46 -05:00
Shyotl
b81373366b
Animesh test changes. Also stop screwing with my commit messages, github.
2019-03-17 02:35:07 -05:00
Shyotl
3a78568a6f
Intermediary commit #2 .
2019-03-16 21:35:33 -05:00
Shyotl
736696ac36
Track glEnable states via static refs instead of map lookups.
...
Sync light state, bound shader, and various gl context states similarly to render matrices.
Texture handles now refcounted, as multiple viewer textures could ref the same handle (cubemaps do this)
Clean up gl extension loading a bit. Not necessary, but only look for ARB variants if not included in current core version. Removed unused extensions.
Use core shader api if supported, else use ARB. (FN signatures are identical. Just doing some pointer substitution to ARB if not core.)
Attempt at improving VBO update batching. Subdata updates better batched to gether per-frame.
There's probably other stuff I forgot that is in this changeset, too.
Todo: Fix lightstate assertion when toggling fullscreen with shaders off.
2018-11-19 00:37:48 -06:00
Shyotl
d11899561b
Optimization pass.
2018-08-07 01:09:53 -05:00
Shyotl
92eb988f2a
Pull in vertex buffer changes from alch.
2018-02-05 00:06:54 -06:00
Shyotl
f1063afea1
Tweak alphamask RSME and allow multiselect derender.
2017-03-25 00:35:48 -05:00
Shyotl
1ccd8cfd89
Tweak tangents.
2017-03-17 00:54:48 -05:00
Shyotl
f4a713a500
Merge.
2017-03-14 04:02:53 -05:00
Shyotl
55b5f60b68
V3 mesh, texture, and hover merge.
2016-04-26 13:36:39 -05:00
Shyotl
18c6330af7
Remove unused index_array pointer in LLFace::renderElements and LLFace::pushVertices
2015-06-25 20:24:25 -05:00
Shyotl
1c627317ec
No longer include llerrorlegacy.h. Updated llstl to include deletion utilites.
2015-06-19 03:54:20 -05:00
Shyotl
e9cf3a6806
Fix tiled snapshots. Also, LLRender::genRot takes degrees, not radians.
2014-09-02 02:53:10 -05:00
Shyotl
9c63243fe7
Fix issue with planar face alignment.
2014-08-30 18:56:27 -05:00
Shyotl
e975e389df
Merge branch 'master' of https://github.com/singularity-viewer/SingularityViewer.git
...
Conflicts:
indra/newview/llnetmap.cpp
2014-08-05 18:17:13 -05:00
Shyotl
56cefce1cc
Enable auto-alphamasking for attachments, and force to use V3 auto-alphamask algorithm for said attachments.
2014-06-22 03:42:37 -05:00
Shyotl
061178ad82
Migrated gl matrix stack to LLMatrix4a
2014-06-22 03:34:51 -05:00
Shyotl
8f6a578ec0
Migration to LLMatrix4a instead of glh::matrix4f
2014-06-15 22:42:32 -05:00
Inusaito Sayori
8766335708
Up the maximum field of view to 320, from 175, on request from Tazy Scientist
...
Better for reallllly wide screens and multiscreen setups, apparently.
Also, let's merge with v-r while we're at it, since llcamera.h requires a large-ish recompile
Nothing functional though.
And some license updates to some identical files in llmath.
2014-06-11 03:24:46 -04:00
Shyotl
5805fe636a
Determine if to stuff shiny data into alpha component a bit differently. Cuts out a lot of crazy logic and lets us choose based off of target renderpass.
2014-05-14 03:38:16 -05:00
Shyotl
7158a3c83d
Fixed an annoying showstopper regarding rigged attachment vertex corruption. Rigged meshes have can have poor weighting, causing potential div-by-zero issues.
2014-05-08 15:11:12 -05:00
Shyotl
5988f6cf88
Updated rigged mesh face batch/pool handling.
...
Fixed issue with fullbright and glow occlusion.
RenderTransparentWater toggling should work more gracefully.
Fixed some bugs in general drawpool classification for faces. Bump pool was superceding more than it should have.
2014-03-27 21:27:40 -05:00
Shyotl
bdc0ad2b8f
Experimental volume face batching changes (Cursory testing shows: +~10% larger mean batch size).
...
-Drive pass selection by face pools. Doing such removes a fair bit of redundant (and often buggy) code.
-Ignore irrelivant batch breakers depending on pass/pool type.
-Face sorting algorithm modified to potentially allow larger batches.
-Removed a few unused/broken things (bake_sunlight/no_materials)
-Fullbright handling should hopefully be a little more consistent.
-Prevent fullbright faces from being placed in 'simple' pool. (They are already simple-er)
Fixed attribute error that popped up with bump faces when batching was disabled.
2014-02-18 11:43:50 -06:00
Shyotl
3da9fe0e94
Avoid calling a few deprecated gl functions when shaders are enabled.
2013-12-25 02:09:36 -06:00
Shyotl
033880c8f9
Kill some vertex attribute / shader attribute inconsistencies. (Issue 1287, 1281) Also hopefully improved face edit overlay behavior when editing normal/specular texture/scale/offset/rotation.
2013-12-24 20:15:29 -06:00
Latif Khalifa
824f23082b
Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
2013-11-02 07:25:36 +01:00
Shyotl
af8f8bb040
Mats.
2013-11-02 01:20:05 -05:00
Latif Khalifa
8dab5df746
Revert "Prevent LLFace::getGeometryVolume from overwriting vbos past their end."
...
This reverts commit 02067f973e .
2013-10-31 02:10:57 +01:00
Latif Khalifa
02067f973e
Prevent LLFace::getGeometryVolume from overwriting vbos past their end.
...
Possible fix for a crash in LLFace::getGeometryVolume()
Patch by NickyD/Firestorm
Crash signature: 14 and 20
2013-10-29 16:29:59 +01:00
Latif Khalifa
bdcc4189be
Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
2013-10-28 22:22:29 +01:00
Shyotl
8441bc80a4
Use LLStaticHashedString for faster uniform lookup.
2013-10-26 16:26:46 -05:00
Latif Khalifa
ea6adb7ae4
WIP[win64]: Sync this snipped with upstream to avoid texture indexing issues on Windows 64
2013-10-21 15:56:13 +02:00
Aleric Inglewood
1df09dec35
Remove assert that 100% reproducible fired - stopping me from logging in.
...
I wanted to fix the problem, but:
[21:45] <Aleric> Talking about dense - you guys want this to be fixed or not???
[21:45] <lkalif> no
2013-10-12 21:48:51 +02:00
Shyotl
f25eb07fab
Unstaged changes cleanup. Further vectorization. Change in binormal/bitangent calculation.
2013-10-09 15:43:23 -05:00
Shyotl
353586f631
Missed a couple lines in earlier commit.
2013-07-30 19:41:13 -05:00
Shyotl
8e40d6b52c
Added some missing drawpool determination logic pertaining to face materials.
2013-07-29 19:39:59 -05:00
Shyotl
45b85070f3
A bit of harmless cleanup, null checking, nan checking. Removed sphericalProjection and cylindricalProjection from llface (broken/dead).
2013-07-29 19:23:30 -05:00
Shyotl
bec3ba985e
DIFFUSE_ALPHA_MODE_BLEND flag should disable auto-alphamasking on applicable face.
2013-07-13 19:36:33 -05:00
Shyotl
ef3e918558
Initial moap commit. /VERY/ WIP. Primarily committed to clean up unstaged changes. Do not run this, even if it may compile, as it will NOT work (for a myriad of reasons)!
2013-05-31 05:33:41 -05:00
Shyotl
525f3c6a1d
Added new transformfeedback fasttimers, and disabled rasterizing when performing transform feedback.
2013-05-03 14:35:10 -05:00
Shyotl
701fc87c05
Minor cleanup and additional nullchecks.
2013-05-03 14:29:55 -05:00
Shyotl
fed6639e44
Renamed SHAlphaMaskMaxRMSE to SHAutoMaskMaxRMSE. Disabled alpha masking on attachments.
2013-04-15 18:16:12 -05:00
Shyotl
b16bb264cc
Added an experimental new alphamask detection method(set SHUseRMSEAutoMask to TRUE to use. Adjust SHAlphaMaskMaxRMSE to tweak cutoff). Fixed per-frame sky updates hammering analyzeAlpha.
2013-04-06 02:04:46 -05:00
Drake Arconis
b800320a49
Remove LLMemType and related files
2013-03-04 12:02:01 -05:00
Shyotl
1083d7e0ef
Added LLGLTexture. Virtually completely virtual for now. Also added LLTextureManagerBridge, although not yet utilized.
2012-12-22 23:58:42 -06:00
Shyotl
d54daa19a0
Allow trial of trasform feedback (for testing/benchmark) on hardware that declares support for GL_EXT_transform_feedback. Performance is far less than satisfactory on my hd4870(ogl3.3 gpu), however. Also messes up texcoords. Don't add RenderUseTransformFeedback to settings.xml.
2012-11-09 18:10:39 -06:00
Shyotl
43271f290e
A few more alignment bits and bobs.
2012-10-16 20:07:04 -05:00
Siana Gearz
fef681be7c
Fix annoyance in debug build on OpenSim
2012-09-04 12:54:47 +02:00