ZappoMan
9faef65ccc
first cut at splitting out octree base classes
2013-12-03 17:32:02 -08:00
ZappoMan
b4c88a85f8
improvements to subtle moves for view frustum and voxel serving
2013-10-23 17:49:58 -07:00
ZappoMan
9ba39c3a84
removed center from AABox to further save memory
2013-10-15 12:05:54 -07:00
ZappoMan
c9b0edf345
first cut at reducing memory footprint of AABox
2013-10-15 11:29:04 -07:00
Andrzej Kapolka
aa353a57ad
Fix for mouse ray with off axis projection.
2013-10-09 13:38:06 -07:00
Andrzej Kapolka
dfd5f7d53e
Fix for screwy view when you lean too far forward.
2013-10-09 10:40:20 -07:00
ZappoMan
b6fe8befdc
removed old normal support from voxel system only using global normals
2013-09-30 09:29:04 -07:00
Andrzej Kapolka
26411a42b1
More focal length bits.
2013-09-06 15:07:15 -07:00
atlante45
1dc8d8dd0c
Added LOD to preview + Shared voxelSystem for reduced memory consumption
2013-08-29 17:59:36 -07:00
Stephen Birarda
d3b2ba1070
fix QtCore includes in voxels library
2013-08-05 17:40:01 -07:00
Mark Peng
a14768bb29
Remove more unnecessary additions.
2013-07-19 01:00:55 -07:00
Mark Peng
7ee0d8da2e
Render circle in 3D space for lookatIndicator. Still not normal to the screen.
2013-07-18 14:34:51 -07:00
Mark Peng
125bcc46f4
Circle drawn with camera orientation as its normal for lookatIndicator.
2013-07-17 17:27:15 -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
133bbd81fe
small spacing change
2013-07-15 01:42:21 -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
6694ef3869
fixed some compiler warnings
2013-07-10 16:33:27 -07:00
ZappoMan
845b8924a5
removed some dead code
2013-07-10 11:21:38 -07:00
ZappoMan
44357fcfb9
add 'level' param to tree recursion
2013-07-09 13:17:21 -07:00
ZappoMan
a05650e74a
removed debug code
2013-07-03 10:56:08 -07:00
ZappoMan
c7ff073686
more progress on merging
2013-07-02 15:50:40 -07:00
ZappoMan
015ff85cea
good progress on merging polygons
2013-07-01 21:39:56 -07:00
ZappoMan
73ad854235
latest version of quadtree coverage map
2013-06-28 22:05:32 -07:00
ZappoMan
4590bdc69d
added support for clipping polygons to screen bounds, not yet enabled since it doesn't help performance, will use in future
2013-06-21 16:42:55 -07:00
ZappoMan
1284f9d09a
naming cleanup and some optimizations
2013-06-19 13:45:13 -07:00
ZappoMan
6755dfd8e4
Occlusion culling optimizations, added minimum polygon area, and only calculate projection matrix once
2013-06-19 11:46:22 -07:00
ZappoMan
8b18ee6844
renamed VoxelProjectedShadow class
2013-06-18 12:01:01 -07:00
ZappoMan
abb08e2482
handle out of view points
2013-06-13 13:30:04 -07:00
ZappoMan
91aea82418
latest work on occlusion culling
2013-06-12 12:37:21 -07:00
ZappoMan
56753fc21d
added getProjectedShadow() and projectPoint() to ViewFrustum to implement support for projecting Axis Aligned Boxes to 2D
2013-06-11 12:33:18 -07:00
ZappoMan
46c66c39e5
implement keyhole frustum
2013-06-07 17:23:23 -07:00
ZappoMan
4f2af717f2
Fixed merge issue with new orientation vectors, migrated to common identity names
2013-06-04 17:27:40 -07:00
ZappoMan
5d1ba857c5
Optimize View Frustum wire format.
...
- Changed View frstum orientaton to be a quaternion
- Implemented packing formats for Orientation Quats, Ratios, and Clipping values
- Changed wire format for View Frustum details to be more efficient 28 bytes vs 64 bytes
2013-05-27 14:17:34 -07:00
ZappoMan
48ca562b10
tweak ViewFrustum::matches() to use EPSILON compare
2013-05-25 15:28:56 -07:00
Andrzej Kapolka
95f1a9adaa
Removed unused nearCenter/farCenter from ViewFrustum.
2013-05-23 16:34:11 -07:00
Philip Rosedale
8b65fcae75
Merge pull request #352 from tschw/master
...
refactors logging, adds comments, and revises names & formatting in all submitted code
2013-05-21 22:10:10 -07:00
ZappoMan
7c9be4b9f5
cleanup code
2013-05-21 11:42:13 -07:00
tosh
a86b8a1d93
refactors logging
2013-05-21 01:00:10 +02:00
Andrzej Kapolka
0c03f66948
Fixed the frustum computation, fixed a bug in Plane.
2013-05-19 22:32:55 -07:00
Andrzej Kapolka
dd3e8d524a
Support for eye offset position/orientation in camera/frustum.
2013-05-19 18:37:21 -07:00
Andrzej Kapolka
3ed99f40a6
Working on support for off-axis projection.
2013-05-17 10:17:21 -07:00
ZappoMan
f63407aea5
added printDebugDetails()
2013-05-14 08:57:49 -07:00
ZappoMan
66e416d4dd
added VoxelNode::inFrustum() which returns OUTSIDE, INTERSECT, INSIDE to allow more optimal frustum analysis
2013-05-08 14:23:36 -07:00
ZappoMan
c975699cea
added debug to ViewFrustum::matches()
2013-05-06 15:48:05 -07:00
ZappoMan
043a284d4d
Merge branch 'master' of https://github.com/worklist/hifi into render_voxels_optimization
2013-05-06 13:36:31 -07:00
ZappoMan
17e26b2d42
add matches()
2013-05-06 10:59:09 -07:00
Andrzej Kapolka
aff465b17b
Missed a spot with the conversion from pointers to references.
2013-05-04 07:59:45 -07:00
Andrzej Kapolka
ff4e21e504
Remaining pick bits.
2013-05-03 20:12:46 -07:00