Andrzej Kapolka
8d3eef708a
Move various avatar render bits to post-lighting section.
2014-09-19 13:13:05 -07:00
Andrzej Kapolka
08fda3bbef
Merge branch 'master' of https://github.com/highfidelity/hifi into deference
2014-09-19 10:30:40 -07:00
Andrzej Kapolka
e356b06c75
Fix for lights in rear view mirror/head mode.
2014-09-18 17:39:40 -07:00
Andrzej Kapolka
c6aad42f21
Move LocalLight to AvatarManager, apply it at the avatar level.
2014-09-18 17:09:53 -07:00
Andrzej Kapolka
c54e1c937c
Merge branch 'master' of https://github.com/highfidelity/hifi into deference
...
Conflicts:
interface/src/avatar/Head.cpp
2014-09-18 13:08:55 -07:00
Philip Rosedale
3f9eff2a90
Merge branch 'master' of https://github.com/worklist/hifi
2014-09-18 10:48:44 -07:00
Philip Rosedale
8c71ed3f10
Improving headMove, added JS call for neckPosition
2014-09-18 10:48:36 -07:00
stojce
a6a48aafdc
Hide name for all avatars, including MyAvatar
2014-09-18 07:34:14 +02:00
stojce
9a523a60cf
Add option to toggle on/off names above heads
2014-09-18 06:59:29 +02:00
Andrzej Kapolka
ce9ecba5d8
Merge branch 'master' of https://github.com/highfidelity/hifi into deference
...
Conflicts:
interface/resources/shaders/model.frag
interface/resources/shaders/model_cascaded_shadow_map.frag
interface/resources/shaders/model_cascaded_shadow_normal_map.frag
interface/resources/shaders/model_cascaded_shadow_normal_specular_map.frag
interface/resources/shaders/model_cascaded_shadow_specular_map.frag
interface/resources/shaders/model_normal_map.frag
interface/resources/shaders/model_normal_specular_map.frag
interface/resources/shaders/model_shadow_map.frag
interface/resources/shaders/model_shadow_normal_map.frag
interface/resources/shaders/model_shadow_normal_specular_map.frag
interface/resources/shaders/model_shadow_specular_map.frag
interface/resources/shaders/model_specular_map.frag
interface/src/renderer/Model.cpp
interface/src/renderer/Model.h
2014-09-17 13:50:13 -07:00
AndrewMeadows
42a84b7ff1
Merge pull request #3429 from ctrlaltdavid/20021
...
Code Review for Job #20021
2014-09-17 09:19:29 -07:00
Andrzej Kapolka
07efda89ef
Merge branch 'master' of https://github.com/highfidelity/hifi into deference
2014-09-16 13:20:43 -07:00
David Rowe
a594136a9a
Fix up hand roll, pitch, and yaw as best able for now
2014-09-15 20:12:13 -07:00
David Rowe
3ddd5854cd
Position avatar hands with Leap Motion with no roll, pitch or yaw
2014-09-14 15:03:22 -07:00
Andrew Meadows
f2882618be
merge upstream/master into andrew/inertia
...
Conflicts:
interface/src/avatar/MyAvatar.cpp
2014-09-12 17:50:26 -07:00
Andrzej Kapolka
53933fc9c6
Working on deferred lighting for models.
2014-09-12 17:09:07 -07:00
Andrew Meadows
93864ee869
fix velocity drift of MyAvatar
2014-09-11 15:03:11 -07:00
Andrzej Kapolka
de8dd4cecc
Share instances of TextRenderer.
2014-09-10 18:55:36 -07:00
Andrew Meadows
4da1ca22ba
Add RayIntersectionInfo and use for shape-vs-ray
2014-09-09 17:35:06 -07:00
Andrzej Kapolka
f69324f270
Fix for display name.
2014-09-08 15:29:36 -07:00
Andrzej Kapolka
f2535d4df8
Adjust avatar names for device pixel ratio.
2014-09-08 15:23:08 -07:00
Andrew Meadows
15025bf8d8
fix for flickering avatars
2014-09-08 13:08:08 -07:00
Andrew Meadows
bd8fc75305
fix bug: zero velocity when teleporting to new locations
2014-09-05 17:51:18 -07:00
Andrew Meadows
9c2bfa35f7
restore position integration in Avatar::simulate()
2014-09-05 14:10:10 -07:00
Andrew Meadows
7be411b4ca
expose _measured_ MyAvatar velocity to JS
2014-09-05 11:44:13 -07:00
ZappoMan
2bcad6ab2b
Merge branch 'master' of https://github.com/highfidelity/hifi into virtualEntities
...
Conflicts:
assignment-client/src/Agent.cpp
examples/editModels.js
2014-08-28 21:19:56 -07:00
Andrew Meadows
328167464f
Merge branch '19908' of github.com:huffman/hifi into huffman-19908
...
Conflicts:
interface/src/Menu.cpp
2014-08-21 09:21:24 -07:00
Ryan Huffman
3d940469de
Increase display name drawing distance
2014-08-19 19:41:31 -07:00
Ryan Huffman
42de56381a
Update blue audio sphere name and angle to draw at
2014-08-19 19:40:27 -07:00
Ryan Huffman
3b7260c434
Fix blue audio sphere not showing correctly
2014-08-19 19:22:11 -07:00
Ryan Huffman
8bc5f86666
Add Audio Sphere menu option
2014-08-19 19:21:53 -07:00
Andrew Meadows
1a8a2d9156
Add Avatar submenu to main menu for non-debug stuff
2014-08-19 17:26:01 -07:00
Atlante45
c113dd350e
Moved members to MyAvatar
2014-08-18 16:25:38 -07:00
Atlante45
acb55ce65e
Switched audio play back to AudioInjector out of Audio
2014-08-18 12:31:44 -07:00
Atlante45
73a3a13c59
More recording work
2014-08-12 18:15:48 -07:00
Atlante45
792f779bbf
Hooked up MyAvatar to playbacks
2014-08-12 16:16:01 -07:00
ZappoMan
b7767b7971
get referentials compiling with new Entity ID changes
2014-08-08 15:12:57 -07:00
Atlante45
110b034bcb
Changed updates locations
2014-08-05 18:41:48 -07:00
Atlante45
293c2e94ad
Correct member initialisation
2014-08-05 18:17:49 -07:00
Atlante45
b360b6c55d
PR cleanup + JS API
2014-08-05 17:07:03 -07:00
Atlante45
39a74cbc28
Few modifications to how avatars update their positions
2014-08-05 12:03:53 -07:00
Atlante45
d9dde06c14
Various tweaks to referentials
2014-08-04 14:59:15 -07:00
Philip Rosedale
e272d0be75
Merge pull request #3203 from Atlante45/laser_pointer_js
...
Laser pointer js
2014-07-24 17:28:08 -07:00
Atlante45
9ca00b55a5
Spelling
2014-07-24 17:19:49 -07:00
Philip Rosedale
176473b5ba
Merge branch 'master' of https://github.com/worklist/hifi
2014-07-22 19:29:42 -04:00
Andrzej Kapolka
d4904f976a
Missed the local light stats.
2014-07-22 15:50:08 -07:00
Andrzej Kapolka
be028c2b01
Fixes for local lights.
2014-07-22 14:13:51 -07:00
Atlante45
35caef1882
Added pointing behaviour
2014-07-18 15:39:12 -07:00
Philip Rosedale
6bd3e99569
Merge branch 'master' of https://github.com/worklist/hifi
2014-07-16 17:26:56 -07:00
TonyPeng
317a08fc60
Draw local light stats.
2014-07-16 09:44:05 -07:00
TonyPeng
90d56bc108
Use the number of local lights to update new avatars instead of checking hashes.
2014-07-15 16:10:13 -07:00
Philip Rosedale
8fb5ca44d4
Merge branch 'master' of https://github.com/worklist/hifi
2014-07-15 14:47:28 -07:00
TonyPeng
4cea4d2838
Resolve upstrem conflict
2014-07-15 10:33:22 -07:00
TonyPeng
1aa20dff60
Expose light directions and colors for the avatar list in AvatarManager. Light parameter changes within the script will effect all the avatars currently in AvatarManager.
2014-07-14 13:59:57 -07:00
Philip Rosedale
db73d8d2f4
add body angular acceleration
2014-07-14 12:23:00 -07:00
Philip Rosedale
2d4194cae5
fixes per review, clap animation requires double-tap to start
2014-07-13 23:33:02 -07:00
Philip Rosedale
b0e44be1c0
merge fix
2014-07-11 20:26:58 -05:00
Philip Rosedale
b86890033c
Moved hair to separate class
2014-07-11 19:35:17 -05:00
Andrzej Kapolka
222869bf53
Merge pull request #3157 from wdings23/master
...
2 local lights as default
2014-07-11 11:24:48 -07:00
TonyPeng
df7f3073dc
2 local lights as default
2014-07-10 17:18:49 -07:00
barnold1953
18c5ebce9e
Merge branch 'master' of https://github.com/highfidelity/hifi into OculusSDK
2014-07-10 16:42:36 -07:00
barnold1953
8bc9214445
Added helper scaling function to Avatar.
2014-07-10 14:37:04 -07:00
Andrew Meadows
ad6a219a60
fix bug: remove redundant _skeleton.simulate()
2014-07-10 11:08:15 -07:00
Brad Hefta-Gaub
635cb380f2
Merge pull request #3151 from ctrlaltdavid/19860
...
Code Review for Job #19860
2014-07-09 18:35:01 -07:00
Andrzej Kapolka
af6704a83c
Merge pull request #3134 from wdings23/light_and_haze
...
Added local lights to avatar. Added haze to voxel.
2014-07-09 16:07:20 -07:00
David Rowe
f2d49fa6a1
Rename focus indicators menu item and default to off
2014-07-09 15:12:29 -07:00
Andrew Meadows
f463099d16
add "simulate" stat name to Avatar::simulate()
2014-07-09 14:31:47 -07:00
TonyPeng
ef4b95c6e0
Merged from master. Get rid of redundant GL fog states. Moved local light parameters to shader uniform arrays.
2014-07-09 13:27:42 -07:00
Andrew Meadows
3d6752ad90
merge upstream/master into andrew/inertia
...
Conflicts:
interface/src/Application.cpp
2014-07-09 12:52:00 -07:00
TonyPeng
56eadcb0dc
Get rid of redundant GL calls for fog. Enable and disable fog during rendering stage of voxels. Moved the local light parameters to shader uniform arrays.
2014-07-09 12:05:34 -07:00
Andrew Meadows
d26585728b
Improved stat accumulation and context names
2014-07-09 11:53:53 -07:00
Philip Rosedale
f8185dec75
removed some debug logs
2014-07-08 22:26:11 -07:00
David Rowe
305623d8a7
Add option to hide focus indicators
2014-07-08 21:37:08 -07:00
TonyPeng
94e81da557
Added local lights to avatar. Added haze to voxel.
2014-07-08 09:44:28 -07:00
Philip Rosedale
93602328d9
Merge branch 'master' of https://github.com/worklist/hifi
2014-06-28 11:22:22 -07:00
Aleric Inglewood
1bc2f214a5
Compiler warning fixes.
...
This fixes all warnings that I got while compiling with g++ 4.7.2:
In file included from interface/src/Application.h:53:0,
from interface/src/Menu.cpp:36:
interface/src/Menu.h: In constructor ‘Menu::Menu()’:
interface/src/Menu.h:292:13: warning: ‘Menu::_scriptsLocation’ will be initialized after [-Wreorder]
interface/src/Menu.h:289:27: warning: ‘QPointer<LoginDialog> Menu::_loginDialog’ [-Wreorder]
interface/src/Menu.cpp:82:1: warning: when initialized here [-Wreorder]
libraries/audio/src/AudioRingBuffer.cpp: In member function ‘qint64 AudioRingBuffer::writeData(const char*, qint64)’:
libraries/audio/src/AudioRingBuffer.cpp:126:75: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
libraries/audio/src/PositionalAudioRingBuffer.cpp: In member function ‘bool PositionalAudioRingBuffer::shouldBeAddedToMix()’:
libraries/audio/src/PositionalAudioRingBuffer.cpp:212:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
interface/ui/preferencesDialog.ui: Warning: The name 'horizontalLayout_11' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout_111'.
interface/ui/preferencesDialog.ui: Warning: The name 'horizontalSpacer_11' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_111'.
interface/src/avatar/Avatar.cpp: In member function ‘void Avatar::initializeHair()’:
interface/src/avatar/Avatar.cpp:587:21: warning: name lookup of ‘link’ changed [enabled by default]
interface/src/avatar/Avatar.cpp:574:18: warning: matches this ‘link’ under ISO standard rules [enabled by default]
interface/src/avatar/Avatar.cpp:577:22: warning: matches this ‘link’ under old rules [enabled by default]
interface/src/ui/ApplicationOverlay.cpp: In member function ‘void ApplicationOverlay::renderControllerPointers()’:
interface/src/ui/ApplicationOverlay.cpp:379:59: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
In file included from interface/src/ui/RunningScriptsWidget.cpp:14:0:
interface/src/ui/RunningScriptsWidget.h: In constructor ‘RunningScriptsWidget::RunningScriptsWidget(QWidget*)’:
interface/src/ui/RunningScriptsWidget.h:61:18: warning: ‘RunningScriptsWidget::_scriptsModel’ will be initialized after [-Wreorder]
interface/src/ui/RunningScriptsWidget.h:60:27: warning: ‘QSortFilterProxyModel RunningScriptsWidget::_proxyModel’ [-Wreorder]
interface/src/ui/RunningScriptsWidget.cpp:27:1: warning: when initialized here [-Wreorder]
2014-06-27 22:18:38 +02:00
Philip Rosedale
f072c04b4c
hair is a separate class
2014-06-27 09:30:51 -07:00
Philip Rosedale
58d460da09
option to turn on/off string hair
2014-06-25 15:14:17 -07:00
Philip Rosedale
40dee3b39e
Added JS calls for left/right estimated palm position on skeleton model, improved toy ball to use them
2014-06-25 05:24:22 -07:00
Philip Rosedale
88c01266ab
more hair tweaks, don’t render in 1P, improved toy ball
2014-06-25 03:29:08 -07:00
Philip Rosedale
81e7f8e0a5
Merge branch 'master' of https://github.com/worklist/hifi
2014-06-24 16:21:35 -07:00
Philip Rosedale
9eb91e2b44
tweaking params
2014-06-24 16:15:16 -07:00
Philip Rosedale
556578b8dc
first pass - hair as vertlet strands
2014-06-24 09:30:11 -07:00
Andrew Meadows
8986be5f1c
remove old collideAgaintsOurself() code
2014-06-23 10:36:31 -07:00
Andrew Meadows
d4b5550cda
Skeleton now creates VerletShape
2014-06-18 17:22:39 -07:00
Andrew Meadows
ecbf5043d7
code out of Model into base and derived classes
...
PhysicalEntity (base class) gets some shape management stuff
SkeletonModel (derived class) gets some boundary shape and
joint-shape stuff
2014-06-17 16:22:18 -07:00
Andrew Meadows
0addf3bae4
cleaup: remove some unused collision code
...
remove CollisionInfo::_type
remove unused Avatar collision response stuff
comment out some code that works but will probably be replaced
2014-06-06 14:36:05 -07:00
Andrew Meadows
ca77eb9d1e
cleanup of avatar collisions, prep for more ragdoll collisions
...
removal of paddle hands
particles use general sphere collision path against avatars
temp removal of skeleton self collision
2014-06-06 10:51:22 -07:00
Andrew Meadows
30d936c15b
getJointPosition -> getJointPositionInWorldFrame
2014-06-04 10:52:10 -07:00
Atlante45
17e3bd6110
CR comments
2014-05-29 18:24:21 -07:00
Atlante45
b91fd19f39
snapped attachment to center and scale them to fit
2014-05-29 14:30:28 -07:00
Atlante45
b4deed775e
Added joints position and combined rotation to scripting interface
2014-05-28 15:59:42 -07:00
Andrzej Kapolka
edaa251e5f
Provide option to disable avatar shadowing.
2014-05-27 11:43:34 -07:00
barnold1953
dad2788b8c
Moved 'I am looking at' ball to be immediately above name text, and reduced opacity
2014-05-21 17:45:17 -07:00
Andrew Meadows
337bc8b947
reuse boolean results rather than recomputing them
2014-05-16 08:28:36 -07:00
Andrew Meadows
e98f5c7486
merge upstream/master into andrew/inertia
...
Conflicts:
interface/src/renderer/Model.cpp
2014-05-15 12:33:09 -07:00
Andrew Meadows
4640587445
more correct model bounding capsule
2014-05-15 12:28:55 -07:00
Andrew Meadows
366e9c7d34
PalmDataA::getPalmDirection --> getNormal()
2014-05-14 09:05:54 -07:00
Andrew Meadows
46ec3accfd
merge upstream/master into andrew/thermonuclear
2014-05-12 11:55:59 -07:00
Andrew Meadows
49dedb72c9
remove FingerData class and related cleanup
2014-05-12 11:09:12 -07:00
Kai Ludwig
3e1d0536c1
Fix for: #19626 - Fix the Windows 7 crash
...
The image data for glTexImage2D is size=width x height without any borders. So there must be a border of 0 given when calling glTexImage2D, otherwise there is not enough image data causing crashes when textures get loaded.
The effect occurs reproducible on Win7 with ATI cards. Maybe their OpenGL-Implementation is less robust ...
2014-05-11 16:18:46 +02:00
Andrzej Kapolka
3329cb7638
Set the LOD distance on attachments (controls the load priority, too).
2014-05-09 15:25:48 -07:00
Andrzej Kapolka
0474375a39
Don't render head attachments in first person mode.
2014-05-09 15:13:58 -07:00
Andrew Meadows
217080fe1d
cleanup - remove unused leap fingers
2014-05-09 10:27:01 -07:00
Andrzej Kapolka
c02b708ee5
Provide the option to avoid making duplicate attachments.
2014-05-08 15:54:30 -07:00
Philip Rosedale
538e785208
Merge pull request #2815 from ZappoMan/modelserver
...
More Model Improvements & some other tweaks
2014-05-07 20:59:04 -07:00
Philip Rosedale
c6b4b7c250
Merge pull request #2811 from AndrewMeadows/inertia
...
prevent avatar from getting trapped in voxel collisions
2014-05-07 16:54:28 -07:00
ZappoMan
37ca6efc7c
correctly handle SHADOW_RENDER_MODE in a bunch of places that were drawing shadows when they shouldn't
2014-05-07 11:48:32 -07:00
Andrew Meadows
9fc1c765d3
overhaul of CollisionInfo
...
store Cube info for sphereAACube collisions
2014-05-07 11:40:00 -07:00
Andrzej Kapolka
983a3af4b9
Attachment translations in world space.
2014-05-06 11:50:37 -07:00
Philip Rosedale
e3ab16997a
tweaks to roll (back to no magnify) and lookAt indicator dot
2014-05-05 22:06:28 -07:00
Philip Rosedale
e0c898bba0
Merge branch 'master' of https://github.com/worklist/hifi
2014-05-05 18:03:33 -07:00
Philip Rosedale
53baf5652e
avatar look at indicator smaller grey ball
2014-05-05 18:03:25 -07:00
Andrzej Kapolka
fd0a39df12
Always update attachments.
2014-05-05 16:19:33 -07:00
Philip Rosedale
691b1d6069
Added lookAt rendering bubble
2014-05-05 16:19:09 -07:00
Andrzej Kapolka
f37460e39a
Basic attachment rendering.
2014-05-05 15:46:09 -07:00
Andrzej Kapolka
71231268a5
Better head heights for headless skeletons.
2014-05-02 14:28:12 -07:00
Atlante45
7787cf97b6
Only glow body + fixed display name scale
2014-04-29 16:30:14 -07:00
Andrew Meadows
f07a418a27
namechange CollisionFlags --> CollisionGroups
2014-04-24 11:07:49 -07:00
Andrew Meadows
37a5d9130f
move _thrust from Avatar to MyAvatar
2014-04-23 11:55:28 -07:00
Andrew Meadows
359c14e319
cleanup: remove unused Avatar::_mode
...
The mode, if it is required, should probably eventually live in
AvatarDAta since it will be determined by whatever engine is running the
avatar (script or interface) and then broadcast to the rest of the
world. When we need it we'll add it back in the right place.
2014-04-23 11:48:42 -07:00
Atlante45
05545b684d
Made glowing when speaking an option
2014-04-18 17:47:21 -07:00
Stephen Birarda
69d3360675
add a convenience method to AvatarHashMap to check for avatar removal
2014-04-17 16:48:24 -07:00
Stephen Birarda
e303ce1a12
move some Avatar management to AvatarHashMap
2014-04-17 16:37:40 -07:00
Andrew Meadows
0ad841edfb
don't render avatar boundary shapes in first person
2014-04-11 17:44:51 -07:00
Andrzej Kapolka
475528f112
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-04-10 15:00:32 -07:00
Atlante45
9c662acc9d
Modified max glow + don't glow you own avatar
2014-04-10 14:40:35 -07:00
Atlante45
2cc2149647
Glow when you talk, flash when you clip
...
closes #2592
2014-04-10 11:55:30 -07:00
Andrzej Kapolka
f61c746b4a
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-04-10 09:45:23 -07:00
Andrew Meadows
4942e93daa
replace .f with .0f as per coding standard
2014-04-10 07:53:11 -07:00
Andrzej Kapolka
9f58264cb6
Working on plane collisions, pushing back camera from intersecting avatars.
2014-04-09 18:07:56 -07:00
Stephen Birarda
684c6b5372
run regex header replacement on all cpp files
2014-04-09 09:35:42 -07:00
Stephen Birarda
974d8c0427
prepare header files for regex run against cpp
2014-04-09 09:35:05 -07:00
Andrzej Kapolka
d4706bba8a
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-04-08 10:21:13 -07:00
Brad Hefta-Gaub
2988239aed
Merge pull request #2615 from ey6es/master
...
Add the download stats back (they got lost in a merge), provide a way for bots to address joints by name (by including indices in the FST file).
2014-04-08 07:20:00 -10:00
Andrzej Kapolka
a157c67901
Merge branch 'master' of https://github.com/highfidelity/hifi into metavoxels
2014-04-08 09:56:07 -07:00
Andrzej Kapolka
fa05a48270
Provide a means of supplying the joint mappings in the FST file so that agent
...
scripts can address joints by name. Closes #2526 .
2014-04-07 17:55:36 -07:00
Andrew Meadows
bf0eb69e2c
fix for sometimes slow avatar
2014-04-07 16:28:55 -07:00
Andrzej Kapolka
a2b94aa433
Working on render modes.
2014-04-04 14:22:01 -07:00
Andrew Meadows
933cade6b0
Re-add fullUpdate hint to Model::simulate()
2014-04-02 16:34:33 -07:00
Andrew Meadows
97ba5250a5
Only simulate() Avatar Models when necessary
...
Also: rebuild collision shapes when Model scale changes
2014-04-02 12:01:18 -07:00
Andrew Meadows
b65855a384
merge upstream/master into avatar-interaction
2014-04-01 12:53:47 -07:00
Andrew Meadows
9f9127b716
draw head bounding shape first
2014-04-01 11:39:24 -07:00
Andrew Meadows
1bbdc9d78b
Adding bounding capsule shape for Model
...
Also:
Cleaned up the automatic geometry LOD loading
Removed staticExtents data member from FBXGeometry
Split debug rendering of bounding shapes from joint shapes
2014-04-01 09:25:25 -07:00
Stephen Birarda
3c8aa90ae0
Merge pull request #2559 from AndrewMeadows/avatar-interaction-2
...
split lean input from lean perturbations
2014-03-28 09:25:36 -07:00
Andrzej Kapolka
361276d133
Use a spherical estimate of the shadowed region to avoid growing and shrinking
...
it as we turn around. Also, might as well render shadows for the billboards.
2014-03-27 16:19:21 -07:00
Andrzej Kapolka
aee15e0496
Don't render display name/chat message for own avatar in first person mode.
2014-03-27 15:38:21 -07:00
Andrew Meadows
796d20168e
splitting lean input from lean perturbations
2014-03-27 15:30:30 -07:00
Andrzej Kapolka
ca9f0c01c1
Couple of quick fixes: reset the skeleton joints when space is pressed as a
...
last resort to fix broken IK, don't render display names at the origin if
we don't have a skeleton model.
2014-03-27 11:08:55 -07:00
Andrew Meadows
9a4db152ff
avatar responds to hand-vs-head collisions again
2014-03-26 13:20:18 -07:00
Andrew Meadows
fff7a36b54
merge upstream/master into physics project
...
Conflicts:
interface/src/avatar/Hand.cpp
interface/src/avatar/Hand.h
interface/src/avatar/SkeletonModel.cpp
interface/src/avatar/SkeletonModel.h
interface/src/renderer/Model.h
2014-03-25 15:55:26 -07:00
Andrzej Kapolka
210af25396
When rendering avatar shadows, check bounds against shadow frustum. Closes
2014-03-24 14:52:02 -07:00
Andrzej Kapolka
62884f1f4f
Don't use textures/fancy shaders when rendering shadow map. Closes #2270 .
2014-03-24 13:15:03 -07:00
Andrew Meadows
4a1a7898ea
Merge branch 'cleanup' into 'shapes'
2014-03-18 12:53:45 -07:00
Andrew Meadows
02c58447df
merge upstream/master into "shapes" project
...
Conflicts:
interface/src/avatar/MyAvatar.cpp
interface/src/avatar/SkeletonModel.cpp
interface/src/avatar/SkeletonModel.h
libraries/avatars/src/HandData.h
libraries/shared/src/SharedUtil.h
2014-03-18 12:41:20 -07:00
Andrew Meadows
ed3cf36045
cleanup: AvatarData doesn't derive from NodeData
...
Cleaner Interface since the AvatarData is already not the NodeList.
Reduces overhead/confusing code when parsing packets from AvatarMixer.
2014-03-17 14:10:42 -07:00
Andrew Meadows
68ba2201df
cleanup of Avatar:: and MyAvatar::render()
...
MyAvatar now calls Avatar::render() which does most of the work.
Also, made ::renderBody() a proper virtual function
2014-03-17 10:22:02 -07:00
Andrzej Kapolka
b4cb1457a2
Do a simple frustum check for rendering the avatar or doing a full joint
...
update. Closes #2071 .
2014-03-13 13:29:18 -07:00
Andrzej Kapolka
43feef3ebd
Only update the full set of joints when we've received new data from the
...
mixer. Closes #2274 .
2014-03-13 12:03:02 -07:00
Andrzej Kapolka
bab74e9cd4
Push the distance back even more.
2014-03-12 15:01:09 -07:00
Andrzej Kapolka
889c1358fc
Increase the distance at which avatars glow when moving.
2014-03-12 14:56:52 -07:00
Andrzej Kapolka
f088912ecf
More GCC warning fixes.
2014-03-12 12:51:43 -07:00
Andrew Meadows
793a760272
merge upstream master into "radians" project
2014-03-11 17:28:36 -07:00
Andrew Meadows
aa8c2fc8cb
use radians instead of degrees (almost) everywhere
2014-03-11 17:26:58 -07:00
Stephen Birarda
d1623e6e4d
fixes for warnings produced by Xcode 5.1
2014-03-11 11:45:13 -07:00
Andrew Meadows
47e340dafe
Merge upstream/master
...
Conflicts:
interface/src/avatar/MyAvatar.cpp
2014-03-07 09:16:33 -08:00
Andrzej Kapolka
44374732fa
Further joint bits.
2014-03-06 19:30:24 -08:00
Andrzej Kapolka
c5ab32235f
Merge branch 'master' of https://github.com/highfidelity/hifi into joints
2014-03-06 17:09:24 -08:00
Andrzej Kapolka
3adea84b81
Basic joint data sending. Closes #2166 .
2014-03-06 17:07:29 -08:00
Stephen Birarda
87d908a3bc
resolve conflicts on merge with upstream master
2014-03-06 15:03:03 -08:00
Stephen Birarda
5373cbbb9b
Merge pull request #2228 from josecpujol/fix_2198
...
Changed the up vector for computing the scale factor: it failed when
2014-03-06 14:49:13 -08:00
Stephen Birarda
27d486c0a1
resolve conflicts on merge with upstream master
2014-03-06 14:47:58 -08:00
Jose Carlos
8e81c4c467
Changed the up vector for computing the scale factor: it failed when
...
there was a roll in the view
2014-03-06 21:49:36 +01:00
Andrew Meadows
868e92c0fa
Merge upstream/master' into shapes branch
2014-03-06 12:45:43 -08:00
Andrew Meadows
37b088ebfa
Hands can collide with avatar head again
2014-03-06 12:38:07 -08:00
Stephen Birarda
b705ec560f
cleanup resources directory references by copying beside the executable
2014-03-06 11:46:49 -08:00
Stephen Birarda
403f91c988
update resource references to use Qt resource system
2014-03-06 10:41:11 -08:00
Stephen Birarda
90d4bbee78
Merge branch 'master' of https://github.com/highfidelity/hifi into external-glm
2014-03-06 09:16:22 -08:00
Andrzej Kapolka
a7af3bc284
Merge branch 'master' of https://github.com/highfidelity/hifi
...
Conflicts:
interface/src/avatar/MyAvatar.cpp
2014-03-05 18:08:59 -08:00
Andrzej Kapolka
3930b3e824
Display names are great, but not in the shadow map. Closes #2208 .
2014-03-05 17:44:08 -08:00
Andrew Meadows
7db5aaaf37
new collision pipeline for avatar shapes
2014-03-05 07:08:59 -08:00
Stephen Birarda
7451cfe130
remove glm so it is referenced only externally
2014-03-04 15:19:47 -08:00
Andrew Meadows
7ba5bc71ea
Merge branch 'master' of ssh://github.com/highfidelity/hifi into shapes
...
Conflicts:
interface/src/renderer/FBXReader.cpp
interface/src/renderer/Model.cpp
interface/src/renderer/Model.h
2014-03-04 09:01:24 -08:00
Andrzej Kapolka
64c4e58160
Tie the avatar LOD distance multiplier to the LOD parameter calculated for
...
voxels.
2014-03-03 16:34:28 -08:00
Andrzej Kapolka
75c9e44545
Render the billboard if we don't have both models. Closes #2178 .
2014-03-03 15:33:37 -08:00
Andrzej Kapolka
0361f46832
Don't simulate avatars' models when they're being rendered as billboards.
...
Closes #2165 .
2014-03-03 12:09:38 -08:00
Andrzej Kapolka
21a149348b
When switching models, retain old one until new one is loaded. Closes #2146 .
2014-02-28 13:57:25 -08:00
Andrzej Kapolka
2639796402
Wait until both head and body are loaded before rendering. Closes #2145 .
2014-02-28 12:22:10 -08:00
Andrew Meadows
50a5924574
Using shapes for collisions against Model
...
rather than building tapered capsule shapes on the fly
2014-02-27 17:33:36 -08:00
Andrzej Kapolka
cd2bd32210
Delay loading models until we know that we need them (i.e., that we're not
...
beyond billboard distance). Closes #2121 .
2014-02-27 12:30:46 -08:00
Andrew Meadows
5954bb91d4
ListShape now handled by ShapeCollider
2014-02-26 15:36:19 -08:00
ZappoMan
d4c36acd7d
fix windows warning
2014-02-25 18:43:31 -08:00
Andrzej Kapolka
5d99b06a48
Use hysteresis to prevent rapid enabling and disabling of billboard. Closes
2014-02-25 16:12:58 -08:00
ZappoMan
23b2d7d124
Merge pull request #2073 from josecpujol/19489
...
19489
2014-02-25 13:34:39 -08:00
Philip Rosedale
11e9b18a98
Don’t render avatar ‘sphere’ unless there is voice intensity
2014-02-25 12:35:14 -08:00
Jose Carlos
64e75bb4ab
fixed typo
2014-02-25 00:19:52 +01:00
Jose Carlos
ae87ab3b79
Undone a change to try to prevent the decay effect in the text rendering
2014-02-24 23:26:42 +01:00
Jose Carlos
2bf3d2547a
Merge remote-tracking branch 'upstream/master' into 19489
2014-02-24 22:03:03 +01:00
Jose Carlos
c8c371b6f4
Changed the displayname background rect: instead of having squared
...
corners, they are bevel
Added some test code to prevent the decay effect in the text rendering
2014-02-24 22:02:06 +01:00
Stephen Birarda
9771e1bb12
resolve conflicts on merge with upstream master
2014-02-24 12:06:10 -08:00
Andrzej Kapolka
d80b52dc9f
Fixes for camera mode transitions, seeing inside head.
2014-02-24 11:33:52 -08:00
Philip Rosedale
b0f3ab3ccd
Merge pull request #2057 from ey6es/master
...
I believe this is what was intended for the voxel edit orbit behavior. Yaw the body, pitch the head.
2014-02-23 17:22:07 -08:00
Andrzej Kapolka
6f8f15018c
Allow setting the combined head orientation, which changes the body yaw and
...
applies the rest to the head. Closes #2050 .
2014-02-21 17:52:20 -08:00
Andrzej Kapolka
ac02609bc2
The basic billboard behavior, closes #1864 .
2014-02-21 15:38:49 -08:00
Stephen Birarda
340248ac43
resolve conflicts on merge with upstream master
2014-02-21 15:16:15 -08:00
Jose Carlos
10c9b902b9
Removed duplicated calculation of bounding rect for display name
2014-02-21 00:37:29 +01:00
Jose Carlos
354c9bff09
Correct text position for default and non default meshes
...
Bounding box for text background is now text dependent, much nicer now
2014-02-21 00:29:52 +01:00
Jose Carlos
fa490acb8d
Changed the display name background alpha to 0.2 (was 0.95)
2014-02-20 20:45:32 +01:00
Stephen Birarda
6f84230d9d
resolve conflicts on merge with upstream/master
2014-02-20 10:14:36 -08:00
Jose Carlos
241214ba37
Fixed compilation after merged from upstream
2014-02-19 23:08:19 +01:00
Jose Carlos
828508bbf1
merged from master
2014-02-19 23:01:13 +01:00
Jose Carlos
ba0b01d028
Style changes after ZappoMan's comments
2014-02-19 22:51:40 +01:00
Jose Carlos
4fd735e28f
Added a factor to correct display name position for non default models
...
For the default avatar, the position is wrong
2014-02-19 22:08:47 +01:00
Stephen Birarda
ff7a49d8c2
resolve conflicts on merge with upstream master
2014-02-19 13:07:26 -08:00
Jose Carlos
a6b202ccbe
My Avatar's display name is shown
2014-02-19 10:01:15 +01:00
Andrew Meadows
4010f3ab3f
Remove Avatar::_head, use AvatarData::_headData
2014-02-18 17:41:46 -08:00
Andrew Meadows
c134b8de5b
Remove Avatar::_hand, use AvatarData::_handData
2014-02-18 17:08:12 -08:00
Jose Carlos
46ed506196
Display names are shown when distance is below a threshold
...
Used polygon offset to render display names
Saved model view and projection matrices in order to save glGetDoublev calls
2014-02-19 00:04:00 +01:00
Andrew Meadows
4b58d04c17
Merge branch 'master' of ssh://github.com/highfidelity/hifi into camera-occlusion
2014-02-18 15:00:39 -08:00
Stephen Birarda
c762b92e5a
replace DataServerClient and Profile with AccountManager
2014-02-18 11:27:37 -08:00
Jose Carlos
0ec554ec82
Added fadein and fadeout animations for display name
2014-02-18 00:49:26 +01:00
Jose Carlos
e7b54a9ef4
merged from master
2014-02-17 21:59:53 +01:00
Andrew Meadows
48f28ecee7
Merge branch 'master' of ssh://github.com/highfidelity/hifi into camera-occlusion
...
Conflicts:
interface/src/Menu.h
interface/src/avatar/Avatar.cpp
2014-02-17 12:12:47 -08:00
Andrew Meadows
bca50a5b70
Split render options for head/body collision proxy
...
This makes the poor proxy shapes easier to see.
2014-02-17 11:23:01 -08:00
Andrew Meadows
4848aa1d16
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-02-17 09:14:06 -08:00
Jose Carlos
73e0c0ccf5
Moving pow evaluation to const
2014-02-16 21:33:46 +01:00
Jose Carlos
a8f1f9a00a
Added animation for fade out
2014-02-16 14:25:41 +01:00
Jose Carlos
af48998cc7
Fixed position of display name: we take into account skeleton and head's height
...
Saved opengl state in renderDisplayName
Moved display data to AvatarData
Unified static chat function for chat and display name
2014-02-15 18:40:36 +01:00
Andrew Meadows
335141049c
Cleaning up collision check API's and re-enabling collisions with particles.
2014-02-14 16:33:19 -08:00
Jose Carlos
19cb20f0cd
Added rect around the display name with proper size, paying attention to
...
QFontMetrics data
Fully wired up the message sending and receiving from server
2014-02-15 01:05:21 +01:00
Jose Carlos
04c59b825e
merged from master
2014-02-14 20:52:22 +01:00
Andrzej Kapolka
91fac4eebe
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-02-13 17:38:23 -08:00
Jose Carlos
b899834c54
Show "displayname" in correct position
...
Show "displayname" when on mouse hover
Persistant displayname data
2014-02-14 00:23:21 +01:00
Andrew Meadows
d9b50359a6
Hand-face collisions now work (sorta).
2014-02-13 12:21:28 -08:00
Andrew Meadows
04bc05cfe6
Moving hand-avatar collision trigger calls into MyAvatar
...
Also renaming some methods in Model to be more descriptive.
2014-02-12 08:29:22 -08:00
Andrzej Kapolka
3b1b067418
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-02-11 16:03:41 -08:00
Andrzej Kapolka
e29d6210bb
Merge pull request #1981 from AndrewMeadows/avatar-interaction
...
Avatar body-body collisions
2014-02-11 16:02:43 -08:00
Jose Carlos
319d1f6795
Wired up the send of the display data to the servers
...
Added the renderDisplayName in Avatar
2014-02-12 00:54:50 +01:00
Andrzej Kapolka
b6d77ec637
Switched from loading FBX and FST simultaneously to loading FST first, then
...
using its filename and texdir properties (as Faceshift does) to locate the
corresponding model. Also fixed a bug with the fallback models (they were
invisible after second failure).
2014-02-11 14:20:52 -08:00
Andrew Meadows
3b3359abce
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-02-11 14:02:08 -08:00
Andrew Meadows
887fa0c938
Only resolve our hand collisions that would not move the other avatar.
...
This helps us only penetrate the moveable parts of other avatars.
2014-02-11 09:23:40 -08:00
Andrzej Kapolka
f9e9d62fe3
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-02-10 19:02:58 -08:00
Andrzej Kapolka
2071da2c8a
Provide a means to specify a fallback for when we fail to load a model. Also
...
added missing associated resources for default model. Closes #1960 .
2014-02-10 18:50:36 -08:00
Andrew Meadows
4edc6cd88b
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-02-10 15:42:56 -08:00
Andrew Meadows
e73c9f7095
It is now possible to "poke" moveable parts of the avatar skeleton.
2014-02-10 14:07:50 -08:00
Stephen Birarda
712692f8bf
add fallback default URLs for head and body models
2014-02-10 11:15:35 -08:00
Andrew Meadows
be1aaee359
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
2014-02-10 09:05:08 -08:00
Andrew Meadows
10296577f4
More info when colliding with meshes + stubbery for poking avatar.
2014-02-10 09:02:29 -08:00
Andrew Meadows
7a8186f1da
Adding ModelCollisionInfo struct to get more info about collisions against avatars.
...
Had to disable some collisions. Will go back and make them work again soon.
2014-02-07 10:48:30 -08:00
Andrew Meadows
082b7cf1a9
Merge branch 'master' of ssh://github.com/highfidelity/hifi into avatar-interaction
...
Conflicts:
interface/src/avatar/Avatar.cpp
interface/src/avatar/Avatar.h
interface/src/avatar/MyAvatar.cpp
2014-02-06 14:37:19 -08:00