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
Siana Gearz
29adc28d80
ivec4 still needed as texture index on some SONY VAIO and Toshiba ATI drivers.
...
This reverts commit b8b235df09 .
2012-09-02 19:26:28 +02:00
Shyotl
726d8248c5
Trying alpha-face rebuild using LL's method.
2012-07-26 00:17:38 -05:00
Shyotl
b8b235df09
And suddeny the texture index attrib(for batching) is now an integer! (Changing switch to an if block on nividia hardware seems like the real solution to pink textures... not the index datatype)
2012-07-20 12:03:41 -05:00
Shyotl
531af998fb
MAINT-775: Fix for particle index pool corruption on teleport. (And removed alternative workaround) https://bitbucket.org/davep/viewer-development/changeset/04fdf7945708
2012-07-20 11:29:11 -05:00
Shyotl
a56ad597d4
MAINT-646: Factor std::set out of lloctree https://bitbucket.org/davep/viewer-development/changeset/52b6c9168974
2012-07-18 00:54:52 -05:00
Lirusaito
44b69f3d3e
Merge branch 'V2MultiWear' of git://github.com/Shyotl/SingularityViewer into V2MultiWear
...
Conflicts:
indra/llrender/llvertexbuffer.h Chose Shyotl's.
2012-07-11 23:23:31 -04:00
Shyotl
4f3f503953
Recreate mDeferredVB on vertexbuffer reset.
...
Shuffled some code from LLVOPartGroup::restoreGL() to LLVOPartGroup::destroyGL(), as it makes more sense there.
Bind the correct shader in wireframe..
glLineStipple call managed to sneak into no-fixed-function mode.
LLViewerWindow::initFonts was called frequently and redundantly during destroygl->restoregl transition.
2012-07-11 17:12:40 -05:00
Siana Gearz
cd2dc2f3ca
Merge branch 'V2MultiWear' of git://github.com/Shyotl/SingularityViewer into V2MultiWear
...
Conflicts:
indra/llrender/llvertexbuffer.h
indra/newview/app_settings/settings.xml
indra/newview/llface.cpp
2012-07-03 07:49:22 +02:00
Shyotl
67e1a3b004
Lindie viewer-dev catchup regarding rendering pipeline.
2012-06-30 20:05:31 -05:00
Lirusaito
e20b383aa0
Small changes that seem to make clang happier.
2012-04-30 23:48:30 -04:00
Shyotl
e1d243272f
V3 merge part 1 / 2.
2012-04-13 22:39:39 -05:00
Siana Gearz
ce1607cf17
Plugging the mesh crash - thanks FS team!
2012-03-26 22:58:05 +02:00
Siana Gearz
3f0f955a76
Catching up with Lindies part 2
2012-03-25 10:47:20 +02:00
Shyotl
6374f012de
new fasttimers, including ui.
2012-01-23 18:30:54 -06:00
Shyotl
b338506229
VBO updates from Vir Lindens shining fixes. VBO mapping perf improvement. Alpha rigged attachments render fix, hopefully. Crashfix in void pushWireframe.
2012-01-19 19:01:44 -06:00
Shyotl
ffb285c6ff
Huge renderer update (WIP). Still plenty to do, especially pertaining to UI.
...
-Nametag bubble visbility is oddly inconsistent. May vanish with future planned UI merges...
-VBOs are PAINFULLY slow on ATI hardware. This repos self-compiled davep/shining-fixes branch, so I'll leave the ball in LL's court for now regarding that.
2011-12-09 14:02:29 -06:00
Shyotl
83e8a9076b
Several gl calls now wrapped via LLRender (gGL) as prep for future changes:
...
glMatrixMode -> gGL.matrixMode
..GL_MODELVIEW -> LLRender::MM_MODELVIEW
..GL_POJECTION -> LLRender::MM_PROJECTION
..GL_TEXTURE -> LLRender::MM_TEXTURE
glMultMatrix -> gGL.multMatrix
glLoadMatrixf -> gGL.loadMatrix
glPushMatrix -> gGL.pushMatrix
glPopMatrix -> gGL.popMatrix
glLoadIdentity -> gGL.loadIdentity
glRotatef -> gGL.rotatef
glTransformf -> gGL.transformf
glOrtho -> gGL.ortho
glColor3f -> gGL.diffuseColor3f
glColor3fv -> gGL.diffuseColor3fv
glColor4f -> gGL.diffuseColor4f
glColor4fv -> gGL.diffuseColor4fv
glColor4ubv -> gGL.diffuseColor4ubv
glLightModelfv(GL_LIGHT_MODEL_AMBIENT -> gGL.
2011-11-21 15:55:44 -06:00
Shyotl
8a5793ce23
Selected face overlay no longer z-fights with the selected prim face.
2011-10-20 16:23:28 -05:00
Shyotl
1fb1ba05ce
Optimization. Skip binding for rigged face types that have no faces to display.
2011-09-12 15:30:42 -05:00
Shyotl
87bada69fa
GCC fixup
2011-09-09 14:42:59 -05:00
Shyotl
e4b640887a
Potential optimization for dense VBO arrays.
2011-08-19 01:29:04 -05:00
Shyotl
d2ae02a855
Slight cleanup. Also, index arrays are always non-strided, so now using vectorization.
2011-08-18 00:33:59 -05:00
Shyotl
978424ced0
Cleanup. Also made it so LLModel::setVolumeFaceData hopefully wont explode if it's ever utilized by future code.
2011-08-14 03:56:54 -05:00
Shyotl
ca328aec72
Replaced some opengl fixed functions with shaders. Temporary ShyotlUseLegacyRenderPath setting to debug if this change actually improves framerate at all (setting not tied to callbacks. Have to toggle shaders to have stuff pick up the setting change)
2011-08-10 03:53:49 -05:00
Shyotl
896b7146e7
Fixed vertex corruption if avatar shaders are off and jointmesh is not vectorized. Also, now preventing usage of unsupported vectorization paths.
2011-08-10 02:01:53 -05:00
Shyotl
04ea6a967e
Removed dead code related to 'RenderForSelect'.
2011-08-09 02:11:10 -05:00
Shyotl
9bda97786f
Batch indexing/no-fixed-function WIP.
2011-08-09 01:11:05 -05:00