ZappoMan
c8298ca617
migrate SVO reading to use QDataStream in step toward reading from HTTP url
2015-03-10 10:49:53 -07:00
Seth Alves
afd2c87dfe
Merge branch 'master' of github.com:highfidelity/hifi into persist-entities-as-json
2015-03-10 10:12:43 -07:00
Seth Alves
2076de9153
started on reading entities from json file
2015-03-10 10:12:29 -07:00
Seth Alves
81dc7cb8cf
started on code to persist entities to file as json rather than in the wire protocol
2015-03-09 13:38:18 -07:00
Andrew Meadows
373be95297
entity cubes are in meters
2015-03-06 15:32:03 -08:00
Andrew Meadows
e4c68bf31c
committing some temp debug stuff to help git diff
...
(will remove this stuff later)
2015-03-05 18:06:08 -08:00
Andrew Meadows
49eee89c19
merge upstream/master into andrew/isentropic
...
Conflicts:
libraries/networking/src/PacketHeaders.cpp
libraries/networking/src/PacketHeaders.h
2015-03-05 08:22:02 -08:00
Andrew Meadows
26bb677840
remove ViewFrustum::*VoxelScale() function calls
...
we do our math in meters now
2015-03-04 17:26:52 -08:00
Andrew Meadows
d7d25a6509
Octree::findCapsulePenetration() uses meters
2015-03-04 16:16:49 -08:00
Andrew Meadows
c88f236d1c
get version from packet
2015-03-04 09:41:23 -08:00
Andrew Meadows
aede107058
change version of Entity update packet
2015-03-04 09:41:07 -08:00
Andrew Meadows
e1954d3e1d
spherical queries into Octree use meters
2015-03-01 15:19:26 -08:00
Andrew Meadows
7836bb4dcd
rayIntersection uses meters instead of tree units
2015-02-26 17:42:17 -08:00
Sam Gateau
d8ebb0c5b9
Merge branch 'master' of https://github.com/highfidelity/hifi into temp0
2015-02-26 14:19:23 -08:00
Andrew Meadows
93c77d557a
EntityTree::findClosestEntity() now takes meters
2015-02-26 14:14:17 -08:00
Leonardo Murillo
006b3ed0ac
Merge pull request #4300 from birarda/dependencies
...
NOT MERGEABLE - add some externals as cmake external projects
2015-02-25 13:22:49 -08:00
Sam Gateau
687c76a6f8
trying to ge the shadow to render correctly
2015-02-23 13:12:29 -08:00
Sam Gateau
90bff36fd3
trying to ge the shadow to render correctly
2015-02-22 18:48:48 -08:00
Stephen Birarda
44f8e599e2
test the possibility that zlib is no longer required
2015-02-19 15:29:28 -08:00
Sam Gateau
b27b599643
Merge branch 'master' of https://github.com/highfidelity/hifi into temp0
2015-02-19 09:53:18 -08:00
Sam Gateau
6070bf8a37
Merge branch 'master' of https://github.com/highfidelity/hifi into temp0
2015-02-18 16:02:18 -08:00
Andrew Meadows
cf9d92abc0
fix EntityServer crash for zero view aspectRatio
2015-02-18 15:48:12 -08:00
Stephen Birarda
b2e587dbbd
remove use of include_dependency_includes and use cmake
2015-02-18 14:12:05 -08:00
Stephen Birarda
c110fcbfad
merge with upstream/master
2015-02-17 17:34:48 -08:00
Stephen Birarda
e99012efbb
updates to build guides to remove soxr
2015-02-17 10:33:12 -08:00
Andrew Meadows
53855c89e9
Merge pull request #4289 from birarda/dependencies
...
add gverb and glm as cmake external projects
2015-02-17 10:00:29 -08:00
Sam Gateau
11247734d4
Merge branch 'master' of https://github.com/highfidelity/hifi into temp0
2015-02-16 22:08:51 -08:00
Sam Gateau
23354da828
replacing the glTransform pipeline for model rendering
2015-02-16 22:08:21 -08:00
Sam Gateau
cc3cc4f96f
replacing the glTransform pipeline for model rendering
2015-02-16 09:31:29 -08:00
ZappoMan
573d7971ac
fix a couple of bugs in backup settings
2015-02-13 20:23:12 -08:00
Andrew Meadows
45208d468e
Merge pull request #4282 from ZappoMan/bugfix
...
some backup logging improvements & a bug fix
2015-02-13 16:54:25 -08:00
Stephen Birarda
8c998a65ee
use the glm find_package and check externals
2015-02-13 12:50:32 -08:00
Stephen Birarda
8994cc0268
use external project glm for octree library
2015-02-13 10:32:27 -08:00
ZappoMan
f1a5865201
added more logging to persist and backup, fixed bug in start up case for no models.svo and backup
2015-02-12 15:17:48 -08:00
Andrew Meadows
e6a6946027
merge upstream/master into andrew/thermonuclear
2015-02-09 12:44:52 -08:00
Stephen Birarda
11f3161029
resolve conflicts on merge with upstream/master
2015-02-04 10:38:05 -08:00
Atlante45
7a03daa76f
Inline setFieldOfView
2015-02-03 18:51:26 -08:00
Atlante45
27459ba861
Settings update
2015-02-03 12:27:30 -08:00
Andrew Meadows
0b78156956
remove unnecessary #includes
2015-02-02 16:45:51 -08:00
Andrew Meadows
156c4fcc9f
removing legacy collision detection code in Octree
2015-02-02 16:42:05 -08:00
Atlante45
4ef87b9919
Merge branch 'master' of https://github.com/highfidelity/hifi into android
...
Conflicts:
interface/src/Application.cpp
interface/src/Application.h
interface/src/DatagramProcessor.cpp
interface/src/Menu.cpp
interface/src/ui/PreferencesDialog.cpp
interface/src/ui/Stats.cpp
libraries/audio-client/src/AudioClient.cpp
libraries/audio-client/src/AudioClient.h
2015-01-28 13:13:32 -08:00
Atlante45
4eac6cd410
Moved IDENTITY_FRONT/UP/RIGHT to GLMHelpers
2015-01-23 13:19:03 -08:00
Atlante45
850f92eae3
Don't call Settings::set when you don't need too.
2015-01-20 17:54:11 -08:00
Atlante45
8d37f5ae00
More setting handles
2015-01-20 15:35:22 -08:00
Atlante45
967028e5cf
Removed more QSettings references
2015-01-18 19:29:27 -08:00
Atlante45
e8a396b08b
Moved Octree max pps out of Menu
...
Moved it to OctreeQuery
2015-01-17 23:31:38 -08:00
Atlante45
bfceaf2838
Moved FieldOfView related members out of Menu
...
Moved them to ViewFrustum
2015-01-17 22:37:02 -08:00
Atlante45
f77fab2fe0
Merge branch 'master' of https://github.com/highfidelity/hifi into applications_diet_cpp11
2015-01-13 20:38:52 -08:00
ZappoMan
0e19e1f8a5
cleanup some dead code
2015-01-13 13:48:28 -08:00
ZappoMan
60aec8ac00
add support for multiple backup rules
2015-01-13 13:41:32 -08:00
Atlante45
2a82ff9768
Merge branch 'master' of https://github.com/highfidelity/hifi into applications_diet_cpp11
...
Conflicts:
assignment-client/src/voxels/VoxelServer.cpp
interface/src/Application.cpp
interface/src/Audio.cpp
interface/src/DatagramProcessor.cpp
interface/src/Menu.cpp
interface/src/Util.cpp
interface/src/avatar/MyAvatar.cpp
interface/src/ui/ApplicationOverlay.cpp
interface/src/ui/PreferencesDialog.cpp
libraries/networking/src/NodeList.cpp
libraries/shared/src/DependencyManager.h
2015-01-13 11:03:14 -08:00
ZappoMan
ea3a5b7fcd
use last backup files timestamp as last backup time.
2015-01-12 17:29:10 -08:00
ZappoMan
7b65c75414
first cut at restoreFromMostRecentBackup
2015-01-12 14:32:13 -08:00
ZappoMan
1562aab6da
intitial pass at lock file
2015-01-12 12:35:17 -08:00
ZappoMan
9630279459
Merge branch 'master' of https://github.com/highfidelity/hifi into voxelEctomy
...
Conflicts:
examples/editVoxels.js
examples/fallingSand.js
examples/growTrees.js
interface/src/Application.cpp
interface/src/Application.h
libraries/avatars/CMakeLists.txt
libraries/entities/src/EntityItem.h
2014-12-31 10:50:53 -08:00
ZappoMan
67595ea571
more voxelEctomy
2014-12-30 20:35:21 -08:00
ZappoMan
5cef7d0e9d
more voxelEctomy
2014-12-30 20:24:27 -08:00
ZappoMan
278ed96f14
more work on voxelEctomy
2014-12-30 18:54:53 -08:00
ZappoMan
141e231958
more work on voxelEctomy
2014-12-30 18:41:56 -08:00
Andrew Meadows
9b7e50858a
merge upstream/master into andrew/inertia
...
Conflicts:
libraries/avatars/CMakeLists.txt
libraries/entities/CMakeLists.txt
2014-12-29 09:15:49 -08:00
ZappoMan
17ed92cf7e
fix runaway backup bug
2014-12-23 10:11:08 -08:00
Atlante45
327daacecd
Merge branch 'master' of https://github.com/highfidelity/hifi into applications_diet_cpp11
...
Conflicts:
interface/src/Application.cpp
interface/src/devices/OculusManager.cpp
libraries/networking/src/NodeList.cpp
2014-12-22 13:34:18 -08:00
Stephen Birarda
114e3bb2ff
rename cmake macro to represent actual purpose
2014-12-18 16:51:20 -08:00
Andrew Meadows
11f01e1859
merge upstream/master into andrew/inertia
2014-12-18 15:01:08 -08:00
Atlante45
990362b8ff
Merge branch 'cuckoo' of https://github.com/birarda/hifi into applications_diet_cpp11
2014-12-18 14:18:21 -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
Atlante45
0bd9ed469e
Changed NodeList::getInstance() calls to use the DM
2014-12-17 15:28:25 -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
Stephen Birarda
8549e9cb53
resolve conflicts on merge with upstream master
2014-12-15 09:36:17 -08:00
ZappoMan
f2ed1337b5
fix ray picking output distance to be meters
2014-12-10 11:04:32 -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
Atlante45
eaaaa0687c
spacing
2014-12-09 11:53:14 -08:00
ZappoMan
0592b74a06
make collision callbacks work
2014-12-08 14:15:03 -08:00
ZappoMan
7011162c70
removed dead code
2014-12-06 15:07:02 -08:00
ZappoMan
7ea85073f4
introduce precision picking in API form
2014-12-06 11:45:49 -08:00
ZappoMan
1fec69698e
get the triangle picking for submeshes working, remove some debug
2014-12-05 23:23:21 -08:00
ZappoMan
ae647d39d0
fix models with registrations other than 0,0,0
2014-12-05 16:14:18 -08:00
ZappoMan
0ccbb98bde
more work on improved model picking
2014-12-05 15:03:35 -08:00
ZappoMan
a6b86da47a
basics of triangle picking working for models
2014-12-05 11:31:27 -08:00
Stephen Birarda
5c3e90f64f
resolve conflicts on merge with upstream master
2014-12-03 13:11:56 -08:00
Andrew Meadows
a21ebe4f6a
merge andrew/thermonuclear into andrew/inertia
2014-12-02 15:31:30 -08:00
Andrew Meadows
b9944edf66
OctreeServer::createTree() is now protected
2014-12-02 11:13:37 -08:00
Andrew Meadows
1df6c32a4e
moving Shape* back into shared lib
...
removing dependency of entities lib on physics lib
physics lib now depends on entities lib
2014-12-01 16:03:14 -08:00
Atlante45
ae3bcc8f06
No more .f
2014-11-19 16:53:39 -08:00
Andrew Meadows
114364e37a
cleanup/optimization of Octree::readElementData()
2014-11-17 16:39:26 -08:00
ZappoMan
bdfe02bbd0
Merge branch 'master' of https://github.com/highfidelity/hifi into persistThreadImprovements
...
Conflicts:
assignment-client/src/octree/OctreeServer.cpp
libraries/octree/src/OctreePersistThread.cpp
libraries/octree/src/OctreePersistThread.h
2014-11-17 11:22:00 -08:00
ZappoMan
ec64bef951
revert debugging change
2014-11-17 11:18:38 -08:00
ZappoMan
f44513ebe7
added support for rolling version numbers in backups
2014-11-15 22:55:12 -08:00
ZappoMan
59c13f3c38
coding standard cleanup, fix warning
2014-11-15 22:26:55 -08:00
ZappoMan
4adb4787cd
added debugging of usecTimestampNow() in octree server to better understand flight times
2014-11-15 21:50:42 -08:00
ZappoMan
c70a7e0553
coding standard cleanup, fix warning
2014-11-15 20:46:30 -08:00
Clément Brisset
c80dff064f
Merge pull request #3798 from ZappoMan/persistThreadImprovements
...
Persist thread improvements/Backup support
2014-11-14 17:25:17 -08:00
ZappoMan
de12b2543d
winblows
2014-11-14 11:50:45 -08:00
ZappoMan
899a3985a5
OctreePersistThread defaults to no backup, server always uses settings
2014-11-14 11:32:18 -08:00
ZappoMan
6ee4e611ac
add persist settings to domain settings, make default backup interval 30 minutes
2014-11-14 11:31:06 -08:00
ZappoMan
cd4b267732
implement persist backup
2014-11-14 11:11:32 -08:00
Sam Gateau
f09b58c255
Merge branch 'master' of https://github.com/highfidelity/hifi into temp0
2014-11-14 10:05:01 -08:00
Sam Gateau
642f436fba
first draft of factorizing the rendering traversal for both sides in stereo
2014-11-14 09:56:36 -08:00
ZappoMan
11058355a0
implement aboutToFinish for persist thread to allow final save before shutdown
2014-11-14 09:55:32 -08:00
ZappoMan
744f9bc508
better handle corrupt packets that would cause unreasonably deep recursion
2014-11-13 22:26:18 -08:00
ZappoMan
5da0d1e55a
fix regexs for dangerously deep recurssion suppression
2014-11-13 20:53:31 -08:00
ZappoMan
6a4f1c857f
fix a couple bugs
2014-11-13 18:35:04 -08:00
ZappoMan
43f44f4131
suppress some potentially repeated log messages
2014-11-13 07:52:00 -08:00
Stephen Birarda
fda5b0fffd
fix a bug produced by not setting deleted var to NULL
2014-11-10 11:03:15 -08:00
Stephen Birarda
c04e653cf3
fix a memory leak in OctreeElement
2014-11-07 17:06:50 -08:00
Stephen Birarda
0f32346324
resolve conflicts on merge with upstream master
2014-11-07 09:10:12 -08:00
Stephen Birarda
e92376cf64
distinguish between eachNode and eachNodeBreakable
2014-11-06 13:41:55 -08:00
Stephen Birarda
da8fc5d5c5
migrate octree library to tbb concurrent map
2014-11-06 11:43:20 -08:00
Stephen Birarda
c80633499f
make eachNode callers return bool to say if iteration should continue
2014-11-06 11:35:07 -08:00
ZappoMan
bcec14b0f4
adjust the sentAt times in packets by the receiving side's clockskew so that it can calculate proper flight times
2014-11-05 19:37:08 -08:00
Stephen Birarda
8a72cdd59d
leverage new libcuckoo hash outside LimitedNodeList
2014-11-05 15:09:54 -08:00
ZappoMan
13e358549d
add periodic pruning of the octree on load and save
2014-11-05 14:56:38 -08:00
Stephen Birarda
f53455ee55
use a ray from the near clip for action ray
2014-11-04 11:40:47 -08:00
ZappoMan
c3d1d13fa9
Merge branch 'master' of https://github.com/highfidelity/hifi into rayPickSubMeshes
2014-10-29 11:56:27 -07:00
ZappoMan
3e9bc23c2f
moving RenderArgs into shared so it can be used by overlays, first cut at ray picking against submeshes
2014-10-29 10:19:04 -07:00
Brad Hefta-Gaub
86b455e58f
Merge pull request #3680 from stojce/20158
...
CR for Job #20158 - Change default field of view from 90 to 45
2014-10-28 15:26:09 -07:00
Stojce
01b8fa12e2
Change default field of view from 90 to 45
2014-10-28 22:22:50 +01:00
Andrew Meadows
4c3cdf5b7a
move stuff out of shared and into physics library
2014-10-28 13:51:45 -07:00
ZappoMan
d1f263ecc5
group materials together when rendering models
2014-10-16 14:05:35 -07:00
ZappoMan
bf77adc4bc
add support for LOD occulsion for too small meshes in Model::render()
2014-10-16 00:30:24 -07:00
ZappoMan
952a604d77
added some more rendering stats
2014-10-15 16:49:09 -07:00
ZappoMan
770bc919bb
added some rendering stats to OctreeRenderer
2014-10-15 09:22:31 -07:00
Sam Gateau
738369e21f
Replacing glutSolidSphere by a cached Geometry
...
Instead of calling glutSolidSphere, just call Application::getInstance()->getGeometryCache()->renderSphere(...)
- replaced all the instances of "glutSolidSphere"
- Changed the atmosphere shaders so instead of drawing a sphere of the size of the atmosphere, we draw a unit sphere, the vertices get scaled at the right radius in th vertex shader using fOuterRadius
2014-10-03 16:55:58 -07:00
ZappoMan
c880f00a14
make sure to scale default octree shape collision to meters
2014-09-25 14:54:06 -07:00
ZappoMan
9cd76983a2
swith to using shape collider instead of spheres
2014-09-25 14:35:20 -07:00
ZappoMan
eda168a6d9
first cut at shape collisions
2014-09-24 19:51:37 -07:00
ZappoMan
f43ba4a68b
first cut at getting entities to collide
2014-09-24 15:28:04 -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
ZappoMan
2148baae21
add boxInFrustum
2014-09-11 16:40:32 -07:00
ZappoMan
31fc5bb4f7
silence some over active debug messages
2014-09-09 13:19:06 -07:00
Andrew Meadows
c9d5508f16
merge upstream/master into andrew/ragdoll
2014-09-08 10:21:32 -07:00
Andrew Meadows
62438bae6a
fixed signed/unsigned comparison and unused variable
2014-09-05 16:41:01 -07:00
Andrew Meadows
0ddc8eb448
fix signed/unsigned comparison
2014-09-05 16:40:14 -07:00
Andrew Meadows
6f22ff01d9
merge upstream/master into andrew/ragdoll
2014-09-05 16:04:01 -07:00
ZappoMan
f0d72b83fa
CR feedback
2014-09-05 15:39:29 -07:00
Andrew Meadows
b953d880a3
minor optimization on CubeList and VoxelPool
2014-09-05 14:41:18 -07:00
ZappoMan
a19ce6e859
clean up warning
2014-09-05 12:52:04 -07:00
ZappoMan
54a746a846
remove noise
2014-09-05 12:49:23 -07:00
ZappoMan
e1064d8da7
correctly implement data types who assume all child data must be included (e.g. voxels)
2014-09-05 12:41:14 -07:00
ZappoMan
a25790b350
more work on fixing voxels
2014-09-05 11:51:17 -07:00
ZappoMan
f234dbf9a1
converting voxel files to new versioned format with buffer breaks
2014-09-05 10:51:08 -07:00
ZappoMan
5c5658b6e7
Merge branch 'master' of https://github.com/highfidelity/hifi into fixingOctreeSave
2014-09-05 09:27:27 -07:00
ZappoMan
3c2b534842
dead code cleanup and comment cleanup
2014-09-05 01:50:43 -07:00
ZappoMan
5ec98b8dec
more guards to corrupt voxel files
2014-09-05 01:40:41 -07:00
ZappoMan
a189f077b8
fix huge-mega-voxels and voxel file corruption
2014-09-05 01:13:22 -07:00
Andrew Meadows
faf31f268e
use QHash, not QVector, for Octree content query
2014-09-04 15:20:07 -07:00
Andrew Meadows
e120697a9b
merge upstream/master into andrew/ragdoll
2014-09-03 15:49:32 -07:00
AndrewMeadows
bd55da4a83
Merge pull request #3335 from ZappoMan/virtualEntities
...
Model Server to Entity Server Refactoring
2014-09-03 15:48:58 -07:00
Andrew Meadows
54463ab668
add findContentInCube() and typedef CubeList
2014-09-03 13:17:47 -07:00