John Conklin II
0ba97fa83b
Merge pull request #13338 from amantley/scriptedBlendshapesFaceFlags
...
Scripted Blendshapes and Procedural Face Movement Flags
2018-06-13 10:32:59 -07:00
Clement
920263ef49
Merge branch 'stable' of https://github.com/highfidelity/hifi into new-master
2018-06-12 17:00:25 -07:00
amantley
b1c578ecaa
fixed white space in head.cpp
2018-06-07 22:13:53 -07:00
amantley
913d78841d
Merge remote-tracking branch 'upstream/master' into scriptedBlendshapes
...
synching with upstream master
2018-06-07 16:20:11 -07:00
amantley
67fc7b90b5
fixed get and set semi nibble to deal with 16 bits
2018-06-07 15:43:21 -07:00
amantley
836c3da858
cleaned up white space and removed extra declaration of hadAudioEnabledFaceMovement
2018-06-07 15:11:57 -07:00
amantley
97831e61f0
removed stray comments
2018-06-07 12:54:46 -07:00
amantley
6a11ddc349
removed print statements and removed the setting of procedural head variables in avatarData.cpp
2018-06-06 17:50:50 -07:00
amantley
dca93ca61f
fixed setatone16 function to return the correct result for additional flags
2018-06-06 16:44:12 -07:00
amantley
0c879d85b5
added print statements and removed summed coeff from avatarData.cpp
2018-06-05 17:33:32 -07:00
amantley
5132466ca0
kept the transient coeff. and sending the blendshapes accross the
...
network. and removed procedural updates to face from myhead.cpp
2018-06-05 13:32:45 -07:00
amantley
01848fafe0
made all changes except those to AvatarData toByteArray function also to do: verify that transientBlendshapes are set to 0 in headData simulate when there are blendshapes from script but no face tracker present
2018-06-01 11:37:11 -07:00
amantley
3bda5bf6a0
added MyAvatar.hasProceduralBlinkFaceMovement and MyAvatar.hasProceduralEyeFaceMovement properties to MyAvatar.h and cpp and HeadData.h
2018-05-31 17:58:37 -07:00
samcake
386c0f9ab2
Re review adjustments
2018-05-31 12:16:57 -07:00
Sam Gateau
513acc529e
INtroduce RenderConstants header file to define the alias names for Tag and Layer for Hifi REnder Engine
2018-05-30 23:31:54 -07:00
samcake
2e9076c71e
Clean up and trying to get ready for merge
2018-05-30 11:14:49 -07:00
samcake
873cabe284
Cleaning the code
2018-05-29 17:46:25 -07:00
Sam Gateau
678effdb48
Cleaning up the Model set ItemKey flags and bringing Item::Layer in the ItemKey
2018-05-26 23:28:59 -07:00
samcake
221b513b19
Oh boy
2018-05-25 16:33:34 -07:00
Sam Gateau
aa49595a23
Merge branch 'master' of https://github.com/highfidelity/hifi into punk
2018-05-24 18:19:55 -07:00
Sam Gateau
b8b337dbe4
There and back again...
2018-05-24 01:18:36 -07:00
Sam Gateau
13d02011f3
There and back again...
2018-05-24 00:53:29 -07:00
samcake
184d50b018
Well
2018-05-22 17:55:26 -07:00
David Rowe
6d4f704279
Regularize some JSDoc usage
2018-05-21 09:32:10 +12:00
samcake
36a08fdd84
Friday night end of the day, last compilation.... almost
2018-05-18 17:41:28 -07:00
samcake
aa18aaa7b1
Maybe
2018-05-17 18:06:46 -07:00
samcake
735db27919
Merge branch 'master' of https://github.com/highfidelity/hifi into punk
2018-05-16 17:18:23 -07:00
Andrew Meadows
6de175e794
avatars collide again
2018-05-11 17:01:48 -07:00
David Rowe
cae9447ac5
Doc review
2018-04-25 15:09:47 +12:00
David Rowe
98f43b6a70
Interim JSDoc for MyAvatar - stubs for remainder
2018-04-24 10:47:33 +12:00
David Rowe
719062dd9f
Interim JSDoc for MyAvatar - first pass
2018-04-24 09:10:59 +12:00
Anthony J. Thibault
c29bf51226
Fix for avatar glitches, head and legs folding into chest.
...
As a form of compression, when encoding avatar data we only send joints that have changed significantly from the previous packet.
Also, if a joint has the same value as the avatar's default pose, we don't send the full value, instead we mark it with a single bit.
This particular issue is caused by an interaction between the default value flag and the joint changed culling.
When connecting to a domain for the first time, it's possible that a I-frame or 'full' packet will not be sent for several seconds.
In this case, the AvatarMixer has no previous history for values that have not changed recently.
This causes the AvatarMixer to broadcast incorrect values to other clients.
Keep in mind that the AvatarMixer does not have access to the avatar FBX file, so it cannot make an educated guess for this value and uses zero values instead.
(0, 0, 0) for translation and (0, 0, 0, 1) for rotation.
When a translation value of zero is received for the lower legs it will cause the legs to fold into the avatar's chest.
Also, we've uncovered a bug where sometimes values were not sent to the AvatarMixer even when the value was previously default.
This would also exhibit the same issue where zero translation values would be sent.
I've done three things to help mitigate this issue.
1) On first connect to a new AvatarMixer, the Avatar now sends a 'full' packet.
2) When a joint rotation or translation changes from the default value, we transmit it. No questions asked.
3) Once a SkeletonModel has finished loading we initialize the avatar's _jointData with the proper
translations from the default pose. This will help the case where a client receives a non default value, but has no previous history.
(cherry picked from commit 94efdf76a6454f316985f95d6a221adb24788d66)
2018-04-16 14:58:33 -07:00
samcake
a896e9872c
adressing the avatar vissibility switch
2018-03-14 17:09:23 -07:00
Seth Alves
b39c7eadd2
Merge branch 'master' of github.com:highfidelity/hifi into serverless-domains
2018-03-13 09:24:18 -07:00
samcake
10447bf10e
Fix the fact that all avatars should cast shadows, not just MyAvatar. since this is always a SkeletonMOdel class let s just turn it on by default there
2018-03-09 13:04:04 -08:00
Seth Alves
9f2be4db8f
Merge branch 'master' of github.com:highfidelity/hifi into serverless-domains
2018-03-07 15:04:38 -08:00
Seth Alves
507dfa5ec3
more code review response
2018-03-02 11:35:34 -08:00
SamGondelman
cc53b338db
Merge remote-tracking branch 'upstream/master' into scriptableMaterials
2018-02-27 13:30:03 -08:00
Seth Alves
636c271dc3
merge from upstream
2018-02-27 09:21:08 -08:00
John Conklin II
48f0cded05
Merge pull request #12440 from humbletim/Leopoly_Phase1_010_graphics-scripting
...
Leopoly_Phase1_010 Graphics Scripting
2018-02-27 07:53:25 -08:00
Seth Alves
666fa77be2
Merge branch 'master' of github.com:highfidelity/hifi into serverless-domains
2018-02-26 13:53:20 -08:00
SamGondelman
6fe2d46d7c
merge
2018-02-26 12:40:14 -08:00
humbletim
f824edd04e
* remove Model_temporary_hack
...
* split gpuhelpers and mesh part
* fix objwriter
* more work on bufferview helpers
* cr cleanup
2018-02-26 04:58:22 -05:00
SamGondelman
b56f755034
material reflection
2018-02-23 17:58:46 -08:00
Seth Alves
77febe0aab
save avatar-entities which are created while using a serverless domain
2018-02-23 16:03:08 -08:00
humbletim
6ea4b660b7
CR feedback; remove ok bool pointer and all metadata; cleanup
2018-02-23 07:47:39 -05:00
Anthony J. Thibault
86351f19a9
Merge branch 'master' into bug-fix/entity-mat-avatar-dual-quaternions
2018-02-22 08:44:21 -08:00
humbletim
4fd3d9bf7b
cleanup; formalize data structures
2018-02-22 08:18:38 -05:00
humbletim
72fca7e57e
Merge remote-tracking branch 'samuel/scriptableMaterials' into Leopoly_Phase1_010_graphics-scripting-merge
2018-02-22 05:18:05 -05:00
humbletim
be8d79f53f
CR fedback and cleanup
2018-02-22 05:15:01 -05:00