We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The texture coordinate is wrong for one of the outer vertices when a rotation and a stRotation are used.
rotation
stRotation
var viewer = new Cesium.Viewer('cesiumContainer'); var scene = viewer.scene; scene.primitives.add(new Cesium.Primitive({ geometryInstances : [new Cesium.GeometryInstance({ geometry : new Cesium.EllipseGeometry({ center : Cesium.Cartesian3.fromDegrees(1.52278, 45.00838), semiMajorAxis: 5000, semiMinorAxis: 5000, rotation : Cesium.Math.toRadians(-168), stRotation : Cesium.Math.toRadians(168), granularity: Cesium.Math.toRadians(10), vertexFormat : Cesium.EllipsoidSurfaceAppearance.VERTEX_FORMAT }), attributes: { color: Cesium.ColorGeometryInstanceAttribute.fromColor(Cesium.Color.RED) } })], appearance : new Cesium.DebugAppearance({ attributeName: 'st' }) })); scene.camera.setView({ destination: Cesium.Rectangle.fromDegrees(1.4, 44.9, 1.6, 45.1) });
The text was updated successfully, but these errors were encountered:
Could this be the same root cause (or at least same logic bug) that causes #3172?
Sorry, something went wrong.
Not exactly. It's probably more related to #2737, but I think the solution for the rectangle rotation will be way different.
I couldn't reproduce this in 1.26.
Yep, this appears to be fixed.
This is what it looked like in 1.20 And this is what it looks like now:
No branches or pull requests
The texture coordinate is wrong for one of the outer vertices when a
rotation
and astRotation
are used.The text was updated successfully, but these errors were encountered: