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

Spec updates for new bounding volumes #51

Merged
merged 8 commits into from
Dec 18, 2015
Merged

Spec updates for new bounding volumes #51

merged 8 commits into from
Dec 18, 2015

Conversation

pjcozzi
Copy link
Contributor

@pjcozzi pjcozzi commented Dec 16, 2015

Fixes #48 and #10

We'll consider AABB and k-DOPs (both originally discussed in #10) if/when needed.

Cesium implementation: CesiumGS/cesium#3325

@e-andersson and @lilleyse please review.

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Dec 18, 2015

This is ready. Any feedback?

"properties" : {
"box" : {
"type" : "array",
"description" : "An array of 12 numbers that define a oriented bounding box in WGS84 coordinates. The first three elements define the x, y, and z values for the center of the box. The next three elements (with indices 3, 4, and 5) define the x axis direction and length. The next three elements (indices 6, 7, and 8) define the y axis direction and length. The last three elements (indices 9, 10, and 11) define the z axis direction and length.",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not quite sure I understand this. The first three numbers is the center vector, and the following groups of three numbers are vectors that specify lengths and directions of the box's sides, is that right? Does axis here refer to the box's own 'axes'?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes and yes. This is a standard OBB representation.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok.

@e-andersson
Copy link

Everything else looks clear.

@lilleyse
Copy link
Contributor

I made some small edits. Looks good to me.

lilleyse added a commit that referenced this pull request Dec 18, 2015
@lilleyse lilleyse merged commit 7988459 into master Dec 18, 2015
@lilleyse lilleyse deleted the bounding-volumes branch December 18, 2015 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants