{"action":"created","issue":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/7406","repository_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium","labels_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/7406/labels{/name}","comments_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/7406/comments","events_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/7406/events","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/issues/7406","id":389909570,"node_id":"MDU6SXNzdWUzODk5MDk1NzA=","number":7406,"title":"splitLongitude totally wrong for texture coordiantes","user":{"login":"OmarShehata","id":1711126,"node_id":"MDQ6VXNlcjE3MTExMjY=","avatar_url":"https://avatars0.githubusercontent.com/u/1711126?v=4","gravatar_id":"","url":"https://api.github.com/users/OmarShehata","html_url":"https://github.com/OmarShehata","followers_url":"https://api.github.com/users/OmarShehata/followers","following_url":"https://api.github.com/users/OmarShehata/following{/other_user}","gists_url":"https://api.github.com/users/OmarShehata/gists{/gist_id}","starred_url":"https://api.github.com/users/OmarShehata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmarShehata/subscriptions","organizations_url":"https://api.github.com/users/OmarShehata/orgs","repos_url":"https://api.github.com/users/OmarShehata/repos","events_url":"https://api.github.com/users/OmarShehata/events{/privacy}","received_events_url":"https://api.github.com/users/OmarShehata/received_events","type":"User","site_admin":false},"labels":[{"id":504229171,"node_id":"MDU6TGFiZWw1MDQyMjkxNzE=","url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/labels/priority%20-%20high","name":"priority - high","color":"e99695","default":false},{"id":653779,"node_id":"MDU6TGFiZWw2NTM3Nzk=","url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/labels/type%20-%20bug","name":"type - bug","color":"d7e102","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2018-12-11T19:05:48Z","updated_at":"2018-12-13T14:58:24Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"The `interpolateAndPackCartesian2` function in `GeometryPipeline` is producing numbers that are waaaayyy outside the range of 0, 1.\r\n\r\n![texturecoords](https://user-images.githubusercontent.com/3451886/49945529-1df90a80-febb-11e8-842f-006bf10dd500.gif)\r\n\r\n```js\r\nvar viewer = new Cesium.Viewer('cesiumContainer');\r\n\r\nvar rotation = Cesium.Math.toRadians(30);\r\n\r\nfunction getRotationValue() {\r\n    rotation += 0.005;\r\n    return rotation;\r\n}\r\nviewer.entities.add({\r\n    name: 'Rotating rectangle with rotating texture coordinate',\r\n    rectangle: {\r\n        coordinates: Cesium.Rectangle.fromDegrees(-169.0, 30.0, -160.0, 40.0),\r\n        material: '../images/Cesium_Logo_Color.jpg',\r\n        rotation: new Cesium.CallbackProperty(getRotationValue, false),\r\n        stRotation: new Cesium.CallbackProperty(getRotationValue, false),\r\n        classificationType : Cesium.ClassificationType.TERRAIN\r\n    }\r\n});\r\n\r\nviewer.entities.add({\r\n    name: 'Rotating rectangle with rotating texture coordinate',\r\n    rectangle: {\r\n        coordinates: Cesium.Rectangle.fromDegrees(-179.0, 30.0, -170.0, 40.0),\r\n        material: '../images/Cesium_Logo_Color.jpg',\r\n        rotation: new Cesium.CallbackProperty(getRotationValue, false),\r\n        stRotation: new Cesium.CallbackProperty(getRotationValue, false),\r\n        classificationType : Cesium.ClassificationType.TERRAIN\r\n    }\r\n});\r\n\r\nviewer.zoomTo(viewer.entities);\r\n```"},"comment":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/comments/446997956","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/issues/7406#issuecomment-446997956","issue_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/7406","id":446997956,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0Njk5Nzk1Ng==","user":{"login":"hpinkos","id":3451886,"node_id":"MDQ6VXNlcjM0NTE4ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/3451886?v=4","gravatar_id":"","url":"https://api.github.com/users/hpinkos","html_url":"https://github.com/hpinkos","followers_url":"https://api.github.com/users/hpinkos/followers","following_url":"https://api.github.com/users/hpinkos/following{/other_user}","gists_url":"https://api.github.com/users/hpinkos/gists{/gist_id}","starred_url":"https://api.github.com/users/hpinkos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hpinkos/subscriptions","organizations_url":"https://api.github.com/users/hpinkos/orgs","repos_url":"https://api.github.com/users/hpinkos/repos","events_url":"https://api.github.com/users/hpinkos/events{/privacy}","received_events_url":"https://api.github.com/users/hpinkos/received_events","type":"User","site_admin":false},"created_at":"2018-12-13T14:58:24Z","updated_at":"2018-12-13T14:58:24Z","author_association":"CONTRIBUTOR","body":"Just kidding, the `GroundPrimitive` texture thing is unrelated to `splitLongitude`.  I'm going to open a separate issue.  We'll keep this one for fixing the NaN thing."}}
{"actor":{"display_login":"hpinkos"}}