Stephen Birarda
365cd27c06
Merge pull request #3983 from ZappoMan/librarization
...
Remove glut from the code base.
2014-12-19 09:12:53 -08:00
Andrew Meadows
25b00977be
fix cmake config for bullet after c++-11 changes
2014-12-18 17:34:39 -08:00
Stephen Birarda
114e3bb2ff
rename cmake macro to represent actual purpose
2014-12-18 16:51:20 -08:00
Stephen Birarda
2df9512dde
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-12-18 16:49:01 -08:00
Stephen Birarda
3a4f75ff62
fix AddressManager domain lookup to handle port
2014-12-18 16:40:02 -08:00
Stephen Birarda
1ab66c2bfe
split port and hostname for cleaner domain changes
2014-12-18 16:17:03 -08:00
ZappoMan
8091564a73
remove all glut
2014-12-18 16:12:30 -08:00
Stephen Birarda
087ac1db90
send port along with domain hostname lookup
2014-12-18 16:03:13 -08:00
ZappoMan
26bcca95c9
remove glutWireCube()
2014-12-18 15:42:02 -08:00
Stephen Birarda
f474cfc9d0
link to render-utils from entities renderer
2014-12-18 15:06:44 -08:00
Andrew Meadows
11f01e1859
merge upstream/master into andrew/inertia
2014-12-18 15:01:08 -08:00
Andrew Meadows
6df91b92a8
merge upstream/master into andrew/thermonuclear
2014-12-18 15:00:15 -08:00
Stephen Birarda
d87e06a9d3
add missing metavoxels link to script-engine
2014-12-18 14:54:10 -08:00
Stephen Birarda
4bd3a94794
add missing avatars link to entities
2014-12-18 14:53:52 -08:00
Stephen Birarda
e8adc19ac6
fix more missing dependencies in render-utils
2014-12-18 14:52:36 -08:00
Stephen Birarda
4f4ffc42d3
add missing link to fbx from avatars
2014-12-18 14:52:16 -08:00
ZappoMan
6f6cf3b08d
Merge branch 'master' of https://github.com/highfidelity/hifi into librarization
2014-12-18 14:52:00 -08:00
Stephen Birarda
1b5552de1a
fix GLUT library link in render-utils
2014-12-18 14:42:08 -08:00
Stephen Birarda
ecb17a61d6
fix missing render-utils dependencies
2014-12-18 14:39:35 -08:00
Stephen Birarda
6a604ca340
fix missing script dependency from shared
2014-12-18 14:36:31 -08:00
Stephen Birarda
325d0dbce1
include QUuid instead of UUID in UUIDHasher
2014-12-18 14:31:34 -08:00
Stephen Birarda
e13e9febdc
unlock the node mutex if node not found
2014-12-18 14:16:22 -08:00
Stephen Birarda
07f95c597c
add read locks for find on tbb hash
2014-12-18 14:08:55 -08:00
Stephen Birarda
df3eca5aca
add a comment for the UUID hasher
2014-12-18 14:01:22 -08:00
Stephen Birarda
587df1178d
use constant for MSEC to USEC conversion
2014-12-18 13:57:19 -08:00
Andrew Meadows
dab1f026d7
simpler EntityItem::simulate() bypass for bullet
2014-12-18 13:56:18 -08:00
Andrew Meadows
85fd1fc14f
merge andrew/thermonuclear into andrew/inertia
...
Conflicts:
interface/src/Application.cpp
libraries/entities/src/EntityItem.cpp
2014-12-18 13:46:06 -08:00
Andrew Meadows
b03e6c53e1
fixing derived classes to use new EntityItem API
...
remove 'forceCopy' argument in EntityItem::setProperties()
2014-12-18 11:41:20 -08:00
Andrew Meadows
28381a3b70
cleanup of EntityItem::_created timestamp logic
...
EntityItem::_created initializes to 0 in ctor
and must be set either by EntityItemProperties (via server update)
or manually whenever a script creates a fresh entity
2014-12-18 11:39:02 -08:00
Stephen Birarda
011b313b68
fix indentation in MetavoxelClientManager
2014-12-18 11:30:57 -08:00
ZappoMan
11b4400099
move all glut-ness to geometry cache
2014-12-18 11:20:17 -08:00
Stephen Birarda
4042b8b17a
duh, glut only required on win
2014-12-18 09:50:10 -08:00
Stephen Birarda
e6d3278b59
add back include of GLUT in render-utils
2014-12-18 09:47:20 -08:00
Stephen Birarda
b326ab9839
remove quotes from library links for debug/optimized
2014-12-18 09:38:48 -08:00
Stephen Birarda
d38c78f2c3
remove bubbling of linked libraries, cmake does it
2014-12-18 09:34:04 -08:00
Stephen Birarda
b202eb7dae
DRY up gpu library/header linking
2014-12-18 09:14:44 -08:00
Stephen Birarda
9425ea2c17
Merge branch 'master' of https://github.com/highfidelity/hifi into cuckoo
2014-12-17 16:47:15 -08:00
Andrew Meadows
756d09d895
fix typo that broke the build
2014-12-17 16:06:15 -08:00
Andrew Meadows
6e7eccdb27
merge upstream/master into andrew/thermonuclear
2014-12-17 15:59:45 -08:00
Andrew Meadows
75d468da9e
set _lastEdited to _created rather than to zero
2014-12-17 15:59:16 -08:00
ZappoMan
ef42203481
add wire cube implementation to GeometryCache and DeferredLightingEffect
2014-12-17 15:58:52 -08:00
Andrew Meadows
44ebf37510
handle case where obj at rest but still falls
2014-12-17 15:52:34 -08:00
Andrew Meadows
1e5c44f117
accept changes with the same Edit timestamp
2014-12-17 15:48:49 -08:00
Andrew Meadows
547c4cdaf9
make non-bullet entity simulation work again
2014-12-17 14:52:38 -08:00
Andrew Meadows
c6afa0f7e1
remove test hack for higher than normal ground
2014-12-17 14:17:30 -08:00
ZappoMan
7db350eac2
remove calls to glut in entities
2014-12-17 14:07:26 -08:00
ZappoMan
881119ebf3
removed dead code
2014-12-17 13:23:12 -08:00
Andrew Meadows
6ea766b48d
merge andrew/thermonuclear into andrew/inertia
...
Conflicts:
interface/src/Application.cpp
libraries/entities/src/EntityItem.cpp
libraries/entities/src/EntityTypes.cpp
2014-12-17 13:21:00 -08:00
ZappoMan
1a9cf126e4
Merge branch 'master' of https://github.com/highfidelity/hifi into librarization
...
Conflicts:
interface/src/Application.cpp
libraries/entities-renderer/src/EntityTreeRenderer.h
2014-12-17 13:16:11 -08:00
ZappoMan
9f9b8bcb68
move interface/entities to libraries/entities-renderer
2014-12-17 12:54:41 -08:00
Andrew Meadows
905d7f50eb
comments on TODO list
2014-12-17 12:39:48 -08:00
Andrew Meadows
8de309a7a9
more correct _created and _lastEdited
2014-12-17 12:38:26 -08:00
Andrew Meadows
5efd996548
clarifying some comments on member variables
2014-12-17 12:37:49 -08:00
ZappoMan
2be3b73e8c
move TextRender to libraries/render-utils
2014-12-17 12:32:52 -08:00
Andrew Meadows
e36ee2a961
more correct creation and edit times for entities
2014-12-17 12:19:34 -08:00
ZappoMan
a465aa20ff
more Application and Menu dependency removal
2014-12-17 11:41:42 -08:00
ZappoMan
5d636e21c6
more Application dependency cleanup
2014-12-17 11:10:45 -08:00
ZappoMan
d3bf28e879
more Application dependency cleanup
2014-12-17 11:10:24 -08:00
Stephen Birarda
737741c13b
Merge branch 'master' of https://github.com/highfidelity/hifi into cuckoo
2014-12-17 09:23:42 -08:00
Atlante45
6304a5e819
Unused removed method
2014-12-16 16:50:15 -08:00
ZappoMan
3dfded89b8
remove menu dependency from EntityTreeRenderer, some Application cleanup
2014-12-16 16:28:09 -08:00
Atlante45
3f2b5aeca4
Cleaner destruction handling
2014-12-16 16:22:59 -08:00
Atlante45
b2dac6f53f
DM users update
2014-12-16 15:32:11 -08:00
Atlante45
11a2ecab56
Merge branch 'master' of https://github.com/highfidelity/hifi into applications_diet
...
Conflicts:
interface/src/Application.cpp
interface/src/Application.h
interface/src/Menu.cpp
interface/src/entities/EntityTreeRenderer.h
interface/src/ui/ApplicationOverlay.cpp
libraries/render-utils/src/GlowEffect.cpp
libraries/render-utils/src/Model.cpp
2014-12-16 15:02:37 -08:00
Atlante45
2039895898
Merge branch 'master' of https://github.com/highfidelity/hifi into applications_diet
...
Conflicts:
interface/src/Application.cpp
interface/src/Application.h
interface/src/renderer/GlowEffect.cpp
interface/src/renderer/TextureCache.cpp
2014-12-16 14:27:50 -08:00
ZappoMan
89101872bb
move Model and AnimationHandle to libraries
2014-12-16 14:04:39 -08:00
Atlante45
cf6aa563ac
DM returns shared pointer
2014-12-16 13:54:24 -08:00
ZappoMan
efa8a752f2
remove dependency on Menu from Model
2014-12-16 13:14:57 -08:00
ZappoMan
16c1e597f1
remove Application dependency from Model
2014-12-16 12:53:22 -08:00
ZappoMan
1ed2c62bbf
try this
2014-12-16 12:15:57 -08:00
ZappoMan
ee34dfffc1
try this
2014-12-16 12:05:23 -08:00
ZappoMan
ec5c33fecc
try this
2014-12-16 11:57:06 -08:00
ZappoMan
a9b3fdd3eb
try this
2014-12-16 11:44:15 -08:00
ZappoMan
fc1e1ecfc0
move DeferredLightingEffect and AmbientOcclusionEffect to libraries, make them DependencyManager enabled
2014-12-16 11:27:44 -08:00
ZappoMan
4d79a08533
remove Application dependencies from AmbientOcclusion and DeferredLightingEffect
2014-12-16 10:32:03 -08:00
ZappoMan
660bf2720e
convert AnimationCache to DependencyManager
2014-12-15 19:48:15 -08:00
ZappoMan
02737a4ec4
move JointState to libraries
2014-12-15 19:38:30 -08:00
ZappoMan
fac6ff572b
see if this works
2014-12-15 19:29:53 -08:00
ZappoMan
41c135c4e5
move GlowEffect to libraries
2014-12-15 19:19:21 -08:00
ZappoMan
37abe8e89c
move RenderUtils.cpp/h to libraries
2014-12-15 17:35:26 -08:00
ZappoMan
79bc5e0507
Merge branch 'master' of https://github.com/highfidelity/hifi into InterfaceConfigEctomy
2014-12-15 16:48:07 -08:00
Andrzej Kapolka
892141fe14
Fix for crash on exit due to cache references' not being cleared.
2014-12-15 16:36:26 -08:00
ZappoMan
b1d1cfee44
cmake cleanup
2014-12-15 15:29:05 -08:00
Andrzej Kapolka
50c1e9fb40
Fixes for missing audio device.
2014-12-15 22:41:35 -08:00
ZappoMan
bfcc78c57d
replaced Application::resourcesPath() with PathUtils::resourcesPath()
2014-12-15 15:20:18 -08:00
Andrew Meadows
67c3a25475
Merge branch 'master' of ssh://github.com/highfidelity/hifi into inertia
...
Conflicts:
interface/src/Application.cpp
libraries/entities/src/EntityItem.h
2014-12-15 14:46:46 -08:00
Andrew Meadows
31486a81c1
updated TODO notes
2014-12-15 14:41:04 -08:00
Andrew Meadows
b3731e9530
hack for "reliable" packet send when objects stop moving
2014-12-15 14:36:27 -08:00
Andrew Meadows
0f488bca02
differentiation btw _lastEdited and _lastSimulated
2014-12-15 14:28:53 -08:00
ZappoMan
df7e115556
move ProgramObject to libraries
2014-12-15 14:21:22 -08:00
ZappoMan
49cacd85bd
move GeometryCache to library
2014-12-15 14:00:41 -08:00
ZappoMan
7b973453b4
move TextureCache to library
2014-12-15 13:14:16 -08:00
ZappoMan
0b95403949
cleanup the windows hackery a little
2014-12-15 12:25:20 -08:00
ZappoMan
95d820ee8b
more windows hackery
2014-12-15 12:16:01 -08:00
ZappoMan
4e7368b643
more windows hackery
2014-12-15 12:09:30 -08:00
ZappoMan
28f2dc62ea
add windowshacks.h to GPUConfig.h and move it to shared
2014-12-15 11:49:01 -08:00
Stephen Birarda
8549e9cb53
resolve conflicts on merge with upstream master
2014-12-15 09:36:17 -08:00
ZappoMan
3de3540ebe
move back into interface for now
2014-12-15 08:37:33 -08:00
ZappoMan
4ac673fe63
more render util cleanup
2014-12-15 08:16:42 -08:00
ZappoMan
2df4c017f1
move GeometryCache out of application and remove dependency on Model
2014-12-15 08:15:55 -08:00
ZappoMan
e253b8afa4
move TextureCache out of interface and Application
2014-12-15 08:14:53 -08:00
Atlante45
e40961df12
Checking that T is in fact derived from Dependency
2014-12-14 21:34:27 -08:00
Atlante45
28786721a6
Merge branch 'master' of https://github.com/highfidelity/hifi into dependancy_manager
2014-12-13 01:18:33 -08:00
Atlante45
9aea2843ac
Remove pointer check
2014-12-12 21:20:26 -08:00
Atlante45
50fd52377f
Couple improvements to the dependency manager
2014-12-12 21:10:45 -08:00
Atlante45
14cda00ebc
First implementation of the DependencyManager
2014-12-12 20:52:41 -08:00
Andrew Meadows
fd8e3f6169
add moved entities to lists for sorting
...
and also for outgoing packet updates
2014-12-12 13:28:12 -08:00
Stephen Birarda
687072f19c
fix for domain failed reconnect after disconnect
2014-12-12 09:47:15 -08:00
David Rowe
20b880ca09
Fix avatar hand state decoding for finger laser
2014-12-11 23:07:05 -08:00
David Rowe
fe8937e37e
Make lasers able to emanate from index finger tips
2014-12-11 21:31:08 -08:00
Andrew Meadows
ad7641c7e0
repairs to build when Bullet not found
2014-12-11 16:05:45 -08:00
Brad Hefta-Gaub
31cbd6e88c
Merge pull request #3954 from ctrlaltdavid/20226
...
CR for Job #20226 - Change Overlays.getTextWidth into Overlays.getTextSize
2014-12-11 14:33:24 -08:00
Andrew Meadows
c3f8f8ab98
init PhysicsEngine with an EntityEditPacketSender
2014-12-11 13:29:29 -08:00
Andrew Meadows
4977bfb708
ObjectMotionState puts self on outgoing queue
2014-12-11 12:40:43 -08:00
Andrew Meadows
572ceb75a4
clarification of what outgoing flags are about
2014-12-11 12:07:53 -08:00
Andrew Meadows
cc0e82b97f
incoming changes is now QSet<ObjectMotionState*>
2014-12-11 10:56:22 -08:00
Andrew Meadows
11f1ad1d7f
move worldOffset into ObjectMotionState
...
add more methods for getting/clearing incoming/outgoing flags
2014-12-11 10:52:34 -08:00
Stephen Birarda
f58d21d6f0
have ShutdownEventListener handle WM_CLOSE or SIGTERM
2014-12-11 10:21:11 -08:00
Andrew Meadows
d9f183458a
_entityMotionStates is Qset of EntityMotionState*
2014-12-11 08:43:01 -08:00
Andrew Meadows
f9ba4d355c
implement EntitySimulation API in PhysicsEngine
2014-12-10 17:01:20 -08:00
Andrew Meadows
ab75150175
moved position/velocity send history to base class
2014-12-10 17:00:23 -08:00
Andrew Meadows
4c74c041c2
remove unused cruft
2014-12-10 16:59:49 -08:00
Andrew Meadows
c4d076b0bb
added comments about macro behavior
2014-12-10 16:59:17 -08:00
Andrzej Kapolka
d402f767c1
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-12-10 15:23:27 -08:00
Andrzej Kapolka
c57fd15bc9
Rather than loading the entire FBX file into a byte array, read it straight
...
from the QNetworkReply.
2014-12-10 15:22:48 -08:00
ZappoMan
f2ed1337b5
fix ray picking output distance to be meters
2014-12-10 11:04:32 -08:00
David Rowe
ff6db7a9fa
Merge branch 'master' into 20226
2014-12-09 19:20:30 -08:00
Leonardo Murillo
8d88c537bf
Merge pull request #3938 from ZappoMan/fixcrash
...
potential fix to crash on windows startup
2014-12-09 19:12:53 -08:00
David Rowe
136c3a2cce
Replace 2D and 3D text overlay textWidth() method with textSize()
2014-12-09 18:32:53 -08:00
ZappoMan
628046f13c
potential fix to crash on windows startup
2014-12-09 18:26:59 -08:00
Sam Gateau
cf081f0deb
Merge branch 'master' of https://github.com/highfidelity/hifi into tot
2014-12-09 18:13:07 -08:00
AndrewMeadows
9aaaae6759
Merge pull request #3934 from ZappoMan/bugfixes
...
fix a bug in MovingEntitiesOperator that would sometimes leave dangling entities
2014-12-09 18:08:14 -08:00
AndrewMeadows
1697636db5
Merge pull request #3933 from ZappoMan/entityCollisions
...
move emit of collisions to after done moving entities, so that callbacks can delete entities
2014-12-09 17:46:41 -08:00
Sam Gateau
8617c319d4
Merge branch 'master' of https://github.com/highfidelity/hifi into tot
2014-12-09 17:30:26 -08:00
ZappoMan
426517b072
fix a bug in MovingEntitiesOperator that would sometimes leave dangling entities
2014-12-09 17:11:01 -08:00
Andrew Meadows
bc22e5723c
bundle the flags that EntitySimulation cares about
2014-12-09 12:55:58 -08:00
Andrew Meadows
699e632e68
remove EntityItem::SimulationState after bad merge
2014-12-09 12:45:21 -08:00
ZappoMan
663b9c393e
add debugging
2014-12-09 12:43:34 -08:00
Andrew Meadows
3fd2f12a73
merge upstream/master into andrew/inertia
...
Conflicts:
libraries/entities/src/EntityItem.cpp
libraries/entities/src/EntityItem.h
libraries/entities/src/EntitySimulation.h
libraries/entities/src/EntityTree.cpp
libraries/entities/src/EntityTreeElement.cpp
libraries/entities/src/SimpleEntitySimulation.cpp
libraries/entities/src/SimpleEntitySimulation.h
libraries/entities/src/SphereEntityItem.cpp
2014-12-09 12:41:53 -08:00
Andrzej Kapolka
fa8f4e3b06
Merge branch 'master' of https://github.com/highfidelity/hifi
2014-12-09 12:16:09 -08:00
Andrzej Kapolka
5fb9905186
Rather than reducing rate on first drop, wait until three consecutive packets
...
have been dropped.
2014-12-09 12:14:21 -08:00
Atlante45
36eecf1d15
Merge branch 'master' of https://github.com/highfidelity/hifi into mouse_pick_in_oculus
2014-12-09 11:53:47 -08:00
Atlante45
eaaaa0687c
spacing
2014-12-09 11:53:14 -08:00
Andrzej Kapolka
343f610442
Use the 1450 limit everywhere, in case other places are running into the issue
...
I experienced with metavoxels.
2014-12-08 18:45:05 -08:00
ZappoMan
3c09ca71cb
move emit of collisions to after done moving entities, so that callbacks can delete entities
2014-12-08 18:09:49 -08:00
Andrzej Kapolka
d0ca75dd2c
Reduce the MTU size to deal with Windows networking issue.
2014-12-08 18:04:45 -08:00
Andrew Meadows
b0cc3a8509
add logic for when to update moving entity
2014-12-08 17:18:07 -08:00
Andrew Meadows
d4c72ab203
handle case where EntityItem's script has changed
2014-12-08 17:16:45 -08:00
Andrew Meadows
a519775cb3
unecessary EntitySimulation::entityChanged() calls
2014-12-08 17:15:58 -08:00
Brad Hefta-Gaub
651e550063
Merge pull request #3925 from AndrewMeadows/thermonuclear
...
fix for non-animating models
2014-12-08 16:58:16 -08:00