Commit graph

29193 commits

Author SHA1 Message Date
Zander Otavka
377a1a54ae Add abstraction layer for Overlays.h.
`examples/libraries/overlayUtils.js` allows you to manage overlays in an
object oriented manner.  Instead of:

    var billboard = Overlays.addOverlay("billboard", { visible: false });
    ...
    Overlays.editOverlay(billboard, { visible: true });
    ...
    Overlays.deleteOverlay(billboard);

You can now do:

    var billboard = new BillboardOverlay({ visible: false });
    ...
    billboard.visible = true;
    ...
    billboard.destroy();
2015-07-31 11:26:03 -07:00
Zander Otavka
ed7fc07ab1 Fix cloning bug for BillboardOverlay. 2015-07-31 11:26:03 -07:00
Zander Otavka
173a79867c Extend Overlays API to allow for 3D UI panels.
Currently, only BillboardOverlays can be added to a panel, but more
types of overlays will be supported in the future.
2015-07-31 11:26:03 -07:00
Zander Otavka
dff6b0a456 Fix isFacingAvatar property on BillboardOverlay. 2015-07-31 11:26:03 -07:00
Brad Hefta-Gaub
b46a430fba Merge pull request #5468 from bwent/reset-position
Add gettable naturalPosition property for model entities
2015-07-31 11:03:27 -07:00
bwent
aab1f70800 Renaming vars 2015-07-31 10:47:05 -07:00
Stephen Birarda
1ad2f515de Merge pull request #5455 from thoys/assignment-agent-ping-fix
Fixes Assignment-Agents to have no constantly reconnecting Avatar/AudioMixer
2015-07-31 10:41:52 -07:00
bwent
67760fad79 Add gettable naturalPosition property for model entities 2015-07-31 10:15:35 -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
5bae9843f5 code review 2015-07-31 09:34:50 -07:00
Brad Hefta-Gaub
569ed4bbf9 Merge pull request #5452 from samcake/yellow
Migrate Linux to use GLEW and move to parity with windows for Opengl (compatibility 4.3)
2015-07-31 09:33:52 -07:00
Seth Alves
c8f398024e replace a magic number with a constant 2015-07-30 21:16:07 -07:00
Seth Alves
0bc94158a8 make the height of the tetrahedrons in 'fatten' mode less tall. 2015-07-30 21:09:14 -07:00
Sam Gateau
b08b2d29cc Merge branch 'master' of https://github.com/highfidelity/hifi into yellow 2015-07-30 18:40:21 -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
Howard Stearns
51ed912f5e Merge branch 'rig' of https://github.com/howard-stearns/hifi into rig 2015-07-30 17:03:06 -07:00
Howard Stearns
78a900c866 Prototype blend. Just equal weighting for now. 2015-07-30 17:01:48 -07:00
Howard Stearns
40abd63b61 Merge pull request #14 from hyperlogic/ajt/cauterize-fix
Fix for head cauterization.
2015-07-30 15:55:42 -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
Howard Stearns
6ad3cdd402 Merge branch 'master' of https://github.com/highfidelity/hifi into rig 2015-07-30 15:14:09 -07:00
Howard Stearns
31574521c1 Merge pull request #13 from hyperlogic/ajt/model-offset-fix
Clear translation on root joint.
2015-07-30 15:13:09 -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
Howard Stearns
5e3bebcd86 Merge pull request #12 from hyperlogic/ajt/head-model-fix
Re-added neck and eye procedural animation to FaceModel.
2015-07-30 12:32:17 -07:00
Anthony J. Thibault
314434e068 Re-added neck and eye procedural animation to FaceModel.
This is only used in the case of split head/body avatars.
2015-07-30 12:27:28 -07:00
Sam Gateau
d84e2d31ea Merge with master 2015-07-30 11:20:00 -07:00
Stephen Birarda
fc80e427b9 remove names from audio-mixer jitter calc comments 2015-07-30 11:08:45 -07:00
samcake
b84302a44a Merge pull request #4 from sethalves/test-5452
fix linux build
2015-07-30 10:16:58 -07:00
Howard Stearns
06aa107762 Merge branch 'master' of https://github.com/highfidelity/hifi into rig 2015-07-30 09:57:02 -07:00
Howard Stearns
95c43c4857 Merge pull request #11 from hyperlogic/ajt/spine-twist-fix
Fix for torso twist.
2015-07-30 09:50:42 -07:00
Anthony J. Thibault
4bb415fd0d Fix for torso twist.
Off by one error, 0 is a valid parent bone index.
2015-07-30 09:31:23 -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
Marcel Verhagen
fa6d6a5123 Added the & references to the const variables 2015-07-30 15:08:02 +02:00
Seth Alves
a9556660c4 fix linux build 2015-07-29 20:53:24 -07:00
Brad Hefta-Gaub
398bace83c Merge pull request #5439 from samcake/punk
Remove alias gl calls from Batch and Introduce a ResetStage Batch command
2015-07-29 20:05:06 -07:00
Howard Stearns
ebd0e38d49 Merge branch 'master' of https://github.com/highfidelity/hifi into rig 2015-07-29 18:54:40 -07:00
Howard Stearns
dc34c025bd whitespace 2015-07-29 18:54:05 -07:00
Howard Stearns
4e7d191fb1 Merge branch 'master' of https://github.com/highfidelity/hifi into rig 2015-07-29 18:53:38 -07:00
Niraj Venkat
291e0e21ae HBAO final implementation 2015-07-29 18:47:27 -07:00
Brad Hefta-Gaub
5a777b17a2 Merge pull request #5444 from huffman/fix-import-large-svo
Fix issue with skyboxes not being importable from marketplace
2015-07-29 18:34:55 -07:00
samcake
70d64a7777 Really fixing the depth write mask issue on clear... 2015-07-29 18:27:10 -07:00
Howard Stearns
84fd67ca7a Merge pull request #5460 from sethalves/obj-o-means-meshpart
treat a "o" in an obj file as if it were a "g"
2015-07-29 18:11:41 -07:00
samcake
e32e45ed2b make sure the writting mask is on for depth buffer 2015-07-29 18:06:46 -07:00
Howard Stearns
59fe2a168e Merge branch 'rig' of https://github.com/howard-stearns/hifi into rig 2015-07-29 18:00:11 -07:00
Howard Stearns
1dddf18243 Merge pull request #10 from hyperlogic/ajt/face-lean-eyes-rig
Fix avatar head, eye and torso twist.
2015-07-29 18:00:00 -07:00
Seth Alves
b7ecffa0be treat a "g" in an obj file the same as a "o" 2015-07-29 17:55:56 -07:00
Eric Levin
0b1a36148e Merge pull request #5457 from howard-stearns/no-idle-hip-shifting
Remove avatar->shift hips for idle animations.
2015-07-29 17:50:08 -07:00
samcake
ac46b2bd17 Keep the resetstage in 2015-07-29 17:38:23 -07:00
Anthony J. Thibault
c2934bdb5d Fix avatar head, eye and torso twist.
* Updated SkeletionModel::updateRig to explicitly pass a set of HeadParameters
  to the rig to do procedural animation.
* Moved torso lean procedural animation from SkeletonModel into Rig.
* Moved eye tracking procedural animation from HeadModel into Rig.
* Moved neck procedural animation from HeadModel into Rig.
2015-07-29 17:35:29 -07:00