SamGondelman
ccca6d935f
don't fade after physics kick in
2016-08-12 14:35:22 -07:00
samcake
4fe67bfbf1
Merge branch 'master' of https://github.com/highfidelity/hifi into hdr
2016-08-12 10:56:59 -07:00
Seth Alves
77a49e6c10
when building in debug mode on Linux, for reasons totally beyond me, this code ends up using the Vertex from FBXReader_Mesh.cpp (which is a different size so I get a crash). This change hopefully doesn't change any functionality while sidestepping what's probably a bug in gcc.
2016-08-12 10:01:20 -07:00
Brad Hefta-Gaub
a714f325fe
Merge pull request #8333 from SamGondelman/miscFixes
...
Miscellaneous cmake and render engine improvements
2016-08-10 11:06:50 -07:00
SamGondelman
9e20d92241
CR changes
2016-08-10 10:35:18 -07:00
SamGondelman
9b27f8bc0f
Merge remote-tracking branch 'upstream/master' into loadingFade
2016-08-09 14:55:14 -07:00
SamGondelman
36d9f92101
performance optimization to minimize calling usecTimestampNow
2016-08-09 13:10:02 -07:00
SamGondelman
ae9fb3768c
CR notes
2016-08-08 17:45:25 -07:00
samcake
4d3dce449f
Better maybe
2016-08-08 17:28:04 -07:00
Ryan Huffman
6854f9fda4
Remove stars shaders and renderable
2016-08-08 16:03:03 -07:00
SamGondelman
de900e85c0
remove duplicate include
2016-08-08 14:10:47 -07:00
SamGondelman
328d3128fa
merge from master
2016-08-08 13:30:39 -07:00
SamGondelman
f311907982
fix merge mistake
2016-08-08 11:08:01 -07:00
Ryan Huffman
2a071c4329
Fix improperly formatted floats
2016-08-08 10:39:06 -07:00
Ryan Huffman
4f9be2ae72
Fix camera position not being set for angular loading
2016-08-08 08:53:06 -07:00
Ryan Huffman
77e993510e
Cleanup implementation of angular loading
2016-08-08 08:53:05 -07:00
Ryan Huffman
c594dcdf9f
Add priority loading for model entities
2016-08-08 08:52:29 -07:00
sam
db8bf78dd1
Good state
2016-08-08 02:28:25 -07:00
sam
e6c74b29c7
WTF...
2016-08-07 19:48:23 -07:00
sam
b133556c14
Merge branch 'master' of https://github.com/highfidelity/hifi into hdr
2016-08-07 18:55:44 -07:00
sam
d1105b8102
Still trying
2016-08-07 18:10:03 -07:00
sam
e92e69d963
More changes
2016-08-06 11:54:54 -07:00
SamGondelman
dd51e0e38f
merge from master
2016-08-05 17:04:45 -07:00
SamGondelman
771e105fa2
Merge remote-tracking branch 'upstream/master' into loadingFade
2016-08-05 16:52:01 -07:00
Sam Gondelman
debda37567
Merge pull request #8379 from SamGondelman/loadingFade
...
fixed procedural entity fade
2016-08-05 16:48:51 -07:00
SamGondelman
b794259b7d
fixed procedural entity fade
2016-08-05 16:15:10 -07:00
Sam Gondelman
84b7f9b186
Merge pull request #8375 from SamGondelman/loadingFade
...
remove polyvox fade, fix web fade, add light fade
2016-08-05 11:53:15 -07:00
SamGondelman
8494400047
don't use web entity texel color alpha as per tony's suggestion
2016-08-05 11:27:56 -07:00
SamGondelman
130e64aaba
remove polyvox fade, possibly fix web fade
2016-08-05 10:36:48 -07:00
Brad Hefta-Gaub
83280aa3f2
implement support for updating the render items of models when they finish their fade
2016-08-05 10:11:07 -07:00
sam
e96fd92f32
Merge branch 'master' of https://github.com/highfidelity/hifi into hdr
2016-08-05 09:28:45 -07:00
sam
92c0fa2e7a
Testiung more variations
2016-08-05 09:26:48 -07:00
SamGondelman
b6e73e06a2
merge from master
2016-08-04 13:34:38 -07:00
Seth Alves
905c6147cf
Merge branch 'master' of github.com:highfidelity/hifi into default-when-av-fails
2016-08-04 09:56:32 -07:00
SamGondelman
d7052f6250
try to make text entities fade
2016-08-03 16:27:51 -07:00
SamGondelman
7713c1f4bf
try to fade in web entities
2016-08-03 15:56:41 -07:00
samcake
b4e5b60656
fixing ao
2016-08-03 15:45:22 -07:00
Anthony J. Thibault
f24c92f3a1
Bug fix for avatar debug marker rendering.
...
"Developer > Hands > Show Hand Targets" works again
"Developer > Avatar > Draw Position" works again
2016-08-03 15:43:31 -07:00
SamGondelman
27bacc9165
try to fade in procedural shapes
2016-08-03 14:33:05 -07:00
SamGondelman
2eb0c7735f
working on fading shape entities
2016-08-03 13:30:05 -07:00
Seth Alves
c743cf379e
use loadCollisionModelURLFinished when collisions model is finished
2016-08-03 11:31:51 -07:00
Seth Alves
ad4fc8c656
merge from upstream, don't hold up enabling of physics if a collision hull fails to load
2016-08-03 10:42:15 -07:00
SamGondelman
d63a0ef08f
working on making other entities transparent
2016-08-02 18:09:42 -07:00
Stephen Birarda
5d3e125a06
make failed geomtetry request not hold physics
2016-08-02 16:32:41 -07:00
SamGondelman
5de21982be
fix linux build
2016-08-02 11:44:17 -07:00
SamGondelman
ad5dec829c
why did I change that
2016-08-02 10:52:51 -07:00
SamGondelman
3d08502080
space
2016-08-02 10:50:57 -07:00
SamGondelman
74f11eb70b
try a different easing function
2016-08-02 10:50:31 -07:00
samcake
4ec971b449
MOre debugging
2016-08-01 23:17:32 -07:00
SamGondelman
0b5c7909b8
a calculated change
2016-08-01 18:45:25 -07:00
Seth Alves
b953e6f0ff
when an avatar URL fails, switch to the default
2016-08-01 18:12:30 -07:00
SamGondelman
6154aaddda
try to fix linux build
2016-08-01 16:19:03 -07:00
SamGondelman
ae0b9ea9a3
fade wireframes
2016-08-01 15:26:04 -07:00
SamGondelman
313ba87fce
fade on texture load
2016-08-01 14:47:20 -07:00
SamGondelman
217a102926
working on loading fade
2016-08-01 13:15:55 -07:00
samcake
3ca1cdd645
Merging with master
2016-08-01 12:42:33 -07:00
samcake
beb42332ef
save the current state of adding debug and evolving the ao job
2016-07-31 16:05:25 -07:00
SamGondelman
676f4bdfcf
misc fixes from particles branch
2016-07-29 15:36:32 -07:00
Anthony Thibault
ea310bcc43
Web Entities now render correctly as well
2016-07-28 14:11:19 -07:00
Anthony Thibault
be6e401e9a
Merge branch 'master' into bug-fix/web3doverlay-rendering
2016-07-28 11:20:35 -07:00
Anthony Thibault
6b8e912114
Fix for mac and linux builds
2016-07-28 10:02:19 -07:00
samcake
afb1ebf42e
Revolutionizing ao
2016-07-26 23:19:41 -07:00
Bradley Austin Davis
fa20898285
Remove last direct use of gpu::Context::render()
2016-07-26 16:13:22 -07:00
Bradley Austin Davis
bb6abf11d3
FramebufferCache, cleanup & thread safety
2016-07-26 15:32:31 -07:00
Anthony J. Thibault
0a35c13a94
Moved creation of pipeline into call_once block
2016-07-25 16:30:29 -07:00
Anthony J. Thibault
fb84f058d6
Fix alpha cut-outs and incorrect gamma on Web3DOverlays
2016-07-25 15:56:05 -07:00
Chris Collins
e1e1ca1c12
Merge pull request #8306 from AndrewMeadows/fix-crash-on-avatar-change
...
fix interface crash when chaning avatar models
2016-07-25 12:11:46 -07:00
Chris Collins
3c9b9aef4f
Merge pull request #8304 from ChristophHaag/fixGridShader
...
fix grid shader
2016-07-25 09:47:12 -07:00
Andrew Meadows
d876251f1e
release geometry refs in Model::deleteGeometry()
2016-07-24 19:17:39 -07:00
Brad Davis
85b0440e32
Disable glow lines (and the use of geometry shaders) on non-Windows platforms for now
2016-07-23 11:06:33 -07:00
Christoph Haag
7134d2bfd4
fix grid shader
...
this shader is used for example in
developer - audio - audio scope - show scope
2016-07-23 11:09:16 +02:00
Ryan Downe Karpf
91714aaca6
Merge pull request #8258 from AlexanderOtavka/edit-model-ui
...
Edit model dialog improvements
2016-07-22 17:11:52 -07:00
samcake
1c4742e710
Fixing comments from review
2016-07-20 11:02:27 -07:00
Andrew Meadows
2afd65467a
fix bug where model is not yet ready for col shape
2016-07-19 18:01:22 -07:00
samcake
8f663f20e0
FIx warnings
2016-07-19 13:24:03 -07:00
samcake
7f169b8e4f
Adjust qml positions and fix one shader bug
2016-07-19 13:20:19 -07:00
samcake
3e7126f5be
Removed reference to LIghtingModel.slh in teh DefereedBufferWrite.slh to avoid side effects
2016-07-19 13:06:26 -07:00
samcake
4742f40128
Separating the normal packing into it s own file and make sure to sclae the filter radius correctly dpeending on the resolution of diffusion
2016-07-19 12:23:57 -07:00
samcake
36d58a2b82
Finish the integration of the diffusion pass in the SurfaceGeometryPass job, clean up ui
2016-07-19 10:34:06 -07:00
samcake
ff132fa712
Gathering the diffusion passes in the SUrfaceGEometryPAss job
2016-07-19 02:11:22 -07:00
samcake
a8dd06ad38
Better groupint of the diffuseion of the curvature for easier fix for mini mirror
2016-07-18 19:24:43 -07:00
samcake
34f2a96888
Adding the check for Obscurrance
2016-07-18 18:11:51 -07:00
samcake
80587ca8a3
using the textureGather lookup
2016-07-18 12:52:21 -07:00
samcake
be4839d46c
a better depth filter
2016-07-18 12:26:04 -07:00
samcake
a4ad4659c4
Fixing build warnings
2016-07-18 11:17:06 -07:00
samcake
a44aee84ce
Merge branch 'master' of https://github.com/highfidelity/hifi into skin
2016-07-18 10:16:55 -07:00
samcake
86d9ee56d2
Downsampling shader pass
2016-07-18 03:56:11 -07:00
samcake
5a0ce81516
Performing the curvature generation and diffusion at half the resolution
2016-07-18 03:54:05 -07:00
samcake
378f4576fa
a bit better making the curvature and diffusion passes
2016-07-17 20:18:06 -07:00
samcake
cfa51ae1f5
REmoving problematic timers for mac
2016-07-17 18:32:43 -07:00
samcake
9332f82d54
Carrefully improving the curvature generation performances
2016-07-17 17:13:07 -07:00
samcake
744474982d
Merge branch 'master' of https://github.com/highfidelity/hifi into skin
2016-07-17 13:28:03 -07:00
Brad Davis
03cb6175ab
Support triangle and hexagon shapes, add shape support to overlays.
2016-07-15 22:02:17 -07:00
samcake
076b8cd297
Instrumenting the GPU git status
2016-07-15 17:47:54 -07:00
Brad Davis
b31300406a
Don't extend glow line length
2016-07-15 16:20:05 -07:00
samcake
22ac95d463
REvisiting the RangeTimer to measure the real gpu duration
2016-07-15 09:12:16 -07:00
samcake
d69be5e4d2
Fixing the default value for the lightingMOdel flag when using debugDeferredLighting
2016-07-14 16:45:56 -07:00
samcake
776bcb6655
FIxing the web entity rendering
2016-07-14 15:49:49 -07:00
Zach Pomerantz
e4dabc6be4
fix task config initialization
2016-07-14 13:16:19 -07:00
samcake
3ab56062d4
Address some warnings and syntax issues
2016-07-14 12:06:02 -07:00
samcake
a42f9a5d0e
FIxing the mini mirror perf issue and the gamma correction
2016-07-14 10:53:13 -07:00
samcake
b9a2b2778e
Adding the support for the subregion in the blur passes to apply it correctly to mini mirror
2016-07-13 18:53:37 -07:00
samcake
f6671b34fa
Fix the transformation problem for rendering the mini mirror (scattering is still screwed though)
2016-07-13 18:26:53 -07:00
samcake
219b41e813
Fix the mini mirror perf issue and improve the debugDeferredLighting script
2016-07-13 17:37:35 -07:00
Andrew Meadows
3e43859139
setCollisionModelURL() more symmetric with setURL()
2016-07-13 15:13:35 -07:00
Andrew Meadows
4bebb682dc
namechange: fetchResource --> getGeometryResource
2016-07-13 15:13:35 -07:00
Andrew Meadows
9f7d2cf263
NetworkGeometry --> GeometryResourceWatcher
...
Model class gets render and collision geometries with watchers
also changed names for readability
2016-07-13 15:00:12 -07:00
Andrew Meadows
f6681d4b3d
remove unused cruft
2016-07-13 15:00:12 -07:00
samcake
8acc18ae8b
Merge branch 'master' of https://github.com/highfidelity/hifi into skin
2016-07-13 11:42:07 -07:00
samcake
307243da8b
cleaning compilation warnings and tuning the FBX material mapping pass
2016-07-13 11:04:53 -07:00
samcake
2c584f7690
Fixing a bad autoRef usage
2016-07-13 10:34:43 -07:00
samcake
9f91dd5bfc
Cleaning the gpu-test app to work with the new deferred pipeline
2016-07-13 10:19:42 -07:00
samcake
51594fefa2
more clean up
2016-07-12 18:21:31 -07:00
Brad Hefta-Gaub
819cab4aab
Merge pull request #8158 from sethalves/raypick-avatars
...
Raypick avatars
2016-07-12 15:27:30 -07:00
samcake
cde17ecaab
Clenaing the rendering and the framebuffer allocations
2016-07-12 14:34:54 -07:00
samcake
504e9f154c
Less comments
2016-07-12 09:18:02 -07:00
samcake
e0993c593b
BRinging the intermediate render textures in the pipeline as varyings and not throug the singletonn anymore
2016-07-11 18:34:18 -07:00
samcake
ba7590712a
BRinging the intermediate render textures in the pipeline as varyings and not throug the singletonn anymore
2016-07-11 18:33:57 -07:00
samcake
0e99a4ac97
Merge branch 'master' of https://github.com/highfidelity/hifi into skin
2016-07-11 10:49:28 -07:00
Brad Davis
2c72037e81
Fixing warnings
2016-07-09 20:43:31 -07:00
Brad Davis
31948bce2d
Support alpha and color gradients in circle overlays
2016-07-09 20:43:30 -07:00
samcake
2fbdb22493
Cleaning up the lighting with the simpler approach where emissive and lightmap is displayed on forward
2016-07-08 18:14:05 -07:00
Seth Alves
5c69e55475
Merge branch 'master' of github.com:highfidelity/hifi into raypick-avatars
2016-07-08 17:43:52 -07:00
Brad Davis
ae1dd29a7a
Fix depth writing for glow lines
2016-07-08 10:27:53 -07:00
samcake
37f7596183
Trying to unify the shaders with/without scattering eve more but found a scribe bug. REnder emissive and lightmap during forward pass
2016-07-08 09:04:10 -07:00
samcake
fff2a9a5a2
REfactoring the shading functions interface to account for scattering
2016-07-07 21:16:28 -07:00
Brad Davis
c644c87e69
Fix glow line vanishing, improve transparency interaction
2016-07-07 19:01:41 -07:00
Seth Alves
11542aeca2
pick against avatar's capsule and then against the T-pose mesh
2016-07-07 16:36:25 -07:00
samcake
5827993125
Fixing warnings
2016-07-07 16:30:10 -07:00
samcake
1eb4acf815
Unifying the lighting pass for scaterring and not
2016-07-07 15:41:00 -07:00
Brad Davis
8ca3630cfa
Support glow effect in 3D line overlays
2016-07-07 13:36:48 -07:00
samcake
8f2bf2b423
Integrating the scattering to the local lights
2016-07-06 17:13:16 -07:00
samcake
66b65391a4
Cleaning up the lighting equations
2016-07-05 18:21:49 -07:00
Seth Alves
5ab82cd7c8
Merge branch 'master' of github.com:highfidelity/hifi into raypick-avatars
2016-07-02 15:11:59 -07:00
samcake
2a52f1db7f
Adding the lighting model class to configure accross the jobs the lighting
2016-07-01 18:36:51 -07:00
samcake
9281b28d43
Merge branch 'master' of https://github.com/highfidelity/hifi into skin
2016-07-01 13:39:12 -07:00
samcake
9a604d0ede
Bringing Beckmann specular to the lighting
2016-06-30 19:03:24 -07:00
Brad Davis
b7926b8582
Don't render wire geometry with lighting effects
2016-06-30 16:11:05 -07:00
samcake
ab21a5a5d5
FIxing the bad brdf and adding better debug tool and better Pipeline architecture
2016-06-29 18:59:06 -07:00
Seth Alves
5f9c7b6ea5
trying to take joint information into account when raypicking against models
2016-06-29 17:02:49 -07:00
Seth Alves
d53c7ae5d8
experimenting
2016-06-29 12:39:04 -07:00
samcake
7f5e22d0eb
Post tuesday review, clean up
2016-06-28 17:20:24 -07:00
samcake
d128af48db
Fix the curvature issue in stereo by evaluating in the mono clip space, not stereo. INtegrate the scattering in simple ambient without IBL
2016-06-28 13:47:55 -07:00
samcake
197d49fc03
introducing the depth aware blur
2016-06-27 17:04:37 -07:00
samcake
9bc8441c73
Friday night build, working on getting the LUT generated on the GPU
2016-06-24 17:50:43 -07:00
samcake
a619a142ed
Friday night build, working on getting the LUT generated on the GPU
2016-06-24 17:48:40 -07:00
samcake
ec68eba3cb
Merge branch 'master' of https://github.com/highfidelity/hifi into skin
2016-06-24 09:37:52 -07:00
samcake
e95a31f760
CLeaning up and debugging the splotch
2016-06-24 09:18:04 -07:00
samcake
884b9211c6
Curvature is looking correct now without artefact, moving on to the lighting
2016-06-23 17:13:48 -07:00
samcake
3ec14fd746
MErging and still trying to understand the curvature isssue
2016-06-22 18:06:55 -07:00
samcake
bd28498833
trying to fix the curvature artefact
2016-06-21 18:25:02 -07:00
samcake
0c882832bf
Bringing the Scattering type to the pixels and having a different shading during the lighting pass (for global right now)
2016-06-20 17:58:35 -07:00
Andrew Meadows
5d5dc2837b
fix comment
2016-06-20 17:29:20 -07:00
samcake
37a6d29406
Finally clean the lighting pass for global and local lights, split it into global and locals and make it work with the stereo single drawcall
2016-06-17 17:19:49 -07:00
samcake
904efc8076
SPlitting appart the DeferredLIghting Effect
2016-06-17 09:31:32 -07:00
samcake
350f06465d
Introducing the deferredFRameTransform to DeferredLighting Effect and simplifying the rendering!
2016-06-16 18:28:08 -07:00
samcake
e31a3b4d08
After trying stop trying to expose a generic [] operator on Varying and Containers
2016-06-15 15:13:51 -07:00
samcake
42eaaf742d
Protoype done
2016-06-14 18:29:06 -07:00
samcake
8858f9dc82
IUse the light stage finally for the scattering prototype
2016-06-14 09:54:51 -07:00
samcake
414c43c012
Current state
2016-06-13 19:10:50 -07:00
samcake
f69c72f984
Fixing the VaryingPair problem
2016-06-13 10:44:31 -07:00
samcake
6a5dff06c4
Pushing a shitty state where the pairs of Varyings don;t get copied correctly
2016-06-13 09:46:24 -07:00
samcake
c325cc50dd
Adding the depth aware blur
2016-06-11 18:54:22 -07:00
samcake
28886f6ec3
Many improvments
2016-06-10 17:18:12 -07:00
samcake
6831710efb
Adding the deawSCattering pass
2016-06-09 19:13:28 -07:00
samcake
75a2864845
Merge branch 'master' of https://github.com/highfidelity/hifi into skin
2016-06-09 14:36:28 -07:00
samcake
0b873365ed
save current state
2016-06-09 14:35:44 -07:00
samcake
7bd686167e
Adding the generation of the Scattering on GPU
2016-06-09 09:33:03 -07:00
samcake
e69022285e
A lot more stuff to try to see the skin scattering
2016-06-08 18:58:50 -07:00
Brad Hefta-Gaub
262e0262fc
Merge pull request #7889 from samcake/color
...
add support for ambient occlusion texture and lightmap texture for fbx exported from Blender
2016-06-08 17:38:45 -07:00
samcake
75a5f6bd89
Intoducing the bluring as a separate Job reusable and the first version of curvature
2016-06-07 18:13:40 -07:00
samcake
8d90570f72
Correcting the Z sign
2016-06-06 09:29:50 -07:00
samcake
0ea1e7c6b5
Adding acleaner way to do all the deferred frame transform manipulation
2016-06-03 19:29:48 -07:00
Andrew Meadows
c73757f740
use many colors for collision hull rendering
2016-06-03 10:47:54 -07:00
samcake
079f6af2cc
Fixing the gamma correction for the debug view of occlusion
2016-06-02 16:14:46 -07:00
samcake
2489df8229
Merge branch 'master' of https://github.com/highfidelity/hifi into color
2016-06-02 15:16:41 -07:00
samcake
25eb569433
Merge branch 'master' of https://github.com/highfidelity/hifi into color
2016-06-02 10:38:40 -07:00
samcake
1dca62f752
Introducing a new technique for normal packing and fixing a bug on the normal buffer format
2016-06-01 17:51:53 -07:00
samcake
3fe9b67e45
FIxing the reflection jittering by moving the normal into world space
2016-05-27 19:24:56 -07:00
Andrew Meadows
1132b4666a
Merge pull request #7975 from jherico/shared_shapes
...
Moving shape definition to a shared location
2016-05-27 07:28:11 -07:00
Brad Davis
2c02c963d4
Moving shape definition to a shared location
2016-05-26 12:22:39 -07:00
Brad Hefta-Gaub
06cb625d09
Merge pull request #7959 from hyperlogic/tony/improved-avatar-mixer-precision
...
Improved Avatar Mixer Rotation Precision
2016-05-25 17:14:12 -07:00
samcake
b76cda3c89
Merge pull request #7945 from Geenz/20901
...
20901: Add Range Based Light Attenuation
2016-05-25 16:39:01 -07:00
Brad Hefta-Gaub
b8b39b962d
Merge pull request #7868 from jherico/entity_shape
...
Add a generic shape primitive
2016-05-24 08:40:58 -07:00
Anthony J. Thibault
a1c32f8c44
Merge branch 'master' into tony/improved-avatar-mixer-precision
2016-05-23 10:24:52 -07:00
Geenz
bd6f6d2eef
Typo.
...
Not quite sure how this got here.
2016-05-23 09:53:22 -04:00
Brad Davis
2c703e963c
More shapes
2016-05-22 19:48:59 -07:00
Geenz
ff3fca3dc3
Remove no longer necessary light vector parameter.
2016-05-22 21:50:48 -04:00
Brad Davis
cd1e910844
Add a generic shape primitive
2016-05-21 23:46:44 -07:00
Seth Alves
40e862cf9e
quiet gcc 5 warnings
2016-05-21 16:53:01 -07:00
Geenz
a80f47e550
Merge remote-tracking branch 'highfidelity/master' into 20901
2016-05-20 21:12:42 -04:00
Brad Hefta-Gaub
95f7ea5609
Merge pull request #7922 from samcake/red
...
improve performance of Light volume pass
2016-05-20 09:33:55 -07:00
Geenz
6ecbdc6b9a
Modify evalLightAttenuation to "fade" edges of lights.
...
This provides a more attractive light falloff around the bounds of a
light - removing harsh edges.
This also adds a new parameter to evalLightAttenuation - the
unnormalized light vector.
2016-05-19 20:03:05 -04:00
samcake
2d7118dacc
clening up the code
2016-05-19 10:21:00 -07:00
Zach Pomerantz
e1971f5ed3
Fix shadow bounds checking
2016-05-18 18:58:28 -07:00
samcake
185f069441
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-05-18 13:16:14 -07:00
samcake
89f18aee3b
Simplifying the deferredbuffer clear and enableing z test for lighting pass
2016-05-18 13:14:42 -07:00
samcake
8ec280535b
FIx bad roughness value read from the deferred buffer
2016-05-17 11:13:34 -07:00
samcake
d06c6e2a59
Fix forgotten vertex shader case
2016-05-16 17:54:42 -07:00
Anthony J. Thibault
55b0060df9
Convert JointData from relative frame to absolute.
2016-05-16 17:48:52 -07:00
samcake
a12e56f880
Fix forgotten vertex shader case
2016-05-16 17:43:54 -07:00
samcake
c1fa096e78
adding texcoord 1 on all the material/model and go fetch occlusion map with this uv instead of texcoor0. this allow for separate transforms just for occlusoin map
2016-05-16 15:42:48 -07:00
Brad Hefta-Gaub
1f800294c6
Merge pull request #7880 from jherico/gpu_smart_buffers
...
Support partial CPU->GPU buffer transfers
2016-05-14 17:44:26 -07:00
Brad Davis
1e136ed71f
Fix procedural rendering on primitives
2016-05-14 10:59:59 -07:00
Brad Davis
9509e32928
PR feedback
2016-05-14 08:28:51 -07:00
Brad Hefta-Gaub
e754b9e19c
Merge pull request #7871 from samcake/hdr
...
Defaulting the color formats used in the rendering pipeline to sRGB
2016-05-13 17:35:48 -07:00
Brad Davis
85272a87ba
Merge pull request #7859 from samcake/lemon
...
Introduce the "Unlit" shading model support and apply it to Web Enitities
2016-05-12 15:09:50 -07:00
samcake
d5a9d39edf
Defaulting the color formats used in the rendering pipeline to sRGB
2016-05-11 18:01:19 -07:00
samcake
1ec9ef560e
Fixing the srgb color format conversion for web entities
2016-05-11 10:46:54 -07:00
samcake
e40a795a27
Trying to clean up for pr
2016-05-10 19:25:22 -07:00
Anthony J. Thibault
80a349c65b
Merge branch 'master' into tony/improved-avatar-debug-draw
2016-05-10 14:50:13 -07:00
samcake
303cade547
Merge branch 'master' of https://github.com/highfidelity/hifi into lemon
2016-05-10 09:56:05 -07:00
samcake
00f2e34aa9
Changing emissive to unlit
2016-05-09 17:18:07 -07:00
samcake
615f4028c4
fixing the web enitites lighting, still need to solve the sRGB for it, starting to introduce the unlit feature to the overlays
2016-05-09 17:17:16 -07:00
Anthony J. Thibault
641e152699
Eye tracking bug fix and debug rendering improvement
...
* Bug fix for eye tracking in HMD, the "up" orientation of your eyes now match your head.
* DebugDraw: added drawRay method.
* Application: Renamed preRender to postUpdate
* AvatarManager: added postUpdate method that iterates over all avatars.
* MyAvatar: Renamed preRender to preDisplaySide
* MyAvatar: split preRender code into postUpdate and preDisplaySide.
* Removed "Show who is looking at me", "Render focus indicator" and "Render lookat target" debug draw.
* Split "Show Look At Vectors" into "Show My Look At Vectors" and "Show Other Look At Vectors", to make it easier to debug eye tracking.
* "Show Look at Vectors" now draws the right eye red and the left eye blue.
* Removed Avatar and MyAvatar renderBody
* Removed look at rendering from head.
* GLMHelpers: Bugfix for generateBasisVectors when up primary and secondary axis were orthogonal
2016-05-08 16:20:32 -07:00
samcake
a8347cac6e
Getting the unlit to work from the pipeline, and found the isLinear for texture bug!
2016-05-06 18:36:55 -07:00
Andrew Meadows
71b2d647e8
add locks and explicitly copy ViewFrustums
2016-05-05 18:28:27 -07:00
Andrew Meadows
bcf2cc8074
use references not pointers for ViewFrustums
...
also unravelling some spaghetti:
(1) split Octree stuff out of ViewFrustum
(2) moved ViewFrustum from octree to shared lib
(3) removed some cruft
2016-05-05 18:28:27 -07:00
Andrew Meadows
60a72c6660
getViewFrustum() provides const pointer
2016-05-05 18:28:27 -07:00
samcake
e306a24a1b
INtroducing the unlit mode for fragments
2016-05-05 17:08:52 -07:00
samcake
f1b236f3be
adding the DeferredBUfferRead.slh
2016-05-04 18:51:35 -07:00
samcake
2d573963bb
Introducing the unlit material
2016-05-04 18:50:52 -07:00
Brad Hefta-Gaub
bbf358f81d
Merge pull request #7796 from samcake/blue
...
Improve Translucent shapes global lighting with support for the ambient map reflection
2016-05-03 11:14:06 -07:00
Geenz
85e0620261
Merge branch 'master' of https://github.com/highfidelity/hifi
2016-04-30 15:40:28 -04:00
samcake
257c8c94c3
clean up the lighting function and put the global specular lighting in a separate function
2016-04-29 10:58:55 -07:00
samcake
88f816fab4
Adding reflection of the ambient map for translucent
2016-04-28 18:18:18 -07:00
samcake
4202e60ac3
trying to add the skymap on translucents
2016-04-26 18:20:15 -07:00
Geenz
bf31fc728a
And another.
2016-04-26 18:54:02 -04:00
Geenz
ef7098b39a
Missed a few.
2016-04-26 17:12:04 -04:00
samcake
5cb346330b
Merging with master
2016-04-25 18:48:58 -07:00
Chris Collins
9bd9de5710
Merge pull request #7636 from samcake/red
...
Stereo drawcall amplification
2016-04-22 15:46:18 -07:00
samcake
43caca901f
Merge branch 'master' of https://github.com/highfidelity/hifi into color
2016-04-22 10:57:14 -07:00
samcake
fd3efa37e3
Cleanup the shaders to avoid any uniform in genral, fixed a bug woith the emissive params applied twice for model_lightmap.slf
2016-04-22 10:56:21 -07:00
samcake
5a67411d75
Removing separate uniforms for the texcoord transforms and lightmap params, shader still failing
2016-04-21 18:35:37 -07:00
Ryan Huffman
f90e1aaa23
Remove #line from starsGrid.slf
...
Fails to compile with certain drivers.
2016-04-20 15:04:10 -07:00
Brad Davis
882267e08f
Merge pull request #7709 from samcake/blue
...
Introduce Shader Compilation versions
2016-04-19 11:14:22 -07:00
samcake
21b0341e50
REmoving extra cruff
2016-04-19 10:51:44 -07:00
samcake
265f6f1275
Updating & Merging with master
2016-04-19 10:05:44 -07:00
Brad Hefta-Gaub
5d550197bd
Merge pull request #7697 from samcake/orange
...
Introduce a simple state sort for drawing opaque items
2016-04-19 08:41:49 -07:00
Brad Hefta-Gaub
c41b320d40
Merge pull request #7706 from zzmp/fix/text3d-font
...
Fix text3d to allow transparent text
2016-04-19 07:50:36 -07:00
samcake
85fd1dcb5b
Merge branch 'master' of https://github.com/highfidelity/hifi into blue
2016-04-18 18:25:16 -07:00
samcake
cadb53b703
Adding shader versioning and defines from GLBackendShader allowing for runtime defines injection to shaders and more
2016-04-18 18:24:27 -07:00
Zach Pomerantz
2d9dcc8595
Fix text3d to allow transparent text
2016-04-18 16:02:45 -07:00
samcake
ca720efce6
Exposing the timing of the jobs by default
2016-04-18 14:53:06 -07:00
samcake
3887dfdf34
Merge branch 'master' of https://github.com/highfidelity/hifi into lemon
2016-04-18 11:52:45 -07:00
samcake
88c58cc276
Adding the simple state sort to draw opaque deferred
2016-04-18 10:51:31 -07:00
samcake
0531f90675
Adding state sorting for free
2016-04-18 00:22:05 -07:00
samcake
298300e42f
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-04-15 14:16:02 -07:00
Zach Pomerantz
2e4e1dd590
Fix leaking Font
2016-04-14 17:00:23 -07:00
samcake
7653fa2c37
Fixing the resize of framebuffer to avoid reassigning the render buffer every frame
2016-04-13 10:56:29 -07:00
samcake
e9a0365454
Removing an include not needed
2016-04-13 00:16:04 -07:00
samcake
ab9f41f5eb
Trying something a bit more radical for timing
2016-04-12 15:29:31 -07:00
samcake
042a419669
Adding counters, not sure they are really useful or that this is the best way to do this...
2016-04-12 02:44:10 -07:00
samcake
816a35099a
Adding tcpu timer on some jobs
2016-04-11 18:34:52 -07:00
samcake
90fd9d77a5
Merging with Master
2016-04-11 18:34:14 -07:00
samcake
8964c2427d
adding support for the 2 versions of the shaders nad solving the mapping of uniforms that arise with it
2016-04-08 18:47:21 -07:00
samcake
2f8d30e7ce
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-04-08 09:34:55 -07:00
howard-stearns
5284af6b51
Update text3d shader post pbr.
2016-04-06 12:15:19 -07:00
samcake
d3a87f8db2
need to merge, commiting at a broken state
2016-04-04 18:25:23 -07:00
Anthony Thibault
865a77ae20
Model: fixed two crash issues when changing avatars
...
* When the GeometryReader has the last ref to the GeometryResource ptr
It needs to hold on to the reference until invokeMethod is completed.
Otherwise, invokeMethod will call a method on a deleted object, leading
to memory corruption or crashes.
* When the Model URL is changed, the clusterMatrices are invalided and the
RenderItemsSets are cleared. However, there still might be renderItems in
the scene pending changes list that might refer to those RenderItems and their
clusterMatrices. We need to guard against this access to prevent reading from
memory that was previously freed.
Both of these issues were uncovered using the [avatar-thrasher](https://gist.github.com/hyperlogic/d82a61d141df43d576428501a82c5ee6 ) test script.
2016-04-02 21:48:22 -07:00
Anthony J. Thibault
5e81cccc6c
Merge branch 'master' into tony/culling-fixes
2016-04-01 09:29:46 -07:00
Anthony J. Thibault
d670853941
AnimDebugDraw: enable bound now that culling works. :)
2016-03-31 16:10:04 -07:00
Anthony J. Thibault
bc967f0ab0
Model: update renderItems when items are added to the scene.
...
* Renamed enqueueLocationChange to updateRenderItems
* Call updateRenderItems when models are added to the scene.
This will fix entity render bounds being incorrect when they are first added to the scene,
then later being correct after a position update.
* Renamed getMeshPartBound to getRenderableMeshBound.
* Avatar now uses getRenderableMeshBound() to do boundingRadius vs frustum check.
* Model::getRenderableMeshBound now returns a more accurate bound, because it is the same one used for rendering.
This will fix avatar freezing, when they are in the corner of your frustum.
This was due to matrices not being updated because the avatar had to a small bounding sphere.
2016-03-31 14:59:27 -07:00
Anthony J. Thibault
635f58629a
MeshPartPayload: remove dead code
2016-03-31 14:58:25 -07:00
samcake
1b54a29491
small improvments adn exploring the jittering bug for reflections
2016-03-31 11:34:27 -07:00
Zach Pomerantz
e4cba14333
Avoid recreating model items when adding to scene
2016-03-31 10:46:51 -07:00
Zach Pomerantz
3de5f73a1f
Fixup model on tex load
2016-03-31 10:46:51 -07:00
samcake
a07ae70ea0
Merge branch 'master' of https://github.com/highfidelity/hifi into lemon
2016-03-31 10:04:51 -07:00
samcake
10ddecd536
Debuggingh the reflection jittering
2016-03-31 01:51:26 -07:00
Brad Hefta-Gaub
a7f93aa75c
Merge pull request #7519 from zzmp/fix/avatar-crash
...
Fix crash from updating/resetting avatar
2016-03-30 21:31:17 -07:00
Anthony Thibault
26b9469df5
Merge pull request #7516 from hyperlogic/tony/show-collision-geometry-crash-fix
...
Model: fix for crash when displaying collision mesh
2016-03-30 16:48:07 -07:00
Seth Alves
d9909fb7da
Merge pull request #7518 from hyperlogic/tony/model-hand-grab-fix
...
Model: Fix for equipped models not updating their matrices
2016-03-30 16:10:21 -07:00
samcake
c13e24438c
Merge pull request #7512 from zzmp/fix/light-buf-fmt
...
Correctly represent lighting framebuffer
2016-03-30 16:10:10 -07:00
samcake
6033ad81db
Adding time counter
2016-03-30 16:09:33 -07:00
Zach Pomerantz
6e0d6ee45b
Guard updateClusterMatrices from unloaded geo
2016-03-30 16:04:00 -07:00
Zach Pomerantz
00db095306
Guard against reset model geo on scene update
2016-03-30 15:49:45 -07:00
Anthony J. Thibault
f6344c34e7
Model: Fix for equipped models not updating their matrices
2016-03-30 15:19:35 -07:00
Anthony J. Thibault
103257493c
Model: fix for crash when displaying collision mesh.
...
This was due to a default constructed PayloadPointer being sent to the scene via resetItem.
The fix is to A) not do that anymore, B) make resetItem more robust and not crash if this happens.
2016-03-30 14:24:28 -07:00
Zach Pomerantz
1234514e8f
Correctly represent light fbo fmt
2016-03-30 11:22:44 -07:00
samcake
0ee1f039e9
Telling like it is...
2016-03-30 11:15:10 -07:00
samcake
11b6952eff
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-03-30 09:49:17 -07:00
samcake
b492c4b52c
DUmb fix to the flickering issue by overshooting the inside volume of the light and avoid the failing region
2016-03-30 09:32:40 -07:00
Brad Hefta-Gaub
d99dcf5450
Merge pull request #7487 from hyperlogic/tony/animated-culling
...
Improved render bounding boxes for animated models
2016-03-30 09:27:43 -07:00
samcake
be27eaff24
Moving the scripts for render that where in utilities/tools/render to utilities/render, adding counters for lights
2016-03-29 17:51:24 -07:00
Zach Pomerantz
29dedd5524
Update model URL on render thread
2016-03-29 10:42:40 -07:00
Anthony J. Thibault
24ca5b3d60
Update after merge changes to NetworkGeometry.
...
Also cleaned up API for ModelMeshPartPayload::updateTransformForSkinnedMesh() to pass a QVector const ref, instead of a raw pointer and a size.
2016-03-28 20:29:02 -07:00
Anthony J. Thibault
940f3e636d
Merge branch 'master' into tony/animated-culling
2016-03-28 19:58:38 -07:00
Anthony J. Thibault
115fd607a0
Address performance issues introduced with this PR.
...
* Prevent clusterMatrices from being invalidated and re-computed in each updateItem lambda.
We do this by not setting _model->_needsUpdateClusterMatrices = true;
* Prevent redundant work if Model::enqueueLocationChange is called multiple times per frame.
We do this by introducing a preRenderLambdas map in the Application class.
Instead of adding work directly to the scene PendingChanges queue Model::enqueueLocationChange
adds a lambda to the Application preRenderLambdas map. The Application ensures that only one lambda will
be invoked for each model per frame.
2016-03-28 19:47:30 -07:00
Anthony J. Thibault
f5a86666a1
Model: fix for collision mesh rendering
2016-03-28 09:56:15 -07:00
Zach Pomerantz
d6640ac520
Update Model::_hasTransparentTextures
2016-03-27 16:38:45 -07:00
Anthony J. Thibault
49a4d104a6
Minimize diff with master
2016-03-26 13:27:05 -07:00
Anthony J. Thibault
bf433487fa
Dynamic bound update for skinned mesh
...
* Use all cluster matrices to compute bound for skinned mesh.
This is far less expensive then doing per-vertex work, but it's not free, for avatars especially.
* Remove skinnedMeshBound, compute it instead.
* Compute clusterMatrices in render update, because we need them to update bounds.
2016-03-26 12:22:02 -07:00
Anthony J. Thibault
b4e70d9101
WIP: checkpoint
...
* bug fix in AABox::operator+=
* added AABox::emiggen
* Avatar now has a default bound for it's skinned mesh.
* WIP: AABox tests; NEED MORE
* Model: split collision and model mesh render items.
Because ModelMeshRenderItems need special handling to update bounds for animated joints.
* Model: dynamically update the bound for rigidly bound animated meshes
* Rig: added access to geometryToRigTransform
* RenderableModelEntityItem: try to update bounds for skinned mesh to be the entity dimentions (this doesn't seem to be working)
* Geometry.cpp: removed unused bounds parameter in evalPartBounds
* ModelMeshPartPayload: bounds updating
* non-animated: use existing _localBound
* rigid bound mesh: use _localBound transformed by clusterMatrix joint transform
* fully skinned mesh: use _skinnedMeshBound provided by the application.
2016-03-25 21:29:20 -07:00
Zach Pomerantz
3402635f99
Lock geometry on blender
2016-03-24 18:50:43 -07:00
Zach Pomerantz
3e9e083df5
Update users of NetworkGeometry
2016-03-24 11:35:41 -07:00
samcake
1e46b0803c
fixing repported issues during review
2016-03-23 15:59:57 -07:00
samcake
7d99183474
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-03-23 15:47:00 -07:00
Brad Hefta-Gaub
9f0084dbb1
make Blender keep a shared pointer to the model it's blending
2016-03-22 16:01:31 -07:00
samcake
67abdab8b2
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-03-22 10:13:50 -07:00
Brad Hefta-Gaub
513138ca98
one more crack at fixing the blender
2016-03-21 18:28:26 -07:00
samcake
695e558851
Trying to clena up the problem?
2016-03-21 16:36:47 -07:00
Chris Collins
6324d0e3be
Merge pull request #7393 from ZappoMan/protectMeshBoxes
...
Fix for crash in recalculateMeshBoxes()
2016-03-21 15:46:28 -07:00
Brad Hefta-Gaub
d28db7bec6
fix typo
2016-03-21 14:47:53 -07:00
samcake
ec7165983d
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-03-21 13:30:28 -07:00
samcake
d189dc4af2
Problem not fixed yet, need to merge with upstream
2016-03-21 13:30:08 -07:00
Brad Hefta-Gaub
2389295217
actually properly remove pending blendshapes
2016-03-21 13:04:37 -07:00
samcake
227ddb12a6
Trying to clen up the way the opacity final value comes to the fragment shader
2016-03-21 12:14:59 -07:00
Brad Hefta-Gaub
492e71345a
Revert "Revert "Fix ModelBlender crash""
...
This reverts commit f274cdcc7f
.
2016-03-21 11:42:25 -07:00
Brad Hefta-Gaub
f274cdcc7f
Revert "Fix ModelBlender crash"
2016-03-21 10:47:31 -07:00
Andrew Meadows
cd802a6549
Merge pull request #7406 from hyperlogic/tony/transparent-texture-fix
...
Model: fix for avatars with late loaded transparent textures.
2016-03-21 09:19:33 -07:00
Anthony Thibault
b06f027f2e
Model: fix for avatars with late loaded transparent textures.
2016-03-20 18:20:03 -07:00
samcake
225b330d41
Trying to better load aand detect the case for transparent textures oor opacity mask
2016-03-18 12:47:33 -07:00
Brad Hefta-Gaub
925d5d36ac
clean up the recalculateMeshBoxes() calls in findRayIntersectionAgainstSubMeshes()
2016-03-18 12:20:45 -07:00
Brad Hefta-Gaub
eb8a6527c6
change ModelBlender to use a set<WeakPointers> to safely handle model lifetime
2016-03-17 19:44:42 -07:00
Brad Hefta-Gaub
7483b8546b
remove FaceModel, make Model support shared_from_this() so we can ave shared and weak pointers to it
2016-03-17 17:05:35 -07:00
Andrew Meadows
7acc56bf00
Merge pull request #7359 from zzmp/feat/bg-gpu-timer
...
Add a DrawBackgroundDeferred gpu timer
2016-03-16 07:58:53 -07:00
samcake
d58ac269ee
Fixing a bug when albedo map transaprent but not quite loaded yet
2016-03-15 17:01:26 -07:00
samcake
f30e8e9e0c
Merge pull request #7281 from zzmp/fix/png-opacity
...
Fix materials to honor png texture opacity
2016-03-15 16:08:36 -07:00
samcake
f3daa9e1c5
Fixing the lighting issue in stereo
2016-03-15 14:35:43 -07:00
Zach Pomerantz
5ab21588f2
Add gpu timer to background
2016-03-14 17:53:39 -07:00
David Rowe
f7c6725f63
Improve text3d rendering
2016-03-12 23:24:52 +13:00
Zach Pomerantz
a89a76dc4b
Require model fixup if tex is transparent
2016-03-11 14:33:19 -08:00
Zach Pomerantz
ee1fb698a4
Add texture transparency to material key
2016-03-11 14:27:35 -08:00
Anthony J. Thibault
0ce004c8a7
Removed passive-aggressive comment, (it was a late night)
2016-03-11 13:36:48 -08:00
Anthony J. Thibault
ab19d3e5a2
Moved animation after physics, hand poses are in world frame.
...
There are still some debug hacks enabled so I can test in the vive room.
2016-03-10 20:44:35 -08:00
Brad Davis
aad2aaa764
Fix link problem with shaders that use transparency and normal maps
2016-03-09 20:01:18 -08:00
Zach Pomerantz
d1324b2e7a
Merge branch 'master' of github.com:highfidelity/hifi into fix/resort-in-octree
2016-03-08 10:22:25 -08:00
samcake
193b98f24f
Gamma correct the text color
2016-03-05 10:59:03 -08:00
samcake
d3b84311c5
FIxing the color
2016-03-05 10:36:45 -08:00
samcake
2d3f0b12f5
Simple fix to the text bug
2016-03-05 10:18:50 -08:00
samcake
e3d11560eb
With a shader compiling
2016-03-04 19:08:48 -08:00
samcake
3278b76eef
Starting investigating the text rendering bug
2016-03-04 18:24:36 -08:00
samcake
aed2ad72d1
Using another formula for the specularDistribution giving much better results
2016-03-01 17:09:57 -08:00
samcake
16ac69315f
Imroving the roughness/specular highlight nd fixing a bug with the CUbemap texture
2016-03-01 16:38:02 -08:00
Zach Pomerantz
5c64115b26
Use keyLight in DLE instead of _skyboxTexture
2016-03-01 14:44:34 -08:00
samcake
9fb318570b
Ajusting the pure Ambient SH lighting pass and more review issues
2016-03-01 12:24:44 -08:00
samcake
89920370db
A bunch of typo fixes after review
2016-03-01 10:53:08 -08:00
samcake
630c61e61d
Reflection is working correctly with the PBR property, ship t
2016-02-29 18:54:43 -08:00
samcake
cfcde5032c
Post merge with Zach work for environment map
2016-02-26 16:32:29 -08:00
Zach Pomerantz
32807012e8
Rm redundant texture reset in overlay draw
2016-02-26 16:26:16 -08:00
samcake
99ba011996
Post merge with Zach work for environment map
2016-02-26 16:04:50 -08:00
Zach Pomerantz
30fbd99d11
Factor out SortTask to fix shadows
2016-02-26 16:04:15 -08:00
Zach Pomerantz
2cd6706a6a
Update fetch to use nonspatialSet
2016-02-26 14:46:42 -08:00
Zach Pomerantz
6c3dd027a7
Use spatial tree for shadow fetch
2016-02-26 14:46:41 -08:00
Zach Pomerantz
1fbcaea4b4
Fix evalSkyboxGlobalColor
2016-02-26 14:20:21 -08:00
Zach Pomerantz
fdffd8b6e0
Track skybox mipmap levels in DeferredTransform
2016-02-26 13:51:55 -08:00
Zach Pomerantz
712cf911b1
Differentiate global sun and skyStage sun
2016-02-26 11:06:02 -08:00
samcake
3ee6f9d6f2
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-02-25 23:48:53 -08:00
Andrew Meadows
f964df6c97
final names for ViewFrustum intersection tests
2016-02-25 18:09:35 -08:00
Andrew Meadows
dfdf375853
use shapeInFrustum() names again
...
but at the same time make the code more redable
also: add some more efficient shape-touches-view methods
and cleanup some whitespace
2016-02-25 18:09:35 -08:00
Brad Hefta-Gaub
202a456e1a
Merge pull request #7126 from AndrewMeadows/cleanup
...
cleanup ViewFrustum method names
2016-02-25 16:12:25 -08:00
Brad Hefta-Gaub
82cbf19bca
Merge pull request #7078 from zzmp/fix/light-intensity
...
Reimplement light attenuation for spot and point lights
2016-02-25 16:08:28 -08:00
samcake
96fb9c4466
cleaning up macos warnings, separating Metallic maps from the default, gamma corrected gray textures
2016-02-25 14:13:35 -08:00
Zach Pomerantz
32ce7c6eab
Rename light surfaceRadius->falloffRadius
2016-02-25 10:02:33 -08:00
Andrew Meadows
9c927ea36b
ViewFrustum method renames and whitespace cleanup
...
fooInFrustum() --> computeFooViewLocation()
except pointInFrustum() --> computeFrustumLocation()
2016-02-25 09:11:28 -08:00
Brad Hefta-Gaub
91f6b7e80d
Merge pull request #7186 from zzmp/feat/scene-ambient-tex
...
Wire up zone ambientURL
2016-02-25 09:05:25 -08:00
samcake
287bfeddda
Fixing the way the Obscurance is used with the ssao map
2016-02-24 18:31:08 -08:00
samcake
ae6e625894
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-02-24 17:30:40 -08:00
samcake
a0d7ce145e
Adding support for emissive and occlusion maps, on to pr land
2016-02-24 17:30:29 -08:00
Zach Pomerantz
c2ed5e5474
Merge branch 'master' of github.com:highfidelity/hifi into fix/light-intensity
2016-02-24 16:24:09 -08:00
Zach Pomerantz
20bfdba14b
Avoid light prop copies when setting globalLight
2016-02-24 16:20:59 -08:00
Zach Pomerantz
1817b8ef2f
Use only skyboxTexture in DeferredLightingEffect
2016-02-24 16:07:28 -08:00
Zach Pomerantz
95d98e3ed7
Wire up zone ambientURL
2016-02-24 16:07:04 -08:00
Zach Pomerantz
124c84c8b9
Fix fxaa shader to use texture
2016-02-24 13:36:08 -08:00
Brad Hefta-Gaub
3df5d0abad
Merge pull request #7161 from zzmp/fix/overlay-model-scale
...
Use proper getter for model overlay scaling
2016-02-24 09:31:47 -08:00
Chris Collins
7f679af186
Merge pull request #7176 from zzmp/menu/graphics
...
Update graphics menus
2016-02-24 08:18:58 -08:00
samcake
2f5800a4cc
IMproving the shading model and the loading, added the roughness, needt to clean up
2016-02-23 18:31:38 -08:00
Zach Pomerantz
ea8edb3744
Remove antialiasing from menus, default to on
2016-02-23 16:24:44 -08:00
Zach Pomerantz
7804ee22d4
Consolidate stats for opaque/transparent/other
2016-02-23 12:14:00 -08:00
Zach Pomerantz
7c9022fb3e
Fix model overlay scaling
2016-02-23 10:40:47 -08:00
samcake
9d0803e6b8
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-02-23 09:33:54 -08:00
samcake
9cb8bd0808
Adding one more feature for NULL_VAR in scribe function parameters and unifying the MAterialTexture shader code
2016-02-23 02:41:26 -08:00
samcake
00782b0e76
GOing home, this is in the middle of adding the Roughness texture and potentially cleaning up the different compinations of shaders regarding the material textures
2016-02-22 18:19:36 -08:00
Zach Pomerantz
77ad4039bc
Merge branch 'master' of github.com:highfidelity/hifi into fix/light-intensity
2016-02-22 15:11:12 -08:00
Zach Pomerantz
8ac84b3fc2
Render point/spot lights with surface radii
2016-02-22 15:07:08 -08:00
Ryan Huffman
e6ccf501fa
Merge pull request #7135 from zzmp/fix/grid
...
Update renderGrid to use a shader, and fix grid edit tools
2016-02-22 12:58:23 -08:00
samcake
377ee5a486
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2016-02-22 09:23:14 -08:00
samcake
c7f43386e5
Compressing the g-buffer better
2016-02-22 09:23:16 -08:00
samcake
39a7852979
MOving forward with PBR rendering, cleaning up the lighting shaders and the packi/unpack deferredBuffer shaders
2016-02-19 18:43:07 -08:00
Zach Pomerantz
fd6aa9a78b
Add layering to renderGrid, draw edit grid not layered
2016-02-19 13:57:32 -08:00
Zach Pomerantz
791d295578
Move paint shader functions to Paint.slh
2016-02-19 11:48:44 -08:00
Zach Pomerantz
9daefbdb94
Fix grid antialiasing
2016-02-19 11:39:11 -08:00
Seth Alves
fea60499d4
rename poorly named variable
2016-02-19 11:32:59 -08:00
Zach Pomerantz
07a5c7bd16
Update grid shader for major/minor lines
2016-02-19 11:22:01 -08:00
Seth Alves
ee5a82f9b8
call simulate from setScaleInternal rather than just initJointTransforms so the scale change is visible
2016-02-19 10:05:22 -08:00
samcake
e103fd364e
USing metallic and not gloss map
2016-02-19 09:24:22 -08:00
samcake
903824809c
trying to have better support for the materials
2016-02-18 18:33:32 -08:00
Zach Pomerantz
2d1c676a8b
Add qHash for Vec2FloatPair
2016-02-18 16:17:24 -08:00
Zach Pomerantz
2bfbf1b5fd
Reimplement renderGrid to use frag shader
2016-02-18 11:30:03 -08:00
samcake
b88501784c
Making progress toward the PBR material
2016-02-17 18:47:52 -08:00
Zach Pomerantz
7ccb7e1c79
Merge branch 'master' of github.com:highfidelity/hifi into fix/light-intensity
2016-02-17 13:57:42 -08:00
Zach Pomerantz
bab29a0d3e
Compare fragLightVec square to LightCutoffSquareRadius
2016-02-17 12:49:41 -08:00
Brad Hefta-Gaub
d5c349abec
Merge pull request #7114 from samcake/hdr
...
Adding Ambient lighting to transparent surfaces
2016-02-17 09:08:38 -08:00
samcake
b03f639e2c
Renaming and rearranging the material fields to support PBR fbx materials
2016-02-16 17:20:23 -08:00
samcake
71863a1550
Fixing the material names
2016-02-16 09:33:24 -08:00
samcake
0ad7bacf02
Changing diffuse to albedo and breaking everything...
2016-02-15 21:50:10 -08:00
samcake
29bacd23df
Fixing the rendering of the avatar skeleton
2016-02-15 18:56:46 -08:00
samcake
a740f4a6de
Removing unecessary code
2016-02-15 17:41:20 -08:00
samcake
b9d14b74ee
Adding the GLobalKeyLighting to transparents, the ambient lighting
2016-02-15 17:27:28 -08:00
samcake
0639b2ace0
Merge branch 'master' of https://github.com/highfidelity/hifi into hdr
2016-02-15 13:27:55 -08:00
samcake
545f276fdf
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-02-15 09:29:00 -08:00
samcake
e6d15c3d56
Merge branch 'master' of https://github.com/highfidelity/hifi into hdr
2016-02-12 18:22:30 -08:00
samcake
4559e75f90
Trying to solve the ambient issue
2016-02-12 18:22:01 -08:00
Brad Hefta-Gaub
e003fe5f4b
Merge pull request #7081 from zzmp/fix/mini-mirror-ao
...
Disable AO in mini mirror
2016-02-12 17:37:45 -08:00
samcake
9bfeb4a1d5
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-02-12 11:31:47 -08:00
samcake
c248732bc7
Getting the array initialization right ?
2016-02-12 10:27:08 -08:00
samcake
40c283cba2
Fixing some warnings
2016-02-12 10:21:28 -08:00
samcake
40455af7fc
LEss warning
2016-02-12 10:16:20 -08:00
Zach Pomerantz
d516e9da78
Only run AO in DEFAULT_RENDER_MODE
2016-02-12 09:01:54 -08:00
samcake
b94c2c9b7f
Introducing a cleaner filtering pipeline, normally it s good to go
2016-02-11 18:40:36 -08:00
Zach Pomerantz
d0f3ad75b8
Nest Persistent in Config to compile on nix
2016-02-11 10:27:32 -08:00
Zach Pomerantz
a7778daed2
Change graphics dialog to persisted dropdowns
2016-02-11 10:15:13 -08:00
samcake
31230e81bb
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-02-11 10:05:58 -08:00
samcake
355b8ee40d
THursday morning the frustum culling seems broken in one particular angle
2016-02-11 10:05:39 -08:00
Zach Pomerantz
3bace3cdbb
Rework the qml for brevity
2016-02-11 08:48:01 -08:00
Zach Pomerantz
86412c1890
Fix default debug buffer size
2016-02-11 08:47:59 -08:00
Zach Pomerantz
399861087d
Reimplement lighting model
2016-02-10 20:02:44 -08:00
samcake
b1b08bf2f7
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-02-09 09:24:55 -08:00
Zach Pomerantz
a7bafed61b
Change ShapeKey::CULL to NO_CULL_FACE
2016-02-08 13:44:42 -08:00
Zach Pomerantz
9e5df79279
Add tone-mapping to overlay emissive shader
2016-02-08 13:31:12 -08:00
Zach Pomerantz
1d2acbe47e
Bring GeometryCache render*Instance up to standard
2016-02-08 13:28:14 -08:00
samcake
76d8135fdc
Trying to introduce the Filtering step after the full scene culling
2016-02-05 18:21:21 -08:00
samcake
e5f3805d0e
Fixing the item insert in cell criteria for subcell and adding debgging tool
2016-02-05 16:49:43 -08:00
Zach Pomerantz
d9132f3973
Clean up geometry instanced calls
2016-02-05 11:22:45 -08:00
Zach Pomerantz
b0a9c299ed
Add tone mapping to overlay shaders
2016-02-05 11:18:42 -08:00
Zach Pomerantz
a1ed29e6f8
Rename setupTransparent->setupBatch
2016-02-05 10:53:01 -08:00
Zach Pomerantz
aa50d1e98e
Add factor and shading to overlay/translucent light shaders
2016-02-05 10:27:07 -08:00
Zach Pomerantz
a4cea0a307
Conform model/overlay shaders
2016-02-04 16:21:56 -08:00
Zach Pomerantz
44d297e7e2
Differentiate named calls by pipeline
2016-02-04 15:32:47 -08:00
Zach Pomerantz
f0797d8ea0
Move instanced pipeline setup to lambda from batch
2016-02-04 15:32:28 -08:00
Zach Pomerantz
cb06d4a9e4
Fix -Wunused-variable for geometry solid stream formats
2016-02-04 10:13:35 -08:00
Zach Pomerantz
9e7e6be549
Fix -Wunused-variable for MeshPart ShapeKeys
2016-02-04 10:06:07 -08:00
Zach Pomerantz
0c31c072a3
Fix -Wreorder for DrawOverlay3D ctor
2016-02-04 10:03:35 -08:00
samcake
513561ba2d
Using an angle for the LOD test
2016-02-04 09:31:21 -08:00
Zach Pomerantz
65ddb944d2
Add defaults/light/shaders to plumber
2016-02-03 19:18:56 -08:00
Zach Pomerantz
666213b7a8
Add CULL, DEPTH_BIAS to ShapeKey
2016-02-03 19:18:56 -08:00
Zach Pomerantz
8d0f82fa6a
Split DrawOverlay3D to Transparent/Opaque
2016-02-03 19:18:56 -08:00
Zach Pomerantz
399fe95dc9
Update overlay/emissive shaders
2016-02-03 19:18:56 -08:00
Zach Pomerantz
9af7dc9c3e
Add layering to text renderer
2016-02-03 19:18:56 -08:00
Zach Pomerantz
a790b09892
Supply normals to GeometryCache draw calls
2016-02-03 19:18:56 -08:00
Zach Pomerantz
d14ce8a9fe
Pass an explicit pipeline to render.*Instance calls
2016-02-03 19:18:56 -08:00
samcake
0478450205
Refining the culling test and defining the 2 new jobs FetchSPatialTree and CullSpatialSelection
2016-02-03 18:38:57 -08:00
samcake
edbcef20d4
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-02-03 09:44:05 -08:00
samcake
cb59cccc0c
Adding 2 lists per brick now, the subcelItems and the regular items, trying to use it, probably buggy
2016-02-02 18:10:56 -08:00
samcake
940ef40b69
Merge pull request #6999 from zzmp/refactor/render-init-file
...
Migrate stencil and overlay jobs to use plumbers
2016-02-02 17:45:17 -08:00
Zach Pomerantz
aa10af2851
Revert "Move DrawStencil to use ShapePlumber"
...
This reverts commit 671f27e5bc
.
2016-02-02 17:10:21 -08:00
samcake
7cb0108457
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-02-01 15:17:58 -08:00
samcake
1b52d700a0
Merge pull request #6871 from Atlante45/feat/draw-call-info
...
Unify normal and named draw paths
2016-02-01 14:19:15 -08:00
Zach Pomerantz
5d49eacf83
Move pipeline init to separate file
2016-02-01 11:12:11 -08:00
Zach Pomerantz
df894d364a
Move DrawOverlay3D to use ShapePlumber
2016-02-01 10:30:14 -08:00
Zach Pomerantz
671f27e5bc
Move DrawStencil to use ShapePlumber
2016-02-01 10:30:08 -08:00
Atlante45
a5603140de
Fix for mac
2016-02-01 18:50:01 +01:00
Atlante45
38a223b270
Split declareStandardTransform
2016-02-01 18:50:01 +01:00
Atlante45
7e8ea4dc77
Update primitive instance rendering calls
2016-02-01 18:50:01 +01:00
Atlante45
ccb183e518
Unify Named/Normal calls
2016-02-01 18:50:01 +01:00
howard-stearns
9601b65269
Merge branch 'master' of https://github.com/highfidelity/hifi into animate-iff-visible
2016-01-29 11:40:13 -08:00
samcake
9c5670fc0f
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-01-28 15:31:56 -08:00
samcake
5863e340af
Cleaner...
2016-01-28 12:46:18 -08:00
samcake
ef451d40df
Cleaner...
2016-01-28 12:39:52 -08:00
samcake
62d5a45829
Cleaner init
2016-01-28 12:20:09 -08:00
samcake
bf3a09cd00
Fixing the default value for the TOneMapping curve and cleaning the code into the ToneMappingEffect file
2016-01-28 12:14:20 -08:00
samcake
0c50903030
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-01-28 11:19:37 -08:00
samcake
54b9c1ac0d
Merge pull request #6962 from zzmp/feat/task-io
...
Reduce code duplication for render::Job::Model
2016-01-28 09:31:26 -08:00
samcake
20e1270e92
Merging with upstream and still debugging the cell navigation math
2016-01-27 18:59:18 -08:00
samcake
f4e0352f61
Merge pull request #6930 from zzmp/feat/bubble-render-settings
...
Bubble up render settings from CPP to JS/QML
2016-01-27 14:20:51 -08:00
howard-stearns
fa40e347ee
Merge branch 'master' of https://github.com/highfidelity/hifi into animate-iff-visible
2016-01-27 13:35:02 -08:00
samcake
6d2d7c565a
Merge branch 'master' of https://github.com/highfidelity/hifi into red
2016-01-27 10:03:34 -08:00
Zach Pomerantz
49c1285837
Add suffix Mode to DebugMode enum to avoid collision
2016-01-26 19:11:59 -08:00
samcake
1b1ffa494b
Making the octree more useful and cleaning up the interaction with the Scene
2016-01-26 18:46:57 -08:00
Zach Pomerantz
4354eae129
Fix type, gaussion->gaussian
2016-01-26 18:09:18 -08:00
Zach Pomerantz
61f337b490
Hold Varying constant over task ctor
2016-01-26 17:43:41 -08:00
Zach Pomerantz
5009e8702e
Cleanup new render settings
2016-01-26 15:58:50 -08:00
Zach Pomerantz
2d0d542765
Fix friend class typedef confusion in gcc
2016-01-26 12:44:56 -08:00
Zach Pomerantz
2da2bc60db
Tie shadow frustum to boom offset
2016-01-26 12:26:16 -08:00
howard-stearns
2e7f1cbb3f
Align avatar animation with LOD visibility.
2016-01-26 11:59:18 -08:00
samcake
b96bbab22f
Drafting the Octree and a debugging job
2016-01-25 18:14:05 -08:00
Zach Pomerantz
59ac93485e
Propogate configuration changes through tasks
2016-01-25 15:18:13 -08:00
Zach Pomerantz
e73902899b
Explicitly emit dirty for AO/Debug
2016-01-25 15:18:12 -08:00
Zach Pomerantz
46c937325e
Make Job MEMBER enabled explicit
2016-01-25 15:18:11 -08:00
Zach Pomerantz
14d907206e
Clean out job enable logic from Job
2016-01-25 15:17:44 -08:00
Zach Pomerantz
56cc4dc223
Add Job::Config to RenderShadowTask
2016-01-25 12:14:58 -08:00
Zach Pomerantz
f3265db298
Gut RenderContext
2016-01-25 12:14:58 -08:00
Zach Pomerantz
e8b8f4d535
Add Job::Config to HitEffect
2016-01-25 12:14:58 -08:00
Zach Pomerantz
772aedde91
Add Job::Config to AmbientOcclusion
2016-01-25 12:14:58 -08:00
Zach Pomerantz
ba61c1f865
Fix draw calls to use members
2016-01-25 12:14:58 -08:00
Zach Pomerantz
ccbec54f2d
Add Job::Config to DebugDeferredBuffer
2016-01-25 12:14:58 -08:00
Zach Pomerantz
f1b7807db7
Add Job::Config to Draw
2016-01-25 12:14:58 -08:00
Zach Pomerantz
9064438bf0
Replace RenderScriptingInterface with dynamic Task::Config
2016-01-25 12:13:55 -08:00
Zach Pomerantz
adc9d2ea07
Add Job::Config to FetchItems
2016-01-25 12:13:55 -08:00
Zach Pomerantz
5698be5435
It works
2016-01-25 12:13:55 -08:00
Zach Pomerantz
75cddec647
Add alwaysEnabled render::Job::Config
2016-01-25 12:13:55 -08:00
Zach Pomerantz
b70108bb9a
Working demo
2016-01-25 12:13:55 -08:00
Zach Pomerantz
2e1fbf66ad
Refine Configuration for render::Job
...
wip
wip
wip
wip
2016-01-25 12:13:55 -08:00
Zach Pomerantz
581003ec83
Use QObject-derived Configuration for render::Job
2016-01-25 12:13:55 -08:00
Zach Pomerantz
8b68d5922c
Make Engine a Task
2016-01-25 12:13:55 -08:00
samcake
483d20d7a3
Merge branch 'master' of https://github.com/highfidelity/hifi into hdr
2016-01-22 18:31:30 -08:00
samcake
9f87089c05
Fixing the Anitialising breaking the transparent rendering
2016-01-22 18:25:26 -08:00
Zach Pomerantz
b62fc50557
Merge branch 'master' of github.com:highfidelity/hifi into flag/shadows
2016-01-22 10:32:54 -08:00
Zach Pomerantz
dee8e0ba9d
Merge branch 'master' of github.com:highfidelity/hifi into flag/shadows
2016-01-22 10:03:06 -08:00
samcake
24d1f113f8
Fixing the warning maybe
2016-01-22 09:44:32 -08:00
samcake
6bcd7f10ad
Try the constant gaussian values which are more stable on mac...
2016-01-21 23:54:51 -08:00
samcake
b7f14789af
Refining the ao effect on the blur side
2016-01-21 19:02:32 -08:00
Brad Hefta-Gaub
e1c369dc10
Merge pull request #6766 from samcake/hdr
...
Ambient Occlusion
2016-01-21 18:10:52 -08:00
samcake
b5aa5fcb46
more clean up
2016-01-21 17:36:53 -08:00
samcake
8eddd52731
Fixing coding guidelines
2016-01-21 16:54:37 -08:00
samcake
402809fe2f
FIxing coding standards
2016-01-21 16:44:35 -08:00
samcake
9c344c6498
FIxing the bordering enble default value
2016-01-21 16:38:21 -08:00
samcake
16573357d8
FIxing the AO results at the border of the frame by guarding the fetch out of the frame
2016-01-21 15:50:38 -08:00
Brad Davis
f9f9ddd8bd
Yet more atmosphere removal
2016-01-21 15:15:17 -08:00
Brad Davis
b8109af196
Ignite the atmosphere
2016-01-21 15:15:15 -08:00
samcake
8d1ab01018
exposing one more parameter
2016-01-20 18:32:44 -08:00
samcake
4e5869b247
Merge branch 'master' of https://github.com/highfidelity/hifi into hdr
2016-01-20 16:30:24 -08:00
Zach Pomerantz
0c798c06a9
Merge branch 'master' of github.com:highfidelity/hifi into flag/shadows
2016-01-20 14:51:42 -08:00
samcake
07c630bcda
And cleaning again hopping to have the pr build
2016-01-20 11:44:01 -08:00
samcake
35ea04ae7c
fixing the bug that kept AO when ao is off...
2016-01-20 11:13:50 -08:00
samcake
379c882834
Debugging the darkness and pointing out bugs
2016-01-20 02:03:09 -08:00
samcake
c5c51f2af2
Make sure the resolution level for ao is correct
2016-01-19 18:57:03 -08:00
Zach Pomerantz
3445b7fd2c
Fix orientation aligned with Y
2016-01-19 18:39:34 -08:00
samcake
584d50b594
Experimenting with AO on the lightmaped surface
2016-01-19 17:56:07 -08:00
Zach Pomerantz
c794ae8da2
Avoid shadow attenuation outside of mapped area
2016-01-19 15:48:20 -08:00
Zach Pomerantz
27967f6064
Use 4-sample PCF for shadowMap sampling
2016-01-19 15:48:20 -08:00
samcake
6f93fb3114
Can now process the AO at lower resolution in orer to gsave performances
2016-01-19 12:12:51 -08:00
Zach Pomerantz
387a14b6b1
Fix shadowMap vertical keylight edge case
2016-01-19 12:01:40 -08:00
Zach Pomerantz
398f83be3f
Change shadow debug buffer to reuse shadowMap tex
2016-01-19 12:01:18 -08:00
Zach Pomerantz
568ae2e7bc
Move ShoudRenderFunctor to render::CullFunctor
2016-01-19 11:24:11 -08:00
Zach Pomerantz
7a5562abce
Do not cauterize bones in SHADOW_RENDER_MODE
2016-01-18 20:51:28 -08:00
Zach Pomerantz
3c80002dfe
Fix keylight frustum culling by calc internal state before use
2016-01-18 20:10:52 -08:00
Zach Pomerantz
1b36d56b7a
Add shadowmap as a debug feature
2016-01-18 17:12:42 -08:00
samcake
df496b065c
Merging with master
2016-01-18 16:40:34 -08:00
samcake
29945bba92
Merge pull request #6837 from zzmp/feat/render-shadow
...
Add RenderShadowTask
2016-01-18 15:45:51 -08:00
samcake
93c7c182b3
Exposing the gpu RangeTimer counter for the AO effect
2016-01-18 14:10:59 -08:00
Brad Hefta-Gaub
d10e1cc39d
CR feedback, dead code cleanup
2016-01-18 12:09:21 -08:00
Zach Pomerantz
6434d98365
Separate directional shaders with(out) shadowmaps
2016-01-18 11:11:28 -08:00
samcake
bc579f2605
Clening up the gpu::Timer behavior, now need a way to show it
2016-01-18 09:53:41 -08:00
samcake
39f1649cdf
refining the settings for the blur pass and splitting the uniforms in 2 buffers, one per frame with transform info and one for the parameters which are rarely changing
2016-01-16 22:16:07 -08:00
samcake
483c28dc2d
Adding gpu timer feature to actually the GPU cost of rendering
2016-01-15 19:00:18 -08:00
Zach Pomerantz
7f3e102b5e
Rename renderLights to renderItems
2016-01-15 17:55:07 -08:00
Zach Pomerantz
7fd20bb036
Set shadow pipelines manually to avoid duplication
2016-01-15 17:55:07 -08:00
Zach Pomerantz
625eee2b9c
Clean RenderShadowTask ctor
2016-01-15 17:55:07 -08:00
Zach Pomerantz
f3a5be9ec0
Decrease shadowMap res to 1024
2016-01-15 17:55:07 -08:00
Zach Pomerantz
562c909ad8
Update shadow shaders
2016-01-15 17:55:07 -08:00
Zach Pomerantz
b2c9cf7452
Fit shadowmap to viewFrustum better
2016-01-15 17:55:07 -08:00
Zach Pomerantz
2b27e48bf9
Update shadow shaders
2016-01-15 17:55:07 -08:00
Zach Pomerantz
bc379e920b
Update shadow programs
2016-01-15 17:55:07 -08:00
Zach Pomerantz
fad38c0bfb
Add uniform buffer to LightStage
2016-01-15 17:55:07 -08:00
Zach Pomerantz
5c1c1e3a3b
Change LightStage setFrustum signature to near/farDepth
2016-01-15 12:57:31 -08:00
Zach Pomerantz
d6e5e2de81
Fix orientation of shadow frustum
2016-01-15 12:43:45 -08:00
samcake
2494623bc7
Cleaning the code for review
2016-01-15 10:55:43 -08:00
Zach Pomerantz
986af50b71
Remove unneccessary const
2016-01-15 10:50:42 -08:00
Zach Pomerantz
b423bc38ba
Remove magic numbers
2016-01-15 10:46:01 -08:00
Zach Pomerantz
e914f02445
Use near/far in LightStage setFrustum
2016-01-15 10:28:52 -08:00
Zach Pomerantz
710fb5df53
Fix shadowed orientation in LightStage
2016-01-15 10:18:29 -08:00
samcake
ae18bb8ef7
FIxed the stereo rendering
2016-01-14 19:23:29 -08:00
samcake
577666da6e
Merging upstream master
2016-01-14 15:10:54 -08:00
Zach Pomerantz
ec496f1907
Return copy of Light from LightStage
2016-01-14 14:06:32 -08:00
Zach Pomerantz
c704a8d8c5
Add RenderShadowTask
2016-01-14 13:53:11 -08:00
Zach Pomerantz
7744b89ba5
Prepare shadowMap pipeline to debug in color
2016-01-14 12:56:28 -08:00
Zach Pomerantz
b9b407fea0
Remove static shadowMap
2016-01-14 12:49:43 -08:00
Zach Pomerantz
0776ae7e72
Add LightStage for rendering lights
2016-01-14 12:49:42 -08:00
Zach Pomerantz
82f7ea515d
Clean up task construction
2016-01-14 12:49:42 -08:00
samcake
0285d48de3
Exposing many more controls of the AO in order to adjust the effect
2016-01-13 18:57:47 -08:00
Zach Pomerantz
1436b4f6b1
Guard against unspecified deferredDebugMode
2016-01-13 18:17:40 -08:00
Zach Pomerantz
5c9c34377e
Move GL context sync to render Engine (from Task)
2016-01-13 17:53:15 -08:00
Zach Pomerantz
70cc7d87e4
Expose global light through DeferredLighting singleton
2016-01-13 17:52:02 -08:00
Atlante45
741c22c0ac
Move SimpleProgramKey to cpp
2016-01-13 11:47:43 -08:00
Atlante45
1789878be1
Remove dead code
2016-01-13 11:47:43 -08:00
Atlante45
c30569cd55
Naming coding standard
2016-01-13 11:47:43 -08:00
Atlante45
205c14eb43
Remove unused headers
2016-01-13 11:47:43 -08:00
Atlante45
11dc3cd261
Move primitive rendering out of DeferredLightingEffect
2016-01-13 11:47:43 -08:00
Atlante45
12f9091dc1
Fix doInBatch lambdas
2016-01-13 11:47:43 -08:00
samcake
89d2d102f6
exposing the ditheringEnable field
2016-01-12 18:51:30 -08:00
samcake
31bea5034c
Merge branch 'master' of https://github.com/highfidelity/hifi into hdr
2016-01-12 10:02:15 -08:00
Zach Pomerantz
016a14d3d5
Init the shapePlumber
2016-01-11 20:19:54 -08:00
samcake
f5854641f9
Trying to improve the ao
2016-01-11 18:33:39 -08:00
Zach Pomerantz
db91b12203
Refine addPipeline signature to be more explicit
2016-01-11 17:31:19 -08:00
Zach Pomerantz
801dde7950
Merge branch 'master' of github.com:highfidelity/hifi into feat/render-shape
2016-01-11 16:38:04 -08:00
Zach Pomerantz
4ff2b85e1a
Replace ShapePipelineLib abstract with ShapePlumber instanced class
2016-01-11 16:00:08 -08:00
samcake
38e9d2281d
Merging with master
2016-01-11 15:49:16 -08:00
Zach Pomerantz
c1e8fe88e4
Fix shader typo (ambien->ambient)
2016-01-08 20:14:31 -08:00
Zach Pomerantz
ea8bdd5728
Change pipeline initialization to depend on class, not global pipelineLib state
2016-01-08 20:14:08 -08:00
Zach Pomerantz
bf68f2f2fa
Templatize item culling
2016-01-08 20:11:52 -08:00
Zach Pomerantz
56aba41299
Rename ShapeRender to DeferredPipelineLib
2016-01-08 14:02:49 -08:00
Zach Pomerantz
d8a3ae70a7
Conform to coding standard
2016-01-07 17:02:15 -08:00
Zach Pomerantz
1b3e144395
Rename Shape to ShapePipelineLib, Shape.h to ShapePipeline.h
2016-01-07 13:29:35 -08:00
Zach Pomerantz
7f0781f6e8
Move model update next to bindTransform
2016-01-07 11:49:02 -08:00
Zach Pomerantz
39269f12ec
Clean and fix Wreorder
2016-01-07 11:40:01 -08:00
Zach Pomerantz
0f6d9a4db6
Use variadic for addJob for cleaner construction
2016-01-07 11:40:00 -08:00
Zach Pomerantz
f902c4078d
Clean old DrawSceneTask
2016-01-06 18:55:14 -08:00
Zach Pomerantz
9b4a395f6b
Promote render::Job to render::Task::Job
2016-01-06 18:55:13 -08:00
Zach Pomerantz
9bc661adc8
Cleanup for style/dead code
2016-01-06 11:42:58 -08:00
samcake
7e2cf741c0
Clen up, exposingthe level of obscurance
2016-01-06 13:16:16 -04:00
samcake
12ad08560f
Merge branch 'master' of https://github.com/highfidelity/hifi into hdr
2016-01-06 09:50:58 -04:00
Zach Pomerantz
d8ff133cc6
Fix include in gpu-test
2016-01-05 18:11:24 -08:00
Zach Pomerantz
da50eacaad
Resolve Hash const function and include per Jenkins
2016-01-05 18:08:28 -08:00
Zach Pomerantz
4eff377258
Change Slots->Slot to be congruous with gpu
2016-01-05 17:20:08 -08:00
Zach Pomerantz
63444aac72
Back to shapeContext, compiling
2016-01-05 17:20:08 -08:00
Zach Pomerantz
cf35974f02
Move shapeContext to jobContext
2016-01-05 17:20:08 -08:00
Zach Pomerantz
dfcb74c3be
Split renderItems to Lights/Shapes
2016-01-05 17:20:08 -08:00
Zach Pomerantz
7913ca7f3b
Render using ShapeRender, pickPipeline in renderItems
2016-01-05 17:20:08 -08:00
Zach Pomerantz
c725fd1520
Add specialized ShapeRender for deferred
2016-01-05 17:20:08 -08:00
Zach Pomerantz
59a354ea8c
Change payload interface to return ShapeKey, not MaterialKey
2016-01-05 17:20:08 -08:00
Seth Alves
ce1b8ae6f0
Merge branch 'master' of github.com:highfidelity/hifi into near-grab-via-parenting
2016-01-04 19:35:36 -08:00
samcake
c31b943b88
APplying the AO to both direct lighting and ambient
2016-01-04 23:02:30 -04:00
samcake
f92235b032
maybe fixes the compilation bug on windows/nvidia ?
2016-01-04 21:20:42 -04:00
samcake
78ff43bed2
Merge branch 'master' of https://github.com/highfidelity/hifi into hdr
2016-01-04 18:57:13 -04:00
Andrew Meadows
d2b757d6ad
Merge pull request #6755 from zzmp/fix/optimize-gpu-stream-copy
...
Optimize getVertexStream() by using a const&
2016-01-04 14:31:21 -08:00
samcake
2486d94b03
A working prototype of ao...
2016-01-04 14:36:46 -04:00
Seth Alves
bfa8cc1969
merge from upstream
2016-01-03 06:47:25 -08:00
samcake
52f3c7e2cb
Introducing the sl files and the blurring stages
2016-01-02 11:27:50 -04:00
Zach Pomerantz
c6e6aceb85
Optimize getVertexStream() by using a const&
2015-12-31 11:51:05 -08:00
Anthony J. Thibault
c2dd00375d
Merge branch 'master' into tony/soft-attachments
2015-12-29 13:21:37 -08:00
samcake
50b3610bce
Working on the ao
2015-12-24 14:48:01 -08:00
samcake
54e1c7c3a7
Merge branch 'master' of https://github.com/highfidelity/hifi into hdr
2015-12-24 11:47:32 -08:00
samcake
cf14f9a249
Implementing the SAO effect in progress
2015-12-24 11:47:04 -08:00
Zach Pomerantz
dfa2b8d453
Remove redundant clearColorBuffer from Blit
2015-12-24 10:39:29 -08:00
Zach Pomerantz
687eef37da
Move final blit into RenderDeferredTask
...
- Also changes color buffer clearing, such that
anything run through Blit will now clear BUFFER_COLOR0 to 0,0,1,0.
- Blit will always be added to RenderDeferredTask, but
will only run if renderArgs._blitFramebuffer is set.
2015-12-23 18:21:08 -08:00
samcake
dbc4506cee
Working on AO
2015-12-23 17:27:20 -08:00
samcake
0668fbc9e4
starting on ao
2015-12-22 18:39:44 -08:00
samcake
f9070ee989
Cleanup cruft in the shaders, glowIntensity and alphaThreshold not needed anymore
2015-12-22 12:41:31 -08:00
Seth Alves
5e4a165b4d
Merge branch 'master' of github.com:highfidelity/hifi into near-grab-via-parenting
2015-12-22 11:23:09 -08:00
Zach Pomerantz
4df8fa4ac3
Create Render/Scene unique_ptr without C++14 make_unique
2015-12-21 15:39:49 -08:00
Zach Pomerantz
d8022aa5b0
Add back deferred debugging and combine context init
2015-12-21 14:32:06 -08:00
Zach Pomerantz
c6a2f5b20d
Nest JS props in RenderScriptingInterface
2015-12-21 14:32:06 -08:00
Seth Alves
76df582a6c
Merge branch 'master' of github.com:highfidelity/hifi into near-grab-via-parenting
2015-12-21 14:29:32 -08:00
samcake
4f54b85c92
Remove warnings
2015-12-21 12:05:19 -08:00
samcake
ae124ebede
Tuning the proedural shader support to work with the current default: gamma corrected emissive
2015-12-21 12:00:30 -08:00
Seth Alves
154bf5978b
Merge pull request #6697 from samcake/hdr
...
Graphics: Adding gamma correction to color vertex attribute
2015-12-18 14:11:14 -08:00
Seth Alves
b9a7ed8560
Merge branch 'hdr' of github.com:samcake/hifi into near-grab-via-parenting
2015-12-18 14:02:51 -08:00
samcake
19769ddd8f
Merge pull request #6691 from zzmp/refactor/scene-render
...
Split JS global Scene into Scene and Render
2015-12-18 13:57:25 -08:00
samcake
0492bb1c6d
Final cleans and tests using R11G11B10 for lighting buffer
2015-12-18 13:50:28 -08:00
Seth Alves
1a534ff645
Merge branch 'hdr' of github.com:samcake/hifi into near-grab-via-parenting
2015-12-18 13:43:33 -08:00
samcake
0482a2a7f7
Merge branch 'graphics' of https://github.com/highfidelity/hifi into hdr
2015-12-18 13:20:46 -08:00
samcake
d22811a771
Merge pull request #6698 from zzmp/fix/check-locations-pipeline
...
Stop modelMesh render if pipeline is not found
2015-12-18 13:20:12 -08:00
Zach Pomerantz
2c2b794683
Stop modelMesh render if pipeline is not found
2015-12-18 13:16:05 -08:00
samcake
3014b3bd5b
Adding Gamma correction to all the Color coming for the attribute stream if used as color
2015-12-18 12:50:21 -08:00
Zach Pomerantz
674bfa4f37
Replace RenderContext substructs with subclasses
2015-12-18 12:04:21 -08:00
Zach Pomerantz
d057239023
Rename RenderContext::ItemsMeta to ItemsConfig
2015-12-18 11:48:40 -08:00
Zach Pomerantz
cdcb2d565d
Use new RenderContext accessors for rendering
2015-12-18 10:34:39 -08:00
Zach Pomerantz
919a4b6728
Split global JS Scene into Render
2015-12-18 10:33:41 -08:00
samcake
157597e783
Merge pull request #6690 from samcake/hdr
...
Graphics: Fix the shading equation to respect the fresnel term for the diffuse
2015-12-18 10:30:36 -08:00
Anthony J. Thibault
6b5b272cd7
Added SoftAttachmentModel class.
...
Is a subclass of Model, it overrides the updateClusterMatrices so it will pull
the actual joint matrices from a different rig override.
For the avatar soft attachment system, this override will be the Avatar::_skeletonModel rig.
This will give us the ability for an avatar to "wear" non-rigid attachments, such as clothing.
2015-12-18 09:52:11 -08:00
samcake
c891bcb8cd
FIxing the diffuse contribution bug maybe
2015-12-17 17:44:40 -08:00
samcake
32bb8f020c
FIxing the diffuse contribution bug maybe
2015-12-17 17:40:35 -08:00
Atlante45
78b805a19a
Fix file shader file lookup on windows
2015-12-17 16:06:55 -08:00
Atlante45
c0a675dd9e
Fix msvc warning
2015-12-17 16:02:49 -08:00
Atlante45
f41ca9fc50
More custom debug work
2015-12-17 15:18:23 -08:00
Atlante45
d8a389ff92
First cut at custom pipelines
2015-12-17 15:18:23 -08:00
Atlante45
9d6618c341
Cleanup DebugDeferredBuffer code
2015-12-17 15:18:23 -08:00
samcake
d8a71db929
Merge branch 'master' of https://github.com/highfidelity/hifi into graphicsMaster
2015-12-17 10:11:03 -08:00
samcake
1b1365fd40
Exposing the tone curve in the js api
2015-12-16 16:32:53 -08:00
Seth Alves
9e5116bf4f
Merge branch 'dejitter-hold-action' of github.com:sethalves/hifi into near-grab-via-parenting
2015-12-16 15:56:31 -08:00
samcake
c0faf978f8
Introducing a setting for the tone curve
2015-12-16 15:21:09 -08:00
AlessandroSigna
08f7591787
Fix misspelling
2015-12-16 10:02:47 -08:00
samcake
7c8f12b9c4
Merge branch 'graphics' of https://github.com/highfidelity/hifi into hdr
2015-12-16 09:55:37 -08:00
samcake
b4b541178d
Merge branch 'master' of https://github.com/highfidelity/hifi into graphicsMaster
2015-12-16 09:42:06 -08:00
Seth Alves
0003c607ea
Merge branch 'master' of github.com:highfidelity/hifi into near-grab-via-parenting
2015-12-15 18:46:21 -08:00
samcake
a60ef4fb5a
Finalize the names
2015-12-15 18:32:30 -08:00
samcake
c2feec16de
Cleaning the code
2015-12-15 18:24:16 -08:00
samcake
d2ebaef69e
Adding a simple manual exposure control to configure the tonemapping and expose it to js. Add a convenient way to access the Job._concept._data with template
2015-12-15 18:18:42 -08:00
samcake
2bbd5d86b8
cleaning indentation
2015-12-15 09:46:18 -08:00
samcake
e70ab472af
Merging with upstream master/graphics
2015-12-14 18:38:29 -08:00
samcake
84d1e3b123
Merged with upstream master
2015-12-14 18:30:24 -08:00
samcake
a50b14dfae
Merging with upstream graphics
2015-12-14 18:18:39 -08:00
samcake
3554f54e17
Merge branch 'master' of https://github.com/highfidelity/hifi into graphicsMaster
2015-12-14 17:38:56 -08:00
Anthony J. Thibault
3f0cdb3c02
Merge branch 'master' into tony/js-avatar-default-pose
2015-12-14 11:19:24 -08:00
Seth Alves
008065ba38
Merge branch 'master' of github.com:highfidelity/hifi into near-grab-via-parenting
2015-12-14 09:15:56 -08:00
Seth Alves
1492fd6090
merge from upstream
2015-12-12 12:37:57 -08:00
samcake
b3acde4462
Merge branch 'master' of https://github.com/highfidelity/hifi into graphicsMaster
2015-12-11 17:49:00 -08:00
Atlante45
146581714a
More warning fixes
2015-12-11 16:17:41 -08:00
Atlante45
f308ef7aa9
Move QOpenGL wrappers to the gl lib
2015-12-11 16:17:17 -08:00
Atlante45
d3224bfde3
More warning fixes
2015-12-11 16:03:44 -08:00
Atlante45
ce51350b65
Fix warnings on windows 64bit
2015-12-11 15:42:15 -08:00
Seth Alves
6c033d9603
call locationChanged when receiving changing avatar joints over the network. RenderableModelEntityItem uses locationChanged to relay updates to _model
2015-12-11 11:35:42 -08:00
samcake
94b6ca4450
FIxing the bad lambda capture for local variables
2015-12-11 10:48:58 -08:00
samcake
5d395ae54f
Merge branch 'master' of https://github.com/highfidelity/hifi into graphicsMaster
2015-12-10 18:06:43 -08:00
samcake
c74bbda663
Nothing fancy
2015-12-10 18:02:02 -08:00
samcake
20f3d6abe1
REmoving comments
2015-12-10 16:52:03 -08:00
samcake
dffb83a488
Potentially working correctly
2015-12-10 16:31:00 -08:00
samcake
5805cc8f2b
Adding the AABox transform features (from Extents) adn introducing a simple MeshPartPayload to render simple geometry
2015-12-10 14:59:04 -08:00
Anthony J. Thibault
652ce5501f
Expose Avatar default pose to JavaScript
...
New JavaScript API to get the avatar's default pose.
MyAvatar.getDefaultJointRotation(index);
MyAvatar.getDefaultJointTranslation(index);
See `examples/tPose.js` for example usage
2015-12-10 13:57:31 -08:00
samcake
f9269523a1
Merge branch 'master' of https://github.com/highfidelity/hifi into controllers
2015-12-09 16:58:56 -08:00
samcake
9eb40bcd65
Trying to redner the collision geometry correctly but still an issue with the bounding box i get
2015-12-09 16:58:14 -08:00
samcake
1adf2cc8ba
Repesenting the collision meshes of a Model correctly
2015-12-08 16:45:12 -08:00
Brad Hefta-Gaub
1356fb15aa
Merge pull request #6591 from jherico/zaan
...
Add sphere and cube triangle counts to displayed stats
2015-12-08 13:27:37 -08:00
samcake
ede375a889
Merge branch 'graphics' of https://github.com/highfidelity/hifi into hdr
2015-12-08 12:28:16 -08:00
Bradley Austin Davis
011a43d5f2
Add sphere and cube triangle counts to displayed stats
2015-12-08 11:08:22 -08:00
samcake
83279489f3
Merge branch 'master' of https://github.com/highfidelity/hifi into graphicsMaster
2015-12-08 09:46:29 -08:00
Seth Alves
dffa37c0e7
Merge branch 'master' of github.com:highfidelity/hifi into parents
2015-12-08 09:44:50 -08:00
Sam Cake
9faec326da
CHanging the lighting BUffer format and adding tone mapping
2015-12-08 08:34:42 -08:00
samcake
b24af06589
Fixing the display of the collision hull mesh
2015-12-07 18:26:55 -08:00
samcake
d12fdb9726
Merge pull request #6584 from birarda/pref-no-auto
...
fix for avatar URL text editing, assert in Model.cpp
2015-12-07 18:11:49 -08:00
Stephen Birarda
6dbff93bbd
fix assert on model URL change from _renderItemsSet
2015-12-07 16:24:26 -08:00
Seth Alves
f99812a903
adjust method names to fit convention
2015-12-07 14:31:08 -08:00
samcake
9ddc3c27bf
compilation errors fixed
2015-12-07 13:25:55 -08:00
samcake
5d207d0c9c
INtroducing the tonemapping job in its separate file and clean DeferredLightingEffect
2015-12-07 13:19:43 -08:00
Atlante45
f8ee377f01
Fix QOpenGL warning
2015-12-07 08:37:07 -08:00
Sam Cake
3595d0d719
less commented stuff
2015-12-07 01:15:10 -08:00
Sam Cake
01d48b29aa
cleaning code and removing cruft
2015-12-07 01:03:14 -08:00
Sam Cake
a018c51945
Drawing background first in the Lighting buffer then lighting passes with stencil test
2015-12-06 23:51:29 -08:00
Sam Cake
dc4b6909bc
Merge branch 'graphics' of https://github.com/highfidelity/hifi into hdr
2015-12-06 18:58:11 -08:00
Seth Alves
a948ae5f19
children of avatar joints might be right, now
2015-12-06 10:48:00 -08:00
Atlante45
acb9e2774e
Basic implementation of debug zone resizing
2015-12-04 21:01:53 -08:00
Atlante45
41af377878
More g-buffer debugging options
2015-12-04 21:01:53 -08:00
samcake
dfd26bebae
Merge branch 'graphics' of https://github.com/highfidelity/hifi into hdr
2015-12-04 17:53:37 -08:00
samcake
b28e3d0045
Merging MAster and Graphics
2015-12-04 17:51:30 -08:00
Atlante45
b45b1cc513
More work on live g-buffer debug
2015-12-04 17:43:00 -08:00
samcake
119cc733b5
Merging with master
2015-12-04 17:17:33 -08:00
samcake
cfd7373585
Merge branch 'master' of https://github.com/highfidelity/hifi into graphicsMaster
2015-12-04 16:52:50 -08:00
samcake
ef7ddce2b6
Trying to fix the problem of the background not showing correctly
2015-12-04 16:52:14 -08:00
samcake
a12188877a
Merge branch 'graphics' of https://github.com/highfidelity/hifi into hdr
2015-12-04 11:50:26 -08:00
samcake
3c18664c57
Cleaning all the deferred buffers in the Prepare call
2015-12-04 11:47:57 -08:00
Brad Hefta-Gaub
15c4dbfb11
Merge pull request #6554 from Atlante45/warnings
...
Last of the OpenGL warnings on OS X
2015-12-04 11:24:28 -08:00
Brad Hefta-Gaub
d07629489c
Merge pull request #6543 from Atlante45/pointer
...
gpu::Shader::create* return shared_ptr
2015-12-04 11:17:02 -08:00
Atlante45
ba2e7e1f29
Debug diffuse buffer
2015-12-04 11:15:06 -08:00
Atlante45
c27944ae28
Simple normal map debug
2015-12-04 10:44:23 -08:00
Atlante45
baf93e8a08
Add basic DebugDeferredBuffer job
2015-12-04 10:44:23 -08:00
Atlante45
528a17422d
Last of the OpenGL warnings on OS X
2015-12-04 10:33:10 -08:00
Brad Hefta-Gaub
d9a1563396
Merge pull request #6152 from sethalves/parents
...
Parents
2015-12-04 10:26:57 -08:00
Atlante45
07387ab8c0
Fix most OpenGL warnings
2015-12-04 10:01:43 -08:00
samcake
d593b824e9
Introducing a true Primary Framebuffer and a different Deferred Framebuffer
2015-12-03 17:26:54 -08:00
samcake
72d393905b
Introducing the Lighting Buffer where all the lighting is beeing accumulated, apply a manual gamma correction when copying back into the main color buffer
2015-12-03 16:03:32 -08:00
Atlante45
3da80f5861
gpu::Shader::create* return shared_ptr
2015-12-03 14:56:07 -08:00
Seth Alves
4e74c98ae7
Merge branch 'master' of github.com:highfidelity/hifi into parents
2015-12-03 11:00:13 -08:00
samcake
a5475ed14d
Early try fixing the lighting
2015-12-03 10:41:32 -08:00
Anthony J. Thibault
9c0b4bc2a2
Fix for model entities with non-uniform scaled mesh
...
Logic which extracted rotations from a non-uniformly scaled matrices was sometimes incorrect.
This should fix the roads in Qbit as well as the blocks in toybox.
2015-12-02 14:09:47 -08:00
Seth Alves
b7ebe5b92b
merge from upstream
2015-11-30 16:59:52 -08:00
Seth Alves
5c327edd5a
keep AvatarHashMap::findAvatar from creating bogus avatar entries. remove some more stray consts
2015-11-30 14:08:07 -08:00
Seth Alves
cf39cac7fc
attempt to make SpatiallyNestable data access thread-safe
2015-11-29 12:50:33 -08:00
Anthony J. Thibault
e2f031e77f
AnimDebugDraw Removed unused drawing code.
2015-11-21 10:57:39 -08:00
Anthony J. Thibault
fe683edb66
Avatar Debug Draw Default Pose now works
2015-11-21 10:53:24 -08:00
Seth Alves
f013f95e9b
merge from upstream
2015-11-21 08:43:00 -08:00
Anthony J. Thibault
2f37335d77
Warning fixes
2015-11-20 14:50:42 -08:00
Anthony J. Thibault
a77ea8da43
Removed JointStates! You won't be missed.
2015-11-20 14:15:37 -08:00
Anthony J. Thibault
982e2c06a9
Rig: Switched over to use AnimPoses instead of JointStates
...
* fixed debug rendering
* improved jointState/animPose diff detection code.
2015-11-19 12:14:04 -08:00
Anthony J. Thibault
721da29432
WIP checkpoint
...
* No longer normalizing scale in AnimSkeleton and AnimClip
This means graph is animating in 'geometry' coordinates
before unit scale is even applied. This is necessary to
properly work with both Avatar based models and ModelEntity
based models
Many things are broken.
* debug rendering (translations are x100)
* IK hand targets
* follow cam
* I did not even dare to try HMD mode
2015-11-18 18:47:33 -08:00
Anthony J. Thibault
55adedcec8
Merge branch 'master' into tony/remove-joint-states
2015-11-16 11:22:44 -08:00
Seth Alves
89ed3751ae
Merge branch 'master' of github.com:highfidelity/hifi into rework-visual-physics-debug
2015-11-14 14:00:20 -08:00
Stephen Birarda
429a4d51d5
Merge pull request #6375 from Atlante45/resize
...
Fix models resizing
2015-11-13 10:23:05 -08:00
Seth Alves
3519dd248b
Merge branch 'master' of github.com:highfidelity/hifi into rework-visual-physics-debug
2015-11-12 09:53:11 -08:00
Brad Hefta-Gaub
eefe26d96a
fix crash in Model::deleteGeometry when _rig is not initialized
2015-11-12 09:24:49 -08:00
Atlante45
954391ae3e
Fix models resizing
...
When models are MUCH bigger one one axis than the others
and we modify the scale only of one of those small axis,
it wouldn't propagate because the change was relatively
too small conpared to the size of the model
2015-11-11 18:33:26 -08:00
Anthony J. Thibault
e698d3c1e8
Isolate JointStates within the Rig class
...
Except for SkeletalModel::computeBounds() JointStates are now completly
encapsulated by the Rig. Now we can start using AnimPoses instead and
in parallel with the JointState implementation. Then we can assert that
they are identical, before removing JointStates.
This check in has many comments with the AJT tag.
Each one of these cases will need to be revisitied and fixed.
In particular // AJT: LEGACY will be used to enclose all code
in the Rig which manipulates the _jointState QVector.
2015-11-11 18:23:58 -08:00
Anthony J. Thibault
11440f92f4
Removed rig animations
...
* Deleted AnimationHandle class
* Removed enableAnimGraph and anableRigAnimations from Menu.
* Removed *some* references to old IK system.
But it is still used when computing collision bounding volumes
2015-11-11 15:32:57 -08:00
Seth Alves
66387c4530
use icons to show network and physics status
2015-11-10 17:02:57 -08:00
Seth Alves
d043011a11
Merge branch 'render-debug-fixup' of github.com:sethalves/hifi into rework-visual-physics-debug
2015-11-10 10:16:02 -08:00
Seth Alves
8e466190e0
working toward display icons for debug/status display
2015-11-10 10:15:58 -08:00
Seth Alves
b9ca509f07
Merge branch 'master' of github.com:highfidelity/hifi into render-debug-fixup
2015-11-10 09:50:12 -08:00
Seth Alves
d535109caf
attempt to fix render-collision hull feature
2015-11-10 09:49:31 -08:00
Brad Hefta-Gaub
021a6e689d
added some asserts to test future mistakes that would cause render item leaks
2015-11-09 17:09:17 -08:00
Brad Hefta-Gaub
e47b049200
fix render item leak on Model::reset()
2015-11-09 16:41:40 -08:00
Seth Alves
f3d26e163d
turn _drawItemStatus into a bitfield, split out bounding boxes and network/physics-sim-ownership. hook Display-Simulation-Ownership menu item to this system
2015-11-07 07:19:27 -08:00
Seth Alves
3ac0fef1ea
merge from upstream
2015-11-01 15:22:57 -08:00
Howard Stearns
8c395209e8
Fix Developer->Avatar->Draw Mesh
...
MyAvatar::setEnableMeshVisible -> Model::setVisibleInScene sets a flag that no one was looking at any more.
2015-10-28 21:23:35 -07:00
Brad Davis
5cbb2562cd
Move GL utilities out to their own library
2015-10-27 15:53:42 -07:00
Seth Alves
7f6ac0207d
Merge branch 'master' of github.com:highfidelity/hifi into parents
2015-10-22 19:35:27 -07:00
samcake
b2461a8e4e
Merge branch 'master' of https://github.com/highfidelity/hifi into color
2015-10-22 12:06:20 -07:00
samcake
a44ac4cbfd
Fiing the dark colors for surfaces without texture
2015-10-22 11:40:56 -07:00
Stephen Birarda
a8d591166e
Merge branch 'master' of https://github.com/highfidelity/hifi into qt-5.5
2015-10-22 11:13:28 -07:00
Stephen Birarda
695f0a75b0
fixes for builds with qt 5.5
2015-10-22 11:12:51 -07:00
Seth Alves
6cb195b335
Merge branch 'master' of github.com:highfidelity/hifi into parents
2015-10-20 15:53:56 -07:00
Seth Alves
bc99ef778c
change how render engine is told about model position changes
2015-10-20 12:04:29 -07:00
Andrew Meadows
7fa069cf30
fix line endings grumble gruble
2015-10-20 09:38:25 -07:00
Andrew Meadows
341bc3666f
Merge pull request #6093 from sethalves/hold-action-changes
...
Hold action changes
2015-10-20 09:19:48 -07:00
Brad Hefta-Gaub
110adc5c22
fix model LOD behavior
2015-10-19 15:21:25 -07:00
Brad Davis
282cdadf63
Fixing line endings
2015-10-18 22:55:14 -07:00
Seth Alves
4903db45b1
give other avatars an anim-skeleton
2015-10-15 14:21:06 -07:00
Seth Alves
a70ba4cd5a
add some accessors
2015-10-15 11:42:53 -07:00
samcake
3897716ff5
Simplifying the DrawOpaqueStencil Pixel shader
2015-10-08 17:49:55 -07:00
samcake
bad5ea7d53
grouping the depth and stencil buffer into a single buffer
2015-10-08 16:47:33 -07:00
samcake
c7049bad39
Backing up on any changes regarding shading, focus on the rearr view mirror and stencil bug
2015-10-08 09:32:05 -07:00
samcake
a2ca1c033d
FIxing the rear view mirror issue with background and fooling around with Lighting equations
2015-10-07 19:04:03 -07:00
samcake
0a351a8a0c
FIx the problem with cauterizedClusterMatrices in the case rear view mirror is used. Clean the way to define the depth stencil format for texture
2015-10-07 14:26:33 -07:00
Brad Hefta-Gaub
b06d17d45a
Merge pull request #6000 from samcake/hobbes
...
Migrate FBXReader to use model::Mesh and clean Model Part rendering
2015-10-07 01:31:21 -07:00
Brad Davis
eff5a4c395
Picking fixes in the HMD
2015-10-06 22:56:48 -07:00
samcake
83a0091e47
Merge branch 'master' of https://github.com/highfidelity/hifi into hobbes
2015-10-06 22:03:07 -07:00
samcake
c75c31ddc8
Fixing the index Offset issue with instanced shapes from Geometry cache
2015-10-06 18:04:08 -07:00
Atlante45
9c7a480fda
Remove shadowMatrices/Distances
2015-10-06 13:56:23 -07:00
Atlante45
765608d0ff
More unused
2015-10-06 13:56:21 -07:00
samcake
2b5742b277
Some code got overwritten when merging to my office mahcine this morning, that i know got back...
2015-10-06 11:13:35 -07:00
samcake
cf3828629e
Fix build on mac and linux
2015-10-06 11:00:21 -07:00
samcake
c92a6d58ab
Dispatch classes in their properly named files to appease the coding standard gods
2015-10-06 09:46:32 -07:00
samcake
59afbf1a04
Remove the renderPart call from model.cpp and put the code path in the MeshPartPayload::render()
2015-10-06 01:15:53 -07:00
samcake
fc7f0c77a5
Rename ModelRenderPayload files to ModelRenderItem
2015-10-06 00:20:51 -07:00
samcake
4270b83c0f
Uniform buffer for skeleton joint bind pose
2015-10-05 23:33:58 -07:00
samcake
12fedb6ff0
Move skinning shader features in its own slh and get ready for moving cluster matrices to uniform buffer
2015-10-05 18:31:05 -07:00
samcake
9e393ced46
MOving rednering code of Model into ModelRenderPayload.h/cpp
2015-10-05 09:17:16 -07:00
samcake
fd232b7d32
ONe more file to deal with the Model rendering
2015-10-04 22:27:48 -07:00
samcake
1799322c67
Fix typos introduce in previous commit about the Quad to triangle indexing and remove dead code in model.cpp
2015-10-04 18:46:35 -07:00
samcake
55f5ab3732
Merge branch 'master' of https://github.com/highfidelity/hifi into hobbes
2015-10-04 18:31:56 -07:00
samcake
48416262a1
Migrated the FBXReader mesh code to use excusively the Model::mesh and use them directly for rendering in the ModelPartPayload, fixed a bug in the indexBUffer offset value used in drawIndexed and drawIndexedInstanced
2015-10-04 18:31:19 -07:00
samcake
edaa8f998a
Migrating to the new mesh for rendering and having problems with multi part mesh
2015-10-02 18:12:16 -07:00
Howard Stearns
f6665a4ac6
Merge pull request #5839 from sethalves/transmit-joint-translation
...
WARNING protocol change: Transmit joint translation
2015-10-02 13:37:56 -07:00
samcake
a22ee03732
Merge branch 'master' of https://github.com/highfidelity/hifi into hobbes
2015-10-02 12:25:09 -07:00
samcake
edb485cb0f
working on getting the Model payload to use model::Mesh
2015-10-02 12:24:41 -07:00
Anthony J. Thibault
fc7b6dee84
Merge branch 'master' into transmit-joint-translation
2015-10-02 11:40:33 -07:00
Brad Hefta-Gaub
4c556dd43a
Merge pull request #5962 from samcake/calvin
...
Rendering the background elements after opaque and only work on the far pixels
2015-10-02 11:38:45 -07:00
Brad Hefta-Gaub
c6c430ca76
Merge pull request #5977 from jherico/marge
...
Fixing 2D overlay mouse interaction
2015-10-02 11:11:04 -07:00
Brad Davis
aa8979570c
Working on 2D overlay mouse interaction
2015-10-02 00:35:37 -07:00
samcake
b8ea83099a
Debuggging
2015-10-01 21:13:22 -07:00
samcake
4478ca79ca
Merge branch 'master' of https://github.com/highfidelity/hifi into hobbes
2015-10-01 19:55:14 -07:00
samcake
71ad6195f2
Merge branch 'master' of https://github.com/highfidelity/hifi into calvin
2015-10-01 19:25:25 -07:00
samcake
690620d74d
Cleaning code
2015-10-01 19:23:32 -07:00
samcake
3490e08521
Little improvments on the performance side to get the Stencil pass and the masking of the background under reasonable performances
2015-10-01 18:42:09 -07:00
Anthony J. Thibault
fa864d29f9
Merge branch 'master' into transmit-joint-translation
2015-10-01 16:55:24 -07:00
Andrew Meadows
09ac01a5e7
remove cruft from old verlet avatar simulation
2015-10-01 13:44:50 -07:00
samcake
0398f9429e
fix the coo/texel blender mode for the case when color is black and the stereo issue
2015-09-30 18:39:13 -07:00
samcake
75e858cd13
Putting together the stencil buffer for opaque vs background and using it for the backgroud render items
2015-09-30 15:54:03 -07:00
Sam Gateau
e78f1521ab
getting the stencil buffer in place
2015-09-30 09:24:36 -07:00
samcake
dc3c9b48ea
MOving forward on the background beeing drawn last
2015-09-29 18:28:20 -07:00
Brad Hefta-Gaub
04115052b3
Merge pull request #5938 from samcake/calvin
...
Fixing the lighting view matrix for stereo again
2015-09-29 15:08:41 -07:00
samcake
1bd07b58c3
Fixing the lighting view matrix for stereo again
2015-09-29 14:40:37 -07:00
Brad Hefta-Gaub
00c32fc7cd
Merge pull request #5924 from jherico/marge
...
Support for accessing IPD in scripts
2015-09-29 14:24:53 -07:00
Seth Alves
d0a1e206ca
Merge branch 'master' of github.com:highfidelity/hifi into transmit-joint-translation
2015-09-29 13:55:13 -07:00
samcake
840f92bd06
Merge branch 'master' of https://github.com/highfidelity/hifi into hobbes
2015-09-29 10:54:09 -07:00
samcake
a9f6c93a2c
merging
2015-09-29 10:53:56 -07:00
samcake
202d2944ab
Merge branch 'master' of https://github.com/highfidelity/hifi into calvin
2015-09-28 17:24:59 -07:00
Brad Davis
7b1c04512a
Adding support for accessing IPD in scripts
2015-09-28 16:24:38 -07:00
samcake
95ea874d43
Minor fixes to the way the specular color is interpreted
2015-09-28 12:43:15 -07:00
Brad Hefta-Gaub
ce3da099f6
normalize the surface normal from the triangle, coding standard fix, update example
2015-09-28 08:30:49 -07:00
Brad Hefta-Gaub
430cbcca7e
first cut at adding surface normals to ray intersection
2015-09-27 21:57:50 -07:00
Seth Alves
50dd8eba45
Relay joint translations across network. Apply animation's root-joint translation to avatar.
2015-09-26 11:40:39 -07:00
Brad Hefta-Gaub
85b2322acc
more work on batch optimzation
2015-09-24 17:11:14 -07:00
Brad Hefta-Gaub
5e82b9c433
more warning fixes
2015-09-24 08:26:56 -07:00
samcake
46e9c463fc
Merge pull request #5885 from ZappoMan/batchOptimizations
...
Batch optimizations
2015-09-23 19:30:51 -07:00
Brad Hefta-Gaub
5a80c4d0e7
Merge pull request #5886 from samcake/calvin
...
Expose multi Draw Indirect in Batch (Hijack Austin's work...)
2015-09-23 19:13:28 -07:00
Brad Hefta-Gaub
9a0e5b9870
address Sam's concerns
2015-09-23 17:37:48 -07:00
samcake
8bdfc853d9
Merge branch 'orange' of https://github.com/samcake/hifi into hobbes
2015-09-23 17:31:04 -07:00
ZappoMan
65a079cb53
fix mac build
2015-09-23 16:48:34 -07:00
Brad Hefta-Gaub
ef25876c9a
implement vector caching for gpu::Batch
2015-09-23 14:46:47 -07:00
samcake
8735aa8003
Merging Austin pr that adds the multi draw indirect and also fix the seprate vertex format feature for windows and linux
2015-09-23 12:19:17 -07:00
Anthony J. Thibault
90a551214e
Fix for AnimDebugDraw crash on shutdown.
2015-09-23 11:09:43 -07:00
Anthony J. Thibault
a9848cd157
Merge branch 'master' into tony/lean-threshold
2015-09-23 10:54:12 -07:00
samcake
7f8450f77b
Merge branch 'master' of https://github.com/highfidelity/hifi
2015-09-23 10:30:51 -07:00
samcake
d7d332acd4
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
...
t :wq
2015-09-23 09:51:31 -07:00
Brad Hefta-Gaub
387c4fbd92
fix bad oglplus pragma warnings
2015-09-22 21:52:16 -07:00
Brad Hefta-Gaub
17a3fd159a
apparently unix doesn't like the generic type version of sqrt()
2015-09-22 21:43:09 -07:00
Brad Hefta-Gaub
02e1de3ba3
more warnings fixes
2015-09-22 21:35:13 -07:00
Brad Hefta-Gaub
cd9aad4f41
more warnings fixes
2015-09-22 21:28:45 -07:00
Brad Hefta-Gaub
9436d2922f
more warnings fixes
2015-09-22 21:18:04 -07:00
Brad Hefta-Gaub
5b00783f18
more warnings fixes
2015-09-22 20:54:36 -07:00
Brad Hefta-Gaub
8d8035a418
Merge branch 'master' of https://github.com/highfidelity/hifi into fixWarning
...
Conflicts:
libraries/render-utils/src/Model.cpp
libraries/render-utils/src/Model.h
2015-09-22 20:54:25 -07:00
Brad Hefta-Gaub
52842cb287
more warnings fixes
2015-09-22 20:34:40 -07:00
Anthony J. Thibault
d04f4d4b2b
Added shared DebugDraw singleton.
2015-09-22 19:57:23 -07:00
samcake
518f5fe17c
Starting to clean the mesh part of the RenderItem....
2015-09-22 18:21:36 -07:00
Brad Hefta-Gaub
6f7e13b3c1
more warning fixes
2015-09-22 17:26:45 -07:00
Andrew Meadows
2edffaf91a
remove unused variables
2015-09-22 17:20:13 -07:00
Andrew Meadows
11fee94459
remove warning about signed/unsigned comparison
2015-09-22 17:19:47 -07:00
Brad Hefta-Gaub
efda121619
fix a bunch of warnings on windows
2015-09-22 16:40:17 -07:00
Brad Davis
deaa4a747b
Batch side implementation of multi-draw indirect
2015-09-22 15:56:58 -07:00
Brad Hefta-Gaub
5bcce50b98
Merge pull request #5846 from bob-long/master
...
Display the face blend coefficients and update the value in real time.
2015-09-22 14:56:56 -07:00
samcake
80e5581639
fixing review comments
2015-09-21 22:51:14 -07:00
samcake
4513b64b00
fixing review comments
2015-09-21 22:42:24 -07:00
BOB LONG
a23a90bf5f
Code simplification
...
Simplify the code a bit as suggested:
1) Use unsigned int instead of signed int, so we can avoid checking the
negative case
2) Merge two lines into a single line so we can inline the
implementation
Correct the js sample file header.
testing done:
- Build locally
- Pass -1 as index from js and the code still can correctly handle the
input.
2015-09-21 19:11:13 -07:00
samcake
91b9940fe9
Merging and a fix for the diffuse map floating around
2015-09-21 18:09:25 -07:00
samcake
910038cf82
Merging
2015-09-21 17:47:23 -07:00
samcake
21f53f1bbd
debugging the lighting issue on the craps table
2015-09-21 16:57:55 -07:00
Brad Hefta-Gaub
ea141aae92
Merge pull request #5865 from jherico/bart
...
Instancing work, second pass
2015-09-21 16:51:08 -07:00
Bradley Austin Davis
0401672c82
Fixing lighting again
2015-09-21 16:24:55 -07:00
Bradley Austin Davis
b3aeaba5f4
CR feedback
2015-09-21 15:44:47 -07:00
Bradley Austin Davis
0c0af812c2
CR comments
2015-09-21 14:16:56 -07:00
Bradley Austin Davis
e12e4ece34
Fixing lighting and atmosphere
2015-09-21 13:51:08 -07:00
Bradley Austin Davis
e024d23366
Instancing work, second pass
2015-09-21 13:27:02 -07:00
samcake
d3b1bcb86d
Redistributing the files to create the model-networking lib and separate that from the redner-utils
2015-09-21 13:21:35 -07:00
Brad Hefta-Gaub
dc9c774eb5
merge model part quads and triangles together to reduce the number of draw calls
2015-09-21 13:09:43 -07:00
samcake
6a714f405c
Integrate the PR from ALessandro through a different Texture Type and a different TextureLoader to transform a bump map into a normal map
2015-09-21 00:53:48 -07:00
samcake
3614812681
MOving the actual creation of the texture and the pixel manipulation required from TextureCache to TextureSOurce
2015-09-20 23:31:59 -07:00
samcake
c9cb768945
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2015-09-19 09:00:19 -07:00
samcake
9a8dc6ca5d
Fix compilation issues on mac
2015-09-19 08:59:47 -07:00
samcake
8941741508
Migrating the rendering code to the Material Maps and adding the simplae variables to the the TextutreMap
2015-09-18 18:47:18 -07:00
Brad Davis
8a703d0363
Instanced rendering, first pass
2015-09-18 16:29:29 -07:00
samcake
64cf8590eb
fix typos
2015-09-18 11:51:58 -07:00
samcake
5f5cc3dbaf
fix typos
2015-09-18 11:51:28 -07:00
samcake
767407af9c
Merging and cleaning shaders
2015-09-18 11:46:44 -07:00
samcake
d4fd2ea4c6
merging
2015-09-18 11:31:53 -07:00
Sam Gateau
d0f7ddd3a6
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2015-09-18 00:03:19 -07:00
Sam Gateau
b207d97f72
Fix the lighting when the rear view mirror is showing up
2015-09-17 12:28:17 -07:00
Sam Gateau
882ca5d6c0
Fix the lights not rendering roperly
2015-09-16 15:57:35 -07:00
Sam Gateau
d45547aa1a
Merge and update
2015-09-16 13:46:07 -07:00
BOB LONG
efc321bc10
Display face blend coefficients
...
Display the face blend coefficients and update the value in real time.
2015-09-16 00:40:26 -07:00
Brad Davis
f35ffd2ab7
Merge pull request #5814 from samcake/HMDLightingBug
...
Fixing HMD and stereo lighting bug
2015-09-15 18:10:26 -07:00
Sam Gateau
08546fcc08
Merge branch 'master' of https://github.com/highfidelity/hifi into HMDLightingBug
2015-09-15 18:07:26 -07:00
Sam Gateau
80d25a68b6
Bringing back the eyeView per side to the deferred transform stack
2015-09-15 18:05:15 -07:00
Sam Gateau
5410bc0945
FIx the review comment and trying to fix the simple stereo display plugin projection and eye view matrix
2015-09-15 17:48:55 -07:00
Sam Gateau
f00e3829f1
Cleaning for PR
2015-09-15 16:54:04 -07:00
Sam Gateau
7b8e11e01c
Debugging, looking good, no ready for final lighting
2015-09-15 15:22:45 -07:00
Sam Gateau
dc8756e465
Need to pull master, just updated all the deferred shaders to use scribe func declare blocks to avoid long shaders... didn;t validate the current clip to eye position evaluation
2015-09-15 14:40:23 -07:00
Sam Gateau
400f90aea4
Introducing a stereo loop that should do the right thing but doesn't yet
2015-09-15 08:34:46 -07:00
Brad Davis
f4818c17cf
Fix avatar and other model animations
2015-09-15 08:04:17 -07:00
Brad Davis
3f688f92d3
Don't do an O(N^2) operation on cluster matrices
2015-09-15 08:04:17 -07:00
Brad Hefta-Gaub
70fcdbf2fd
Revert "Fix over-calculation of cluster matrices"
2015-09-14 21:20:11 -07:00
Sam Gateau
45dc5be53d
DeferredTransform buffer working for the deferred rendering in mono
2015-09-14 17:48:15 -07:00
Brad Davis
35e4440c4f
Don't do an O(N^2) operation on cluster matrices
2015-09-14 16:09:13 -07:00
Sam Gateau
00688172dd
work in progress, gathering th eindvidual parameters of the deferred pass into a single UBO that is bound once for all the deferred lighting passes
2015-09-14 15:49:05 -07:00
Sam Gateau
3690d5a4c2
Merge branch 'master' of https://github.com/highfidelity/hifi into HMDLightingBug
2015-09-14 12:28:59 -07:00
Sam Gateau
6c63dc0444
work in progress
2015-09-14 12:28:33 -07:00
Brad Davis
1bb15e28d6
Fixing differing highlights between left and right eyes in stereo modes
2015-09-14 11:24:28 -07:00
Sam Gateau
0fcfacdd72
Merge branch 'master' of https://github.com/highfidelity/hifi into HMDLightingBug
2015-09-14 10:18:42 -07:00
Sam Gateau
3f2609e52a
merging
2015-09-14 09:59:04 -07:00
Sam Gateau
9074d0d6e1
very first version of the TextureStorage working
2015-09-14 09:29:46 -07:00
Seth Alves
49ee251238
quiet compiler
2015-09-12 09:59:25 -07:00
Sam Gateau
cf1f5b8771
Work in progress
2015-09-11 15:25:33 -07:00
Sam Gateau
5cc5609e87
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2015-09-11 12:05:02 -07:00
Anthony J. Thibault
7996a02bd8
Added head target to AnimGraph IK node.
...
* In HMD mode head orientation and position is set.
* When not in HMD only orientation is set, position should
default to the underlying pose position.
2015-09-11 09:48:48 -07:00
Sam Gateau
c37cdce750
Merging back with master
2015-09-10 17:53:50 -07:00
Howard Stearns
73a5714d66
Merge branch 'master' of https://github.com/highfidelity/hifi into decouple-avatar-updates
2015-09-09 10:37:11 -07:00
Seth Alves
e06461ea15
Merge pull request #5724 from hyperlogic/tony/anim-debug-draw-improvements
...
AnimDebugDraw Improvements
2015-09-08 17:07:51 -07:00
Howard Stearns
eb67254e54
Merge branch 'master' of https://github.com/highfidelity/hifi into decouple-avatar-updates
2015-09-08 16:54:14 -07:00
Howard Stearns
26f63a44fc
Merge branch 'master' of https://github.com/highfidelity/hifi into decouple-avatar-updates
2015-09-08 15:30:22 -07:00
Stephen Birarda
a3959109f1
resolve conflicts on merge with upstream/master
2015-09-08 15:18:39 -07:00
Stephen Birarda
b8bf9a1104
fix OBJReader loading with URL
2015-09-08 14:51:51 -07:00
Howard Stearns
27f4bca0a4
Cleanup: This appears to be complete and working -- EXCEPT for loading animations on the update thread!
...
Until I figure that out, the answer is to turn off Developer->Avatar->"Enable Avatar Update Threading", run through forward/back/left/right/strafeLeft/strafeRight, and then turn "Enable Avatar Update Threading" back on.
2015-09-08 14:49:58 -07:00
Brad Davis
5f1affaff9
Procedural skybox work
2015-09-08 14:31:16 -07:00
Anthony J. Thibault
6d5927c0c9
Now with less copies.
...
* AnimSkeleton now returns AnimPoses by const ref.
* AnimDebugDraw: uses references to Poses on the stack instead of copies
within inner loops.
* AnimDebugDraw: Removed unnecessary universal refs in range based for loops.
2015-09-08 10:51:23 -07:00
Stephen Birarda
9878143661
repairs to ShaderCache for Resource changes
2015-09-08 08:58:35 -07:00
Stephen Birarda
25aeda2e18
Merge branch 'master' of https://github.com/highfidelity/hifi into protocol
2015-09-08 08:40:51 -07:00
Howard Stearns
efeaf21305
Checkpoint smoother.
2015-09-07 16:32:51 -07:00
Howard Stearns
0065c64b31
Snapshot of no-judder, before cleanup.
2015-09-07 09:57:05 -07:00
Brad Davis
e8435b6218
Procedural rendering for box entities
2015-09-05 12:10:45 -07:00
Anthony J. Thibault
69e463bbfd
AnimDebugDraw Improvements
...
* Now always works, regardless of whether or not Rig or AnimGraph animations
are enabled.
* Changed joint radius to 1 cm.
* Changed xyz axis length to 4 cm.
2015-09-04 16:01:05 -07:00
Howard Stearns
d3106de7c1
Merge branch 'master' of https://github.com/highfidelity/hifi into decouple-avatar-updates
2015-09-04 14:32:58 -07:00
Stephen Birarda
ed19987b7d
resolve conflicts on merge with upstream/master
2015-09-04 12:31:46 -06:00
Anthony J. Thibault
3f258c89b4
Fix transition from AG+Rig to AG only.
2015-09-04 11:03:59 -07:00
Anthony J. Thibault
df28c7bf1a
Merge branch 'master' into ajt/new-anim-system
2015-09-04 09:27:02 -07:00
Brad Hefta-Gaub
20bd14c8db
Merge pull request #5684 from rabedik/fxaa
...
Post-process anti-aliasing effect
2015-09-04 09:01:39 -07:00
Raffi Bedikian
6b2897ca8f
Fix AA bugs with display plugins and mini-mirror
2015-09-03 23:11:53 -07:00
Brad Davis
c8069ba73c
Working on magballs polish
2015-09-03 20:09:54 -07:00
Anthony J. Thibault
30264e9c3d
Added animation debug draw items to menu.
...
* Debug Draw Bind Pose - used to display the current avatar's bind pose
* Debug Draw Animation - used to display the current avatar's AnimGraph animation.
Currently does not work with old animation so it's only valid when Enable Anim Graph is true.
* Draw Mesh - used to hide or display the avatar mesh.
2015-09-02 21:04:29 -07:00
Raffi Bedikian
2d95d1c236
Fix various whitespace issues
2015-09-02 13:49:21 -07:00
Anthony J. Thibault
d151474446
Merge branch 'master' into ajt/new-anim-system
2015-09-02 10:00:36 -07:00
Raffi Bedikian
9318661bc3
Add algorithm comments to FXAA shader
2015-09-01 23:54:48 -07:00
Howard Stearns
8cf71f285d
Merge branch 'master' of https://github.com/highfidelity/hifi into decouple-avatar-updates
2015-09-01 16:03:40 -07:00
Stephen Birarda
33f6933544
Merge branch 'master' of https://github.com/highfidelity/hifi into protocol
2015-09-01 14:36:16 -06:00
Andrew Meadows
fe2d03fd37
merge
...
Conflicts:
libraries/display-plugins/src/display-plugins/OpenGLDisplayPlugin.cpp
libraries/display-plugins/src/display-plugins/stereo/StereoDisplayPlugin.cpp
libraries/shared/src/GLMHelpers.cpp
2015-09-01 11:17:08 -07:00
Anthony J. Thibault
2401e6cc4b
Merge branch 'master' into ajt/new-anim-system
2015-09-01 10:58:38 -07:00
Seth Alves
7b6d267c06
Merge pull request #5675 from AndrewMeadows/darmstadtium
...
remove PhysicsEntity class
2015-09-01 10:06:01 -07:00
Stephen Birarda
fa0abe2972
resolve conflicts on merge with upstream/master
2015-08-31 10:51:12 -07:00
Anthony J. Thibault
54aa0677f6
Merge branch 'master' into ajt/new-anim-system
2015-08-31 10:47:50 -07:00
Raffi Bedikian
ff2a58b3eb
Add FXAA effect class, modeled after AO effect
2015-08-30 20:49:03 -07:00
Raffi Bedikian
1001cf9000
Add shader files for FXAA
2015-08-30 20:48:06 -07:00
Sam Gateau
4e944645fe
more cleaning for showing a cleaner pr
2015-08-28 16:58:36 -07:00
Sam Gateau
b845fcaff9
Cleanup
2015-08-28 16:38:07 -07:00
Sam Gateau
e2fce12713
Splitting the FBXREader.cpp file into sub files
2015-08-28 09:51:03 -07:00
Sam Gateau
8ea8eea08d
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2015-08-28 08:13:10 -07:00
Sam Gateau
85f230bf17
Getting rid of the NetworkMEshPart and simplifying the thinking around the MOdel regarding its RenderItems
2015-08-28 08:12:50 -07:00
Andrew Meadows
614fad0811
remove warnings from linux build
2015-08-27 19:12:25 -07:00
Stephen Birarda
8ea20b5e5e
fix warning on string literal call to qFatal
2015-08-27 18:26:55 -07:00
Andrew Meadows
d3f06af892
remove PhysicsEntity class
2015-08-27 18:22:12 -07:00
Stephen Birarda
8ee27bca2b
remove urlAsString from Model
2015-08-27 16:00:21 -07:00
Stephen Birarda
80cf7b6c76
resolve conflicts on merge with upstream/master
2015-08-27 14:50:04 -07:00
Ryan Huffman
755c33e551
Remove unused variable
2015-08-27 14:11:40 -07:00
Ryan Huffman
24eef654e0
Remove unnecessary debug
2015-08-27 14:11:29 -07:00
Ryan Huffman
750080fe66
Remove early return in Model::restoreJointPosition
2015-08-27 12:52:01 -07:00
Anthony J. Thibault
778521f664
Improvement to bone link rendering when bones are large.
2015-08-27 10:21:23 -07:00
Sam Gateau
4f7b857130
Merge
2015-08-27 10:01:39 -07:00
Sam Gateau
f6953f8e02
REfining th eTextureMap design but still with the issue of the lightmapped model
2015-08-27 09:52:07 -07:00
Anthony J. Thibault
b7a9b54628
Better AnimDebugDraw rendering
2015-08-26 16:42:08 -07:00
Howard Stearns
475331a97d
Sprinkle locks everywhere.
2015-08-26 16:08:07 -07:00
Ryan Huffman
269d5bb6da
Resolve bugs with *Cache changes
2015-08-26 14:04:55 -07:00
Ryan Huffman
aa7d8678e1
Merge branch 'protocol' of github.com:birarda/hifi into atp-server
2015-08-26 12:26:11 -07:00
Anthony J. Thibault
46c1e008bc
Merge branch 'master' into ajt/new-anim-system
2015-08-26 10:37:39 -07:00
Sam Gateau
84d0be134e
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2015-08-25 22:13:22 -07:00
Sam Gateau
1e9fce2a61
Drafting the materials for FBXReader
2015-08-25 22:12:51 -07:00
Brad Davis
d311e4f2ea
Fixing problems reported by static analysis tool
2015-08-25 19:18:55 -07:00
Anthony J. Thibault
bde75e9e51
AnimDebugDraw rendering works again.
...
I had to port AnimDebugDraw shader to GLSL 4.1.
2015-08-24 17:36:21 -07:00
Brad Davis
380b0cb23c
Removing tabs from our javascript and C++
2015-08-24 15:26:46 -07:00
Anthony J. Thibault
fa5256eefd
Merge branch 'master' into ajt/new-anim-system
2015-08-24 14:32:28 -07:00
Sam Gateau
e06e50cb5c
Merge branch 'master' of https://github.com/highfidelity/hifi into orange
2015-08-24 14:01:29 -07:00
Sam Gateau
a6db88f257
converting material and mesh from srgb to linear in pipeline
2015-08-24 14:00:48 -07:00
Brad Davis
78a08ed7c7
Merge pull request #5641 from thoys/20660
...
CR for Job #20660 - Render the world Axis markers into negative space, add view option
2015-08-24 10:16:56 -07:00
Howard Stearns
bb91b17314
Merge pull request #5634 from hyperlogic/tony/animation-resource-fix
...
Fix for animation resources
2015-08-24 08:13:33 -07:00
Nex Pro
8d8a9535a0
Merge branch '20660' of github.com:thoys/hifi into 20660
2015-08-24 16:07:38 +01:00
Nex Pro
3f4323e084
Added overload for renderDashedLine
2015-08-24 16:07:07 +01:00
Thijs Wenker
0f8cf80d45
Merge branch 'master' of https://github.com/worklist/hifi into 20660
2015-08-23 19:53:50 +02:00
Nex Pro
ad315cf68a
Merge branch '20660' of github.com:thoys/hifi into 20660
...
Conflicts:
interface/src/Util.cpp
2015-08-23 16:30:46 +01:00
Nex Pro
1f08444369
Modified the world box to render axes in negative space
...
Also Modified renderDashedLine to accept params for dash len and gap len so we can display negative axes as dashed lines with 500mm dashes and gaps.
2015-08-23 16:21:20 +01:00
Brad Hefta-Gaub
fe44442ffe
Merge pull request #5577 from vastcharade/horizAmbOcclPerf
...
Horiz amb occl performance updates
2015-08-22 12:39:51 -07:00
Anthony J. Thibault
04e7084743
Resource fix for textures in FBX files.
...
The baseTexturePath url for textures in FBXGeometry
should default to the same base url as the fbx file itself.
This error was introduced in my recent refactoring.
Textures embedded in FBXGeometries should be un-affected
by this change.
2015-08-21 21:44:15 -07:00
Sam Gateau
01f4807239
Merging and getting back original files
2015-08-21 16:51:57 -07:00
Sam Gateau
4fabc25b3e
Fixing conflicts in shaders
2015-08-21 16:49:01 -07:00
Sam Gateau
a388ba7b00
fix conflicts
2015-08-21 16:45:52 -07:00
Sam Gateau
5a8e20ec77
merging
2015-08-21 16:34:13 -07:00
Anthony J. Thibault
b7009b4631
Fix for animation resources
...
The problem was that the invokeMethod between the AnimationReader thread
and the main thread was failing, because FBXGeometry* wasn't a registered meta type.
So, I ended up normalizing the AnimationReader class to be more like GeometryReader,
in that it uses singles and slots to communicate success and failure, rather then
invokeMethod.
2015-08-21 16:09:06 -07:00
ZappoMan
75aff2f281
fix atmosphere rendering
2015-08-21 00:29:28 -07:00
Brad Davis
76f236adf6
New stereo rendering implementation
2015-08-21 00:29:24 -07:00
Anthony J. Thibault
1b3d7fabc8
ResourceCache, NetworkGeometry and Model refactoring and optimizations.
...
* Removed validation logic from Resource class, Qt does this internally and is more
standards compliant. This should result in more accurate caching and faster resource
fetching when cache is stale and validation fails.
* Added loaded and failed slots to Resource class, so it does not have to be polled.
* NetworkGeometry now uses multiple Resource objects to download
the fst/mapping file and the fbx/obj models.
* NetworkGeometry is no longer a subclass of Resource
* NetworkGeometry now has signals for success and failure, you no longer
have to poll it to determine when loading is complete (except for textures *sigh*)
Some functionality was removed
* NetworkGeometry no longer has a fallback
* NetworkGeometry no longer loads LODs or has lod logic.
* The number of FBXGeometry copies is greatly reduced.
* Model::setURL no supports fallback URL, delayLoad or retainCurrent option.
This can result in a pop when switching avatars, and there's no longer a default
if avatar loading fails.
2015-08-20 18:59:51 -07:00
Ryan Huffman
5884fcb17b
Merge branch 'ordered-sending' into atp-server
2015-08-19 12:23:31 -07:00
Ryan Huffman
330a6bb279
Update TextureCache to work with ResourceCache updates
2015-08-19 12:17:36 -07:00
Ryan Huffman
e1f8b6700c
Update GeometryCache to work with ResourceCache updates
2015-08-19 12:17:19 -07:00
Howard Stearns
0a8c1846e9
This assert causes dev builds to fail when starting interface.
2015-08-19 10:24:31 -07:00
Andrew Meadows
9ee49c3e1e
Merge pull request #5551 from sethalves/quiet-compiler
...
Quiet compiler
2015-08-18 09:54:29 -07:00
Seth Alves
1c8030472a
back out the more controversial changes
2015-08-17 12:40:56 -07:00
Christopher Root
21dc58eb85
Improving readability in shader
2015-08-15 14:40:34 -07:00
Christopher Root
8ea6048ec7
Removing commented out code
2015-08-15 14:31:03 -07:00
Christopher Root
81ea8e8874
Updating some comments and removing unnecessary code
2015-08-15 14:27:08 -07:00
Christopher Root
708190bfd6
horiz amb occl performance upgrades
2015-08-15 14:10:25 -07:00
Brad Davis
82310bb499
Attempting to fix rendering issues on 2015 Macs
2015-08-14 23:57:10 -07:00
Brad Davis
208e41efd1
WebEntity keyboard input with mouse hover
2015-08-14 16:18:38 -07:00
Brad Davis
0fa3044231
QML framerate improvments
2015-08-12 16:24:34 -07:00
Seth Alves
d6322903a2
quiet compiler
2015-08-11 10:12:46 -07:00
Brad Davis
19d31938d3
Merge remote-tracking branch 'upstream/master' into plugins
2015-08-10 21:25:35 -07:00
ericrius1
0f7c21ddd7
rearranged entity props and added check in setNormals to avoid uninitialized binormal values
2015-08-10 11:55:47 -07:00
Brad Davis
caf93d1aff
Merge branch 'master' into plugins
...
Conflicts:
interface/src/Application.cpp
interface/src/Menu.h
2015-08-08 13:18:13 -07:00
Andrew Meadows
48c5a227a7
Merge pull request #5528 from ZappoMan/removeBrokenShadows
...
remove shadow menu items
2015-08-07 16:09:00 -07:00
Bradley Austin Davis
cd6667303e
Merge remote-tracking branch 'upstream/master' into plugins
2015-08-07 15:32:33 -07:00
Brad Davis
64fcd2da96
Merge pull request #5530 from ZappoMan/RenderableModelEntityItemOptimization
...
optimizations to RenderableModelEntityItem::render()
2015-08-07 15:32:07 -07:00
Bradley Austin Davis
fb2c84484e
Merge remote-tracking branch 'upstream/master' into plugins
2015-08-07 15:26:43 -07:00
Seth Alves
b1e69537f3
Merge pull request #5524 from howard-stearns/cleanup-jointstate
...
Clean Up JointState
2015-08-07 13:50:02 -07:00
ZappoMan
f4c3c30f6a
quick optimization to RenderableModelEntityItem::render()
2015-08-07 12:49:48 -07:00
Howard Stearns
145b730f80
Clean up instantiation.
2015-08-07 12:27:26 -07:00
ZappoMan
87f609b9af
remove shadow menu items, left in the dead code for now, until we have a plan for replacing shadows
2015-08-07 11:26:07 -07:00
Sam Gateau
fdb370e798
cleaning th ecode
2015-08-07 10:59:56 -07:00
Sam Gateau
30900cb802
SImple fix to the case of multiple material in a mesh with different opacity
2015-08-07 10:59:55 -07:00
samcake
6864c7bcb4
Ready for release
2015-08-07 10:59:51 -07:00
Sam Gateau
0e3e0d05f1
Introducing the Normal fitting algorithm for better normal in the deferred buffer
2015-08-07 10:59:51 -07:00
ericrius1
3910cb0d69
Merge branch 'master' into polyLineInProgress
2015-08-07 10:12:02 -07:00
Sam Gateau
e4ce1002ea
cleaning th ecode
2015-08-06 18:54:58 -07:00
Sam Gateau
f0f141a2b4
SImple fix to the case of multiple material in a mesh with different opacity
2015-08-06 18:51:44 -07:00
Brad Hefta-Gaub
0947bf2cd0
Merge pull request #5517 from samcake/punk
...
Improving the quality of the normal encoding in the Deferred Buffer
2015-08-06 15:13:08 -07:00
Sam Gateau
3c9eed6e01
merging
2015-08-06 11:38:50 -07:00
Bradley Austin Davis
7e60aee1bf
Merge branch 'master' into plugins
...
Conflicts:
interface/src/Application.cpp
interface/src/Application.h
interface/src/avatar/Head.cpp
interface/src/avatar/MyAvatar.cpp
interface/src/avatar/MyAvatar.h
interface/src/avatar/SkeletonModel.cpp
interface/src/avatar/SkeletonModel.h
interface/src/devices/3DConnexionClient.cpp
interface/src/ui/overlays/Overlays.cpp
2015-08-06 11:03:37 -07:00
samcake
07a9dd3404
Ready for release
2015-08-05 17:41:23 -07:00
Sam Gateau
95682e6270
Introducing the Normal fitting algorithm for better normal in the deferred buffer
2015-08-05 17:17:00 -07:00
Atlante45
3dc8bd47ae
Fix warning and remove unused headers
2015-08-05 16:46:44 -07:00
Sam Gondelman
513c652ab3
merge from master and attempt to fix connexion conflicts
2015-08-05 12:42:39 -07:00
samcake
6783ec300a
Merge pull request #5499 from jherico/homer
...
CORE PROFILE: Fix star point smoothing... sort of
2015-08-04 20:15:09 -07:00
Anthony J. Thibault
5d83976e2a
Added AnimBlendLinear + tests.
...
MyAvatar now does a sine wave blend between a walk
and a walk animation.
2015-08-04 18:14:50 -07:00
Anthony J. Thibault
559367db4a
Got to the bottom of the bind pose question.
...
When TRUST_BIND_TRANSFORM is defined in AnimSkeleton, the bind pose is taken
from the FBXJoint::bindTransform field, which is correct for all joints
bound to actual geometry. Basically it's not trust worthy for bones NOT bound to anything.
When TRUST_BIND_TRANSFORM is not defined, the bind pose is taken from the other
FBXJoint fields. Unfortunatly these poses are NOT the bind pose, but instead
are taken from the FBX files 'resting' pose. i.e. frame 0.
2015-08-04 18:14:49 -07:00
Anthony J. Thibault
d8a20340a0
Found and fix source of memory corruption.
...
std::vector.reserve() and raw access do not mix.
raw access will only work if you push_back elements onto the vector
first. However this worked fine on MacOSX, probably due to differences
in STL implementations.
Some code clean up and some commented out debugging lines.
Debug rendering of animaions of fight club model is not working.
Not sure what frame these transformations are in.
2015-08-04 18:14:49 -07:00
Anthony J. Thibault
69cc270802
removed scale for fight club model
2015-08-04 18:14:48 -07:00
Anthony J. Thibault
55da34f713
Better debug rendering of animations.
...
* added mat4 cast and mat4 ctors to AnimPose.
2015-08-04 18:14:48 -07:00
Anthony J. Thibault
df79463750
WIP, animNode rendering
2015-08-04 18:14:48 -07:00
Anthony J. Thibault
d1fdbe32d2
optimizations for debug rendering of AnimSkeleton
2015-08-04 18:14:47 -07:00
Anthony J. Thibault
b8bae7cc3f
Debug rendering of MyAvatar’s skeletonModel skeleton
2015-08-04 18:14:47 -07:00
Anthony J. Thibault
91ca13c66d
Added AnimDebugDraw to render-utils
2015-08-04 18:14:46 -07:00
Bradley Austin Davis
fc5ec22810
Fix diagonal slashes in text
2015-08-04 17:28:42 -07:00
Sam Gateau
730ad2da2f
removing dead code
2015-08-04 16:37:01 -07:00
Sam Gateau
d2360d1406
Merge branch 'core' of https://github.com/highfidelity/hifi into punk
2015-08-04 16:31:33 -07:00
Sam Gateau
fc0ee28b84
FIx the mirror rendering bugs by replacing the prvious technique by a simple true mirror during the final blit for both rear view mirror and full screen mirror, not working for HMD
2015-08-04 16:31:20 -07:00
Bradley Austin Davis
2221c839c3
Fix star point smoothing... sort of
2015-08-04 16:29:07 -07:00
Bradley Austin Davis
4f759ee46a
Merge remote-tracking branch 'upstream/master' into core
2015-08-04 16:26:16 -07:00
Seth Alves
9171033f21
Merge branch 'master' of github.com:highfidelity/hifi into rig
2015-08-04 16:06:38 -07:00
Bradley Austin Davis
c454bc96a0
Fix bug in lightmap and specular map fragment shaders
2015-08-04 14:36:42 -07:00
Bradley Austin Davis
89aa596717
Fix white rendering of many primitives
2015-08-04 14:05:05 -07:00
Bradley Austin Davis
3c76c0d4b6
Merge remote-tracking branch 'upstream/master' into core
2015-08-04 10:23:54 -07:00
Bradley Austin Davis
7593a134db
Moving oglplus to rely on glew on all platforms
2015-08-04 00:57:55 -07:00
Bradley Austin Davis
29c9e6e45e
Updating plugins to core profile
2015-08-04 00:33:03 -07:00
Bradley Austin Davis
53ccbfc4fa
Merge branch 'core' into plugins
2015-08-03 22:25:50 -07:00
Bradley Austin Davis
1a589160f4
Fixing the skinning shaders sizing problems
2015-08-03 18:44:51 -07:00
Ryan Huffman
027adf73bb
Merge branch 'master' of github.com:highfidelity/hifi into asset-server
2015-08-03 16:41:24 -07:00
Ryan Huffman
3a2ef35a3b
Update Geometry and Texture caches to use updated ResourceCache
2015-08-03 16:26:51 -07:00
Sam Gateau
44e7223547
Fixing the skinning by simply reverting the change to the format for the inSkinIndex
2015-08-03 16:05:04 -07:00
ericrius1
12770edbe1
Merge branch 'master' into polyLineInProgress
2015-08-03 15:52:26 -07:00
ericrius1
98a5d1e759
fixed merge conflics in hit effect
2015-08-03 11:25:18 -07:00
Andrew Meadows
b00d47d62e
merge master into cleanup of legacy shapes
2015-08-03 11:19:29 -07:00
samcake
d3fc05e99f
FIxed a few shaders varyings, problem identified on MAC to be solved
2015-08-03 11:18:08 -07:00
Andrew Meadows
acfc907704
Merge pull request #5438 from howard-stearns/rig
...
Rig: Bottleneck animation management through a Rig class
2015-08-03 11:14:21 -07:00
ericrius1
f50c482451
Merge branch 'master' into polyLineInProgress
2015-08-03 08:46:01 -07:00
ericrius1
47bc8f50ab
cleaning
2015-08-03 08:45:14 -07:00
Brad Davis
5c07a7d85b
Merge remote-tracking branch 'upstream/master' into plugins
2015-08-01 21:58:05 -07:00
Brad Davis
53feaf2ab6
More shader fixes
2015-08-01 20:17:57 -07:00
Brad Davis
180f912924
Merge remote-tracking branch 'upstream/master' into core
...
Conflicts:
interface/src/ui/overlays/Circle3DOverlay.cpp
libraries/gpu/src/gpu/Format.h
libraries/render-utils/src/GeometryCache.cpp
libraries/render-utils/src/Model.cpp
libraries/render-utils/src/text/Font.cpp
2015-08-01 20:01:59 -07:00
ZappoMan
b02f751830
diff redux
2015-08-01 16:53:35 -07:00
ZappoMan
b138c16c7f
use Austins QUAD to TRIANGLE_STRIP approach
2015-08-01 16:50:36 -07:00
Brad Davis
b84eef93c9
Core profile shader work and test code
2015-08-01 14:43:52 -07:00
ZappoMan
05a4a6aa9b
implement on-the-fly conversion of FBXMeshParts that are quads, into their triangle equivalents
2015-08-01 13:07:56 -07:00
ZappoMan
452225ddaf
removed QUADS from Font::drawString()
2015-08-01 11:51:07 -07:00
ZappoMan
1dd6c1117d
change GeometryCache::renderQuad() to use TRIANGLES as lower level render primitive
2015-08-01 11:29:28 -07:00
Howard Stearns
0dad1adf7d
Speculative guard against crashing.
2015-07-31 18:05:14 -07:00
Sam Gateau
ca4dbdb996
Merging with upstream and compiling on windows
2015-07-31 16:14:53 -07:00
Brad Davis
aea07fe671
Merge branch 'master' into gl4_1
...
Conflicts:
libraries/gpu/src/gpu/Config.slh
libraries/render-utils/src/deferred_light_limited.slv
libraries/render-utils/src/simple.slf
libraries/render-utils/src/simple_textured.slf
tests/render-utils/src/main.cpp
tools/scribe/src/main.cpp
2015-07-31 15:08:37 -07:00
Andrew Meadows
661a916ebd
merge rig into cleanup (removal of legacy shapes)
...
Conflicts:
interface/src/avatar/Avatar.h
tests/physics/src/ShapeColliderTests.cpp
tests/physics/src/ShapeColliderTests.h
2015-07-31 13:40:51 -07:00
samcake
1dba28860a
Merge master
2015-07-31 10:29:51 -07:00
Brad Davis
155f88e267
Merge remote-tracking branch 'upstream/master' into plugins
...
Conflicts:
interface/src/devices/OculusManager.cpp
interface/src/devices/TV3DManager.cpp
interface/src/devices/TV3DManager.h
libraries/gpu/src/gpu/GPUConfig.h
2015-07-31 10:28:06 -07:00
Howard Stearns
b685378ab0
Merge branch 'master' of https://github.com/highfidelity/hifi into rig
2015-07-31 10:08:30 -07:00
Seth Alves
c1f777e18f
move setHandPosition from SkeletonModel to AvatarRig. Tell Rig::initJointStates joint-indexes for hands and elbows and shoulders
2015-07-30 18:39:01 -07:00
samcake
fbf21cb089
FIxed the problem on Mac, by removing all of the gpuConfig includesgit status
...
q
:q
wq
2015-07-30 18:27:47 -07:00
Anthony J. Thibault
e52bf2e12d
Fix for head cauterization.
...
When rendering rigidly bound mesh clusters were not properly using
the cauterization matrix set.
2015-07-30 15:51:34 -07:00
Sam Gateau
14f4c9c6c0
REmove more of the unnecessary GLBacken .h and GPUCOnfig.h include, The gpu::Context is now completely agnostic of the True Backend
2015-07-30 15:07:36 -07:00
Anthony J. Thibault
7a10b31dd9
Clear translation on root joint.
...
Also, delete/rename all instances of updateJointState except for the one in Rig
and derived classes.
2015-07-30 15:04:27 -07:00
Brad Davis
f7a2513f26
Merge remote-tracking branch 'upstream/master' into plugins
...
Conflicts:
interface/CMakeLists.txt
interface/src/Application.cpp
interface/src/Menu.cpp
interface/src/Menu.h
interface/src/avatar/MyAvatar.h
tests/ui/src/main.cpp
2015-07-30 12:55:22 -07:00
Sam Gateau
d84e2d31ea
Merge with master
2015-07-30 11:20:00 -07:00
Howard Stearns
06aa107762
Merge branch 'master' of https://github.com/highfidelity/hifi into rig
2015-07-30 09:57:02 -07:00
Brad Hefta-Gaub
96fdb32edc
Merge pull request #5461 from venkatn93/avatar
...
HBAO implementation
2015-07-30 08:46:55 -07:00
Brad Hefta-Gaub
b95e4e1e93
Merge pull request #5323 from MarcelEdward/20605
...
Removed the line where the directory is stripped off the RelativeFile
2015-07-30 07:30:01 -07:00
Niraj Venkat
291e0e21ae
HBAO final implementation
2015-07-29 18:47:27 -07:00
Sam Gateau
ab4b940d83
merge with upstream
2015-07-29 17:11:13 -07:00
Niraj Venkat
4f2630c561
Merge branch 'master' of https://github.com/highfidelity/hifi into avatar
2015-07-29 16:54:37 -07:00
Howard Stearns
d73f133daa
Merge branch 'master' of https://github.com/highfidelity/hifi into rig
2015-07-29 15:45:00 -07:00
Sam Gateau
8c96096a67
Merge branch 'master' of https://github.com/highfidelity/hifi into yellow
2015-07-29 14:04:20 -07:00
ericrius1
65e04337bf
removed synccache line
2015-07-29 11:15:20 -07:00
Niraj Venkat
d76cda396f
HBAO implementation ported from NVidia HLSL
2015-07-29 11:05:19 -07:00
Howard Stearns
a9f76324b5
Merge branch 'rig' of https://github.com/sethalves/hifi into sethalves-rig2
2015-07-29 10:49:27 -07:00
ericrius1
697cb4c9d0
fixed merge conflicts and refactored hit effect to catch up with refactored rendering engine
2015-07-29 10:02:06 -07:00
Andrew Meadows
2c66af67e9
Merge howard/rig into andrew/caesium
2015-07-29 09:04:32 -07:00
Andrew Meadows
0a5ada3c09
remove legacy shapes
2015-07-29 09:02:24 -07:00
Brad Davis
3fa7c7b516
Fixing GL window header
2015-07-28 23:22:28 -07:00
Brad Davis
e109bd42d2
Fixing cleanup of glwindow
2015-07-28 23:14:33 -07:00
Anthony J. Thibault
22d63b7697
Compilation fix for GLWindow
2015-07-28 18:10:59 -07:00
Andrew Meadows
77a12eb50e
compile on linux with GLEW
2015-07-28 17:53:01 -07:00
Anthony J. Thibault
b06485c266
Remove cauterize code from Rig and move it back into Model.
...
* cauterize code is used as at render time and is not dependent on
the jointStates.
* MyAvatar now initialize the bone set used for cauterization and
makes the decision to perform cauterization or not in preRender.
2015-07-28 17:45:33 -07:00