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

Polygonidl #720

Merged
merged 49 commits into from
May 7, 2013
Merged

Polygonidl #720

merged 49 commits into from
May 7, 2013

Conversation

hpinkos
Copy link
Contributor

@hpinkos hpinkos commented Apr 30, 2013

Subdivides triangles that intersect with the international date line into three triangles that don't intersect. Moves points on the IDL away by 1e-11.

pjcozzi and others added 30 commits July 14, 2012 08:50
Conflicts:
	CHANGES.md
	Source/Core/IntersectionTests.js
	Source/Core/PolylinePipeline.js
	Specs/Core/IntersectionTestsSpec.js
Conflicts:
	Source/Core/EllipsoidTangentPlane.js
	Source/Core/Plane.js
	Specs/Core/PlaneSpec.js
// Append two new points, the intersection points of the
// triangle edges and the plane.

// TODO: raise to surface in plane
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove this comment. Since we subdivide and raise to the surface afterward, we don't have to do anything here.

relocated function to offset triangles from the IDL to be a private function in PolygonPipeline.js
added tests for wrapLongitude
updated CHANGES.md
@hpinkos
Copy link
Contributor Author

hpinkos commented May 1, 2013

@pjcozzi I think I've fixed everything you mentioned above, except for optimizing the split triangle function (i'm still thinking on that) and adding an example to wrapLongitude documentation. I got stuck trying to come up with example parameters for that function.

@shunter
Copy link
Contributor

shunter commented May 1, 2013

It looks like you need to merge master down into this branch and merge some conflicts.

@@ -45,7 +45,9 @@ Beta Releases
* Improved rendering performance by minimizing WebGL state calls.
* Fixed an error in Web Worker creation when loading Cesium.js from a different origin.
* Fixed `EllipsoidPrimitive` picking and picking objects with materials that have transparent parts.
* Fixed imagery smearing artifacts on mobile devices and other devices without high-precision fragment shaders.
* Fixed imagery smearing artifacts on mobile devices and other devices without high-precision fragment shaders.* Added `IntersectionTests.trianglePlaneIntersection`.
* Added `IntersectionTests.trianglePlaneIntersection`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry, we should move these to a new section for b17 since b16 is already done.

@hpinkos
Copy link
Contributor Author

hpinkos commented May 7, 2013

@pjcozzi @bagnell I think I corrected everything you commented on. Anything else?

@bagnell
Copy link
Contributor

bagnell commented May 7, 2013

Code looks good. Tests pass. Coverage is good. Merging.

bagnell added a commit that referenced this pull request May 7, 2013
@bagnell bagnell merged commit 7a657c4 into CesiumGS:master May 7, 2013
@hpinkos hpinkos deleted the polygonidl branch May 8, 2013 12:25
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.

4 participants