{"action":"created","issue":{"url":"https://api.github.com/repos/KhronosGroup/KTX-Specification/issues/11","repository_url":"https://api.github.com/repos/KhronosGroup/KTX-Specification","labels_url":"https://api.github.com/repos/KhronosGroup/KTX-Specification/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/KhronosGroup/KTX-Specification/issues/11/comments","events_url":"https://api.github.com/repos/KhronosGroup/KTX-Specification/issues/11/events","html_url":"https://github.com/KhronosGroup/KTX-Specification/issues/11","id":374672953,"node_id":"MDU6SXNzdWUzNzQ2NzI5NTM=","number":11,"title":"Tighten dimensions restrictions","user":{"login":"lexaknyazev","id":3479527,"node_id":"MDQ6VXNlcjM0Nzk1Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/3479527?v=4","gravatar_id":"","url":"https://api.github.com/users/lexaknyazev","html_url":"https://github.com/lexaknyazev","followers_url":"https://api.github.com/users/lexaknyazev/followers","following_url":"https://api.github.com/users/lexaknyazev/following{/other_user}","gists_url":"https://api.github.com/users/lexaknyazev/gists{/gist_id}","starred_url":"https://api.github.com/users/lexaknyazev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexaknyazev/subscriptions","organizations_url":"https://api.github.com/users/lexaknyazev/orgs","repos_url":"https://api.github.com/users/lexaknyazev/repos","events_url":"https://api.github.com/users/lexaknyazev/events{/privacy}","received_events_url":"https://api.github.com/users/lexaknyazev/received_events","type":"User","site_admin":false},"labels":[{"id":944956378,"node_id":"MDU6TGFiZWw5NDQ5NTYzNzg=","url":"https://api.github.com/repos/KhronosGroup/KTX-Specification/labels/help%20wanted","name":"help wanted","color":"008672","default":true},{"id":1111579000,"node_id":"MDU6TGFiZWwxMTExNTc5MDAw","url":"https://api.github.com/repos/KhronosGroup/KTX-Specification/labels/improvement","name":"improvement","color":"e8c753","default":false},{"id":944956386,"node_id":"MDU6TGFiZWw5NDQ5NTYzODY=","url":"https://api.github.com/repos/KhronosGroup/KTX-Specification/labels/question","name":"question","color":"d876e3","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-10-27T18:12:37Z","updated_at":"2018-11-09T08:40:51Z","closed_at":null,"author_association":"MEMBER","body":"Following existing restrictions on `pixelHeight` and `pixelDepth`, the spec should state that `pixelWidth` cannot be `0`.\r\n\r\nCommon dimensions combinations could be organized like this:\r\n\r\n| Type | `pixelWidth` | `pixelHeight` | `pixelDepth` | `numOfArrayElements` | `numOfFaces` |\r\n|------------|:------------:|:-------------:|:------------:|:-----------------------:|:---------------:|\r\n| 1D | > 0 | 0 | 0 | 0 | 1 |\r\n| 2D | > 0 | > 0 | 0 | 0 | 1 |\r\n| 3D | > 0 | > 0 | > 0 | 0 | 1 |\r\n| CUBE | > 0 | > 0 | 0 | 0 | 6 |\r\n| 1D_ARRAY | > 0 | 0 | 0 | > 0 | 1 |\r\n| 2D_ARRAY | > 0 | > 0 | 0 | > 0 | 1 |\r\n| CUBE_ARRAY | > 0 | > 0 | 0 | > 0 | 6 |\r\n\r\nAny combination that doesn't fit the table above should be declared invalid and the loader should refuse to continue reading a file.\r\n\r\nWe should decide whether to allow (given that there's no API support for these):\r\n- incomplete cubemaps (`numOfFaces > 1 && numOfFaces < 6`);\r\n- 3D arrays (`pixelDepth > 0 && numOfArrayElements > 0`);\r\n- cubemaps with 3D arrays (`pixelDepth > 0 && numOfArrayElements > 0 && numOfFaces == 6`)."},"comment":{"url":"https://api.github.com/repos/KhronosGroup/KTX-Specification/issues/comments/437289309","html_url":"https://github.com/KhronosGroup/KTX-Specification/issues/11#issuecomment-437289309","issue_url":"https://api.github.com/repos/KhronosGroup/KTX-Specification/issues/11","id":437289309,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNzI4OTMwOQ==","user":{"login":"lexaknyazev","id":3479527,"node_id":"MDQ6VXNlcjM0Nzk1Mjc=","avatar_url":"https://avatars2.githubusercontent.com/u/3479527?v=4","gravatar_id":"","url":"https://api.github.com/users/lexaknyazev","html_url":"https://github.com/lexaknyazev","followers_url":"https://api.github.com/users/lexaknyazev/followers","following_url":"https://api.github.com/users/lexaknyazev/following{/other_user}","gists_url":"https://api.github.com/users/lexaknyazev/gists{/gist_id}","starred_url":"https://api.github.com/users/lexaknyazev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lexaknyazev/subscriptions","organizations_url":"https://api.github.com/users/lexaknyazev/orgs","repos_url":"https://api.github.com/users/lexaknyazev/repos","events_url":"https://api.github.com/users/lexaknyazev/events{/privacy}","received_events_url":"https://api.github.com/users/lexaknyazev/received_events","type":"User","site_admin":false},"created_at":"2018-11-09T08:40:51Z","updated_at":"2018-11-09T08:40:51Z","author_association":"MEMBER","body":"@MarkCallow \r\nHere's my preference on questions from the OP.\r\n\r\n**3D arrays**\r\nYes. With supercompression applied, they will be a simple way of storing volumetric data scattered across time.\r\n\r\n**Incomplete cubemaps**\r\nYes. Although supercompression will optimize transmission size, explicitly omitted faces bear more semantic value than filled with one color. Moreover, engines might have their own opinion regarding how omitted faces should be filled.\r\n\r\n**Cubemaps with 3D textures or cubemaps with 3D arrays**\r\nNo. I'm not aware of any use case for such layouts. Anyway, the restriction could be lifted with a minor version update (like KTX 23) if needed."}}
{"actor":{"display_login":"lexaknyazev"}}