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

Incorrect PolylineGeometry width #1248

Closed
pjcozzi opened this issue Oct 18, 2013 · 2 comments · Fixed by #2269
Closed

Incorrect PolylineGeometry width #1248

pjcozzi opened this issue Oct 18, 2013 · 2 comments · Fixed by #2269

Comments

@pjcozzi
Copy link
Contributor

pjcozzi commented Oct 18, 2013

I have a PolylineGeometry with three line segments (not a line strip). The first one is red; the second is green, and the third is blue. Only the blue one honors the line width. The others honor the width at their first point and then shrink at their last point.

image

It's easy to reproduce this in the pointgeometry branch with code like:

var origin = Cartographic.fromDegrees(4.0336146, 49.2532155);
var positionOnEllipsoid = ellipsoid.cartographicToCartesian(origin);
var modelMatrix = Transforms.eastNorthUpToFixedFrame(positionOnEllipsoid);

primitives.add(new DebugModelMatrixPrimitive({
  modelMatrix : modelMatrix,
  length : 100000.0,
  width : 10.0
}));
@mramato
Copy link
Contributor

mramato commented Nov 3, 2014

This also happens in the Set camera reference frame example and has for some time.

@mramato
Copy link
Contributor

mramato commented Nov 7, 2014

This still happens and was not related to #2136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants