Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oriented bounding box & frustum culling optimizations #2782

Merged
merged 31 commits into from
Jun 25, 2015
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
dfebc12
Replace .intersect(Cartesian4) with .intersectPlane(Plane)
kainino0x Jun 9, 2015
2e81e95
Fix for ObjectOrientedBoundingBox.equals
kainino0x Jun 3, 2015
f2800c4
Add Matrix2/3/4.ZERO for zero matrices
kainino0x Jun 3, 2015
4d686ee
Add Matrix2/3.multiplyByScale and a Matrix4.multiplyByScale test
kainino0x Jun 8, 2015
33a16c2
Add EllipsoidTangentPlane.projectPoint(s)ToNearestOnPlane
kainino0x Jun 10, 2015
0195ffa
Implement/test new OrientedBoundingBox
kainino0x Jun 3, 2015
69a9ab7
Deprecate ObjectOrientedBoundingBox
kainino0x Jun 3, 2015
3e68548
Add EllipsoidTangentPlane.extentsToOrientedBoundingBox
kainino0x Jun 10, 2015
09a847b
[WIP] Frustum-OBB culling on terrain - TODO: testing, benchmarks
kainino0x Jun 10, 2015
3f1a58e
Fixups for pull request
kainino0x Jun 10, 2015
931aa62
Move terrain bounding volume debug draw from Scene.js to GlobeSurface…
kainino0x Jun 13, 2015
d46b526
Additional OrientedBoundingBox.fromEllipsoidRectangle test
kainino0x Jun 13, 2015
4408e9f
fromEllipsoidRectangle fixup
kainino0x Jun 15, 2015
bc1c9e6
Rename fromEllipsoidRectangle to fromRectangle and reorder arguments
kainino0x Jun 15, 2015
c1c6a66
OBB intersectPlane: lower-level computation for perf
kainino0x Jun 15, 2015
1c23c4b
OBB fromRectangle: more invalid rectangle tests
kainino0x Jun 15, 2015
fc0ab82
OBB fromRectangle: require ellipsoid of revolution, at least for now
kainino0x Jun 16, 2015
3604485
OBB fromRectangle: change tangent plane for equator-spanning case, ad…
kainino0x Jun 16, 2015
d908de2
OBB fromRectangle: More similar tests
kainino0x Jun 16, 2015
58d06b9
OBB fromRectangle: more tests and fix another typo
kainino0x Jun 16, 2015
6510aff
Sync with master
kainino0x Jun 16, 2015
3da7263
Sync with master
kainino0x Jun 17, 2015
e183089
Hopefully-better debug volume render code
kainino0x Jun 17, 2015
8148cc1
Compute OrientedBoundingBoxes for upsampled terrain
kainino0x Jun 17, 2015
2f520c6
Fix crash for debug drawing code
kainino0x Jun 18, 2015
fb64614
Add a comment about excluding skirts from OBBs
kainino0x Jun 18, 2015
0a712f6
Possible minor optimization for OBB.intersectPlane
kainino0x Jun 19, 2015
1cd0747
Tile debug volume display: add comment and rename functions to clarif…
kainino0x Jun 19, 2015
85fc36c
Add OBB performance note to CHANGES.md
kainino0x Jun 19, 2015
d6a7389
Use bounding boxes for heightmap terrain (including no terrain).
kainino0x Jun 19, 2015
37ae29a
Merge branch 'master' into oriented-bounding-box
kainino0x Jun 24, 2015
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix crash for debug drawing code
  • Loading branch information
kainino0x committed Jun 18, 2015
commit 2f520c6caf364aec45de9fb3d4d3d2a51deaa871
2 changes: 2 additions & 0 deletions Source/Scene/GlobeSurfaceTileProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,8 @@ define([
debugDestroyPrimitive = function() {
if (defined(primitive)) {
primitive.destroy();
primitive = undefined;
previousVolume = undefined;
}
};
})();
Expand Down