ZappoMan
054f49808f
Merge branch 'master' of https://github.com/worklist/hifi into bugfixes
...
Conflicts:
libraries/voxel-server-library/src/VoxelSendThread.cpp
2013-10-30 16:48:50 -07:00
ZappoMan
14ddb89341
improve behavior of too more than _maxVoxels
2013-10-30 14:28:32 -07:00
ZappoMan
3f9631dd53
fix voxels as points menu to work correctly on startup
2013-10-30 14:14:34 -07:00
ZappoMan
e8f5c86c73
fix one call to calculateShouldRender()
2013-10-30 12:19:47 -07:00
ZappoMan
dd7eb66cec
adjustable LOD tweaks
2013-10-30 11:53:16 -07:00
ZappoMan
580102bb38
more work on LOD slider
2013-10-30 11:01:37 -07:00
ZappoMan
fbc3a4d2c1
first cut at user adjustable LOD
2013-10-29 16:16:58 -07:00
ZappoMan
b4c88a85f8
improvements to subtle moves for view frustum and voxel serving
2013-10-23 17:49:58 -07:00
ZappoMan
b05d6e25e3
remove two debug outs
2013-10-23 10:23:07 -07:00
ZappoMan
5d18b68a2e
added support for forceFullFrustum in hideOutOfView() this fixes inconcistancies with voxel hiding showing
2013-10-23 10:14:41 -07:00
ZappoMan
306b23d489
make Fast Voxel Pipeline the default behavior
2013-10-23 05:58:47 -07:00
ZappoMan
1430a083d1
make DontRemoveOutOfView the default behavior
2013-10-23 05:44:20 -07:00
ZappoMan
3c8e30c956
make HideOutOfView the default behavior
2013-10-23 05:38:33 -07:00
ZappoMan
1786049710
make use delta frustum in culling the default behavior
2013-10-23 05:30:15 -07:00
ZappoMan
370fe3dad9
make constant culling the default mode
2013-10-23 05:22:29 -07:00
ZappoMan
96cd8c5d97
fixed issue with delta frustums on hide out of view
2013-10-22 09:25:01 -07:00
ZappoMan
f618b3a88d
removed some old comments
2013-10-21 16:19:03 -07:00
ZappoMan
f5efe2dd7f
removed some old comments
2013-10-21 16:14:34 -07:00
ZappoMan
22a1d0a699
small tweak
2013-10-21 16:07:34 -07:00
ZappoMan
2979a8e738
better working version of hideOutOfView voxel support
2013-10-21 15:30:14 -07:00
ZappoMan
ca7225e525
fix reset of VoxelSystem on eraseAllVoxels()
2013-10-17 18:45:52 -07:00
ZappoMan
a6664e442c
fixed comment
2013-10-17 16:21:22 -07:00
ZappoMan
9b0cc14552
fix voxel nodes to work with new UUID format
2013-10-17 16:14:06 -07:00
Stephen Birarda
fa146e302d
remove 16-bit node IDs and replace with UUIDs
2013-10-17 11:49:41 -07:00
ZappoMan
4be07ececb
fixed a couple crashes and cleaned up some code
2013-10-11 01:30:09 -07:00
ZappoMan
3ad2a6edaa
remove dead code
2013-10-10 15:28:55 -07:00
ZappoMan
f3aa82624f
progress on keep local voxels
2013-10-10 15:28:06 -07:00
ZappoMan
0a6ddf108f
progress on keep local voxels
2013-10-10 15:25:33 -07:00
ZappoMan
c86bad77c9
progress on keep local voxels
2013-10-10 15:23:22 -07:00
ZappoMan
c25b03dd58
first cut at keeping local voxels
2013-10-09 14:02:31 -07:00
ZappoMan
89a4ea6470
two possible crash fixes
2013-10-08 09:56:47 -07:00
ZappoMan
aa80ec3497
cleanup code for PR
2013-10-07 19:46:52 -07:00
ZappoMan
54364a235d
tighten up mutex locks to keep at 60 fps
2013-10-07 19:43:45 -07:00
ZappoMan
f6981feacf
added various render mode options, including voxels as points
2013-10-07 17:46:22 -07:00
ZappoMan
5f6fb3a3ae
added some timing debugging
2013-10-05 00:55:34 -07:00
ZappoMan
3001917e10
added debugging
2013-10-04 22:49:05 -07:00
ZappoMan
6fce838e2e
remove comment
2013-10-04 21:38:47 -07:00
ZappoMan
0c70a05732
make view frustum oversend and don't remove oversend in client
2013-10-04 21:36:21 -07:00
ZappoMan
608c24e258
fix build buster
2013-10-03 15:58:15 -07:00
ZappoMan
1c664b311d
fixed behavior of voxel delete and some cases of voxel add in fast pipeline mode
2013-10-03 14:15:13 -07:00
ZappoMan
1aa7855166
cleanup
2013-10-01 12:43:30 -07:00
ZappoMan
8ceee2ec1e
more cleanup of faster voxel pipeline
2013-10-01 11:51:25 -07:00
ZappoMan
793a14e25a
first cut at new faster voxel pipeline
2013-10-01 10:37:14 -07:00
ZappoMan
0f74d4bda9
change nodeDeleted() to voxelDeleted() to improve readability
2013-09-30 15:50:31 -07:00
ZappoMan
865bb7555f
fix hang on preference dialog box
2013-09-30 15:27:02 -07:00
ZappoMan
b6fe8befdc
removed old normal support from voxel system only using global normals
2013-09-30 09:29:04 -07:00
ZappoMan
8cffa8d872
add support for global normals for voxels
2013-09-27 15:04:44 -07:00
ZappoMan
605c2f30cf
add memory usage debugging
2013-09-27 10:17:10 -07:00
ZappoMan
eb6af1afbf
fix byte normals, fix crashes in switching between voxel shader and normal mode
2013-09-27 09:02:51 -07:00
ZappoMan
2487a55be9
add support for use of Byte normals
2013-09-26 19:04:19 -07:00
ZappoMan
5695429a78
style fixes
2013-09-26 16:36:59 -07:00
ZappoMan
7845340279
menu cleanup, support for on the fly switching of maxVoxels and useVoxelShader
2013-09-26 16:26:49 -07:00
ZappoMan
552d9fadd8
rearranged menus, some hacking on voxel shader
2013-09-26 14:51:57 -07:00
atlante45
4e3484021e
PerlinFace implementation
2013-09-10 15:31:58 -07:00
atlante45
b8c18bee2d
merge
2013-09-04 15:31:12 -07:00
atlante45
5da525fc3e
memory wastes and code cleaning PR comments
2013-09-04 15:12:24 -07:00
atlante45
06119990e8
Fixed ui related files memory wastes
2013-09-03 14:47:50 -07:00
atlante45
688bc17954
Fixed avatar related files memory wastes
2013-09-03 13:37:25 -07:00
atlante45
1dc8d8dd0c
Added LOD to preview + Shared voxelSystem for reduced memory consumption
2013-08-29 17:59:36 -07:00
atlante45
99321b3e09
Fixed VBOs not being deleted in VoxelSystem destructor
2013-08-22 15:43:58 -07:00
atlante45
bda6e03117
Changed name of copySubTreeIntoNewTree destinationTree argument
2013-08-21 12:11:34 -07:00
atlante45
27b0338294
Fixed clipboard not being previewed
2013-08-21 10:31:56 -07:00
atlante45
3eb5ace715
merge + few efficiency ameliorations to importDialog
2013-08-20 18:04:25 -07:00
atlante45
22a2603eaa
Several VoxelSystems can have different view frustum
2013-08-20 15:28:08 -07:00
atlante45
24531fdd10
Dialogbox for import fully functionnal
2013-08-19 15:54:51 -07:00
atlante45
6b58e1bfec
merge
2013-08-16 20:24:18 -07:00
atlante45
68a1c56ad6
More work on import interface
2013-08-15 17:21:23 -07:00
Stephen Birarda
e77aae157b
fix in view and occluded false colorization
2013-08-15 15:15:19 -07:00
Stephen Birarda
c7be2e13cd
repair false coloring by distance
2013-08-15 15:12:05 -07:00
Stephen Birarda
f72f9d8735
fix hook to render pipeline warnings and kill local voxels
2013-08-15 14:57:40 -07:00
Andrzej Kapolka
a3cee5d052
More efficiency for glow effect.
2013-08-09 16:16:02 -07:00
ZappoMan
2c96296936
fixed LOD disappear on backing up
2013-08-08 16:08:06 -07:00
ZappoMan
6d4ebda1ff
fix delete local voxels in case of last voxel server going away
2013-08-08 14:30:46 -07:00
ZappoMan
48e35ec6cb
fix delete local voxels in case of last voxel server going away
2013-08-08 14:29:58 -07:00
Andrzej Kapolka
63aeb4df75
Merge branch 'master' of https://github.com/worklist/hifi
...
Conflicts:
interface/src/Application.cpp
2013-08-06 16:28:14 -07:00
Andrzej Kapolka
720ae561df
Working on support for a textured face mode that doesn't rely on the video
...
stream.
2013-08-06 13:27:54 -07:00
ZappoMan
73510ec975
added notifications with jurisdiction details for when voxel servers come and go
2013-08-06 10:33:09 -07:00
ZappoMan
7a3d254aca
small tweak
2013-08-05 15:02:24 -07:00
ZappoMan
14b7f58fef
Kills local voxels if voxel server is removed from NodeList
...
- added notification hooks to NodeList
- implemented hooks in VoxelSystem to kill local voxels when
voxel server is killed
2013-08-05 13:47:18 -07:00
ZappoMan
92f6fe6bd8
CR feedback
2013-08-05 11:14:30 -07:00
ZappoMan
bdabe709af
added more color groups for false colorization from source
2013-08-05 11:11:10 -07:00
ZappoMan
edfd5cd543
fixed disappearing voxel bug
2013-08-05 09:45:00 -07:00
ZappoMan
93a8e1782d
cleanup
2013-07-30 12:13:45 -07:00
ZappoMan
c7e3fe5ef6
Added false colorization by voxel server source
...
- switched readBitstreamToTree() to take params struct for future expansion
- switched readNodeData() to take params for future expansion
- added sourceID to VoxelNode
- fixed false colorize routines to correctly redraw by marking tree as dirty
2013-07-30 11:08:48 -07:00
ZappoMan
1a73485e36
Improved VoxelNode delete callback based on CR feedback
...
- changed hooks to use a virtual base class approach
- switched account of hooks to use a vector instead of home grown solution
- added support for VoxelNode to know what VoxelSystem it belongs to
2013-07-29 15:30:30 -07:00
ZappoMan
03a75ab295
fixed spacing
2013-07-29 13:08:05 -07:00
ZappoMan
97aaa738c3
fixed typo
2013-07-29 13:07:12 -07:00
ZappoMan
d6428a8145
removed unneeded cast
2013-07-29 13:03:42 -07:00
ZappoMan
4cca7e2572
Fixed issue with freeing up abandoned VBO slots when not moving with animation
2013-07-26 11:44:19 -07:00
ZappoMan
0c95dc4adf
Fixed voxel trails from animations
...
- removed stageForDeletion behavior of VoxelNode
- replaced with VoxelNodeDeletionHook strategy
- VoxelSystem now cleans up previously used VBO index slots via hook
2013-07-26 11:12:48 -07:00
Stephen Birarda
1b48d4f0fc
revert removal of extraneous newlines
2013-07-16 12:46:32 -07:00
Stephen Birarda
89d3cfdb6f
remove now extraneous newlines after switch to QDebug
2013-07-16 11:16:51 -07:00
Stephen Birarda
afe49bc756
switch calls to printLog to QDebug
2013-07-16 11:07:22 -07:00
ZappoMan
f415f4081a
Fixed a bug in LOD boundaries
...
- changed the way we calculate whether or not to render a parent "average" voxel so
that if any of it's most distant child would not be visible, then it's used instead
of it's children
- added precalculated value for topFarLeft corner of AABox (optimization)
- changed VoxelSystem::newTreeToArrays() and VoxelTree::encodeTreeBitstreamRecursion()
to use the same help function for determining this LOD boundary behavior
- deleted old dead code in voxel-server and VoxelTree for picking which node to start
sending with, since it wasn't being used
- added VoxelNode::furthestDistanceToCamera() which tells you not the distance to the
center of the voxel, but the distance from the camera to the furthest corner relative
to the camera.
- added ViewFrustum::getFurthestPointFromCamera() which given an axis-aligned box will
tell you which vertex of the box is furthest from the camera
2013-07-15 01:32:14 -07:00
ZappoMan
c26e39764a
Merge branch 'master' of https://github.com/worklist/hifi into occlusion_culling
2013-07-11 13:50:33 -07:00
Stephen Birarda
38a33e0283
couple more type squishes
2013-07-11 11:11:39 -07:00
Stephen Birarda
fcb8865d2e
resolve conflicts on merge with upstream master
2013-07-11 10:58:45 -07:00
ZappoMan
04cd340f0b
add back in correct isViewChanging()
2013-07-11 10:50:17 -07:00
Stephen Birarda
beb89e3d2b
change some timing types from int to uint64_t to avoid costly assumptions
2013-07-11 10:09:00 -07:00
Stephen Birarda
4ed231670f
put back the missing voxels
2013-07-11 10:04:27 -07:00