Inusaito Sayori
c684987908
Fix bugs introduced in 77a13963bb
...
Fixes Shiny/Bumpy combo boxes being broken
Fixes UI warning for "label glossy" not existing, it was "label glossiness".
2014-05-20 23:37:59 -04:00
Shyotl
53b8f70de8
Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git
2014-05-17 18:26:07 -05:00
Shyotl
a1eb30ae87
Keep old non-swizzle method around since GL_ARB_texture_swizzle has poor support prior to 3.3 (on osx especially)
2014-05-17 18:25:21 -05:00
Shyotl
c4cb9de44b
Merge branch 'master' of git@github.com:singularity-viewer/SingularityViewer.git
2014-05-17 16:30:21 -05:00
Shyotl
0a89503edd
Renamed glUniformMatrix3x4fvARB to glUniformMatrix3x4fv, since I don't think it ever had the ARB postfix. Also use its the properly named (although identical to the current) function pointer signature.
2014-05-17 04:04:33 -05:00
Shyotl
f12bd741e2
Merge branch 'master' of git@github.com:Shyotl/SingularityViewer.git
...
Conflicts:
indra/newview/llvopartgroup.cpp
2014-05-17 03:40:10 -05:00
Shyotl
e35039faf7
Remove deprecated gl call in renderComplexityDisplay.
2014-05-17 03:34:33 -05:00
Shyotl
a756943628
Fix a LLVertexBuffer::validateRange call that I hosed up pretty badly.
2014-05-17 03:33:33 -05:00
Shyotl
a9c3e13e5e
Removed some diagnostic spam pertaining to shaders.
2014-05-17 03:32:40 -05:00
Shyotl
67c8ac2b04
Skinned shaders were exceeding maximum amount of vertex uniforms on amd hardware.
...
-Changed the transform matrix uniform to a 3x4 matrix and packed translation into it to free up uniforms. (3x3 is converted to 3x4 internally, so we were needlessly eating 3*52 extra uniform slots. translationPalette might also have been treated as a vec4 internally too, wasting 52 more slots.)
-matrix3x4 requires opengl2.1 and newer, so added a new featuretable mask.
-Also added a featuretable mask to disable hardware skinning and deferred shading on hardware with less than 1024 vertex uniforms.
NOTE: On old old old amd hardware, evidently a 3x4 matrix might be upgraded to 4x4. I'm unsure, but I doubt such hardware has 1024+ uniform components available to begin with. 4x3 supposedly doesn't do this, but opengl is column-major, so this makes little sense.
2014-05-17 03:31:45 -05:00
Inusaito Sayori
82044399e4
Brought in Realistic Mouselook option from Black Dragon
...
Look at the top area of Input & Camera preferences
Aside from tweaks to the code, all credit to Niran.
2014-05-15 21:01:11 -04:00
Shyotl
fdcf2eda5a
Decouple vbo validation from LLDrawInfo. Such required vbo's to be initialized before drawinfo creation/modification, which is no longer the case with llvovolume. ('RenderDelayVBUpdate'[although removed in Singu] also fails the same assumption.)
2014-05-15 18:44:10 -05:00
Shyotl
e0997f1f04
Decouple vbo validation from LLDrawInfo. Such required vbo's to be initialized before drawinfo creation/modification, which is no longer the case with llvovolume. ('RenderDelayVBUpdate'[although removed in Singu] also fails the same assumption.)
2014-05-15 18:39:35 -05:00
Inusaito Sayori
58859ee709
Minor touchups to spanish translation
2014-05-15 17:36:33 -04:00
Shyotl
c3771e2fd5
Removed unused preprocessor definition in objectSkinV.glsl
2014-05-15 16:23:14 -05:00
Inusaito Sayori
2e49365b0f
Merge branch 'master' of https://github.com/DamianZhaoying/SingularityViewer
2014-05-15 15:37:42 -04:00
Inusaito Sayori
cd87aadab3
Missed a spot.
2014-05-15 00:42:22 -04:00
Inusaito Sayori
e58f8856f4
Add support for Controller Keys, inspired by similar code by CtrlAltStudio Viewer
...
Dear Alpha Users who are curious about this:
A = Alt
B = Shift
X = Ctrl
Y = Escape
Back = Toggle Flycam mode (Use this, it's fun!!!)
Start = Toggle Cursor mode
Right Stick Click = Toggle Mouselook
Left Stick Click = Jump/Fly
Enjoy, I know I do!
2014-05-14 23:48:27 -04:00
Inusaito Sayori
18a48e6609
Fix the inverted mouse issue.
2014-05-14 23:16:55 -04:00
Inusaito Sayori
929b75989c
Sync with alchemy/v-r for flying instead of jumping on button press (Left Stick Click)
2014-05-14 22:58:16 -04:00
Shyotl
7d98030edc
Use the right diffuse shader for skinned deferred diffuse simple object shader.
2014-05-14 19:43:03 -05:00
Shyotl
846d573dd0
Kill stray #endif that snuck into commit.
2014-05-14 16:45:55 -05: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
3db9c6a9ff
Try mask-based object shader configuration, instead of a bazillion hard-coded shader globals. Should be a bit more consistent. (non-deferred only, for now)
...
Also abuse discard in alpha shaders, instead of processing invisible fragments.
2014-05-14 03:30:02 -05:00
Shyotl
22bcf83cb9
Toyed with gl init ordering. Fixes adaptive vsync. May explode on linux, not that adaptive vsync works there, but it should in theory work there if we ever port to sdl2. If it does explode, I'll know shortly... probably.
2014-05-14 03:10:34 -05:00
Shyotl
117eca3c98
Try some swizzling instead of forcing everything to rgba8 with core profile. Avoids manual conversions with scratch buffers. Works for all pixel datatypes. Cleaner. Uses less vram.
...
Also, fixed textures when running core pofile.
2014-05-14 03:05:53 -05:00
Inusaito Sayori
81affe719f
Add a setting to automatically decline and leave incoming conferences
...
Look under Communication preferences for "Block incoming conference chats" to activate.
2014-05-14 03:34:32 -04:00
Inusaito Sayori
3febec4aa4
Merge up CtrlAltStudio and Alchemy for XBox360 support
...
Can't seem to get scrollies working in cursor mode, odd.. need to look into that.
I need to figure out if inverted Y axis is just for me on my Dual Shock 3, though it seems to work usually... if this is the case I might flip it in the code.
More work needs to be done to get ctrl/alt/shift support from CAS, too.
I just wanted to get today's work out of the way and wrapped up, so here it is.
2014-05-14 02:23:55 -04:00
Inusaito Sayori
a78c6072ce
Sync llviewerjoystick with upstream sources.
...
Replaces old constant of dividing by 3 with debug setting for multiplying: FlycamBuildModeScale
Relicenses to lgpl.
2014-05-13 21:27:18 -04:00
Lirusaito
aa6a57be63
Remove "wanna->want to" from auto replace, it is stylistic.
2014-05-12 19:26:16 -04:00
Inusaito Sayori
fd29dd9508
Spaces to Tabs for Last commit
2014-05-09 22:19:52 -04:00
Bob Shaffer II
5080ebf88f
reverting some changes to llvovolume that seems to break animated textures
...
Signed-off-by: Siana Gearz <siana.sg@live.de >
2014-05-10 03:13:15 +02:00
Siana Gearz
873df7805b
Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer
2014-05-10 03:12:32 +02:00
Inusaito Sayori
009fb10927
Feature Request: Add AutoresponseOnlyIfAway to send autoresponses only if in AFK or FakeAway modes
2014-05-09 20:32:38 -04:00
Inusaito Sayori
3898d29741
[Preferences Refactor] Touchup on voice prefs borkage.
2014-05-09 20:31:05 -04:00
Siana Gearz
1c521a3743
Merge branch 'master' of https://github.com/lkalif/SingularityViewer
2014-05-09 22:18:10 +02:00
Siana Gearz
098d1b30ff
Merge branch 'master' of git://github.com/Lirusaito/SingularityViewer
2014-05-09 22:15:38 +02:00
Siana Gearz
484108dafc
Fix VS2012 64-bit debug build
2014-05-09 22:14:47 +02:00
Inusaito Sayori
029d260ad8
Feature Request: Persistent setting for AllowSelectAvatar (su useful!)
2014-05-09 10:39:07 -04:00
Inusaito Sayori
e6bc8f8583
Enable custom and window resolution for snapshots to inventory and set the max size to 1024, not 512. -- on request of Vivena (and the in-world group as a whole)
2014-05-09 09:30:13 -04:00
Inusaito Sayori
77a13963bb
Joint effort with Alchemy Viewer to make build floater a lot lighter on FPS
...
Gets rid of all those pointless callbacks and static workarounds for legacy callback system.
Should massively improve FPS while build floater is open
Fixes getChild UI Warnings
Removes dumb func
2014-05-09 06:40:53 -04:00
Inusaito Sayori
656eacbb09
Merge branch 'master' of git://github.com/Shyotl/SingularityViewer
2014-05-08 19:57:01 -04:00
Shyotl
98f9a09b39
sunlight_color_copy need only be vec3.
2014-05-08 16:39:41 -05:00
Shyotl
7e8e8bdb26
Disable some diagnostic gunk eating memory.
2014-05-08 16:35:12 -05:00
Shyotl
e2a0f801b9
Have LLRender::color4ub fall back to uniform if bound vbo lacks color attribute. Fixed fixed-function call in LLFacePool::LLOverrideFaceColor::setColor.
2014-05-08 16:29:53 -05:00
Shyotl
75b31b4151
Fix a nullptr usage.
2014-05-08 16:24:24 -05:00
Shyotl
f0763fd31c
Tweaked context-recreation logic to force a 0xAA context when fbos are in use. Should also handle toggling of fbo checkbox a bit gracefully as well.
2014-05-08 15:48:08 -05:00
Shyotl
162e7b7699
Fixed a silly mistake that was causing vsync to be enabled when it should have been. Also fix typo in objectSkinV.glsl previous commit
2014-05-08 15:30:02 -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
Inusaito Sayori
1fa30dd337
Fix Issue 1502: The Builders' Brewery says our prim torture behavior is nonstandard
...
Our uictrl limits were in need of a quick tune-up.
2014-05-07 06:54:17 -04:00