{"action":"created","issue":{"url":"https://api.github.com/repos/StupidChris/RealChute/issues/36","labels_url":"https://api.github.com/repos/StupidChris/RealChute/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/StupidChris/RealChute/issues/36/comments","events_url":"https://api.github.com/repos/StupidChris/RealChute/issues/36/events","html_url":"https://github.com/StupidChris/RealChute/issues/36","id":71513332,"number":36,"title":"Migration to DDS textures","user":{"login":"sumghai","id":4993380,"avatar_url":"https://avatars.githubusercontent.com/u/4993380?v=3","gravatar_id":"","url":"https://api.github.com/users/sumghai","html_url":"https://github.com/sumghai","followers_url":"https://api.github.com/users/sumghai/followers","following_url":"https://api.github.com/users/sumghai/following{/other_user}","gists_url":"https://api.github.com/users/sumghai/gists{/gist_id}","starred_url":"https://api.github.com/users/sumghai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumghai/subscriptions","organizations_url":"https://api.github.com/users/sumghai/orgs","repos_url":"https://api.github.com/users/sumghai/repos","events_url":"https://api.github.com/users/sumghai/events{/privacy}","received_events_url":"https://api.github.com/users/sumghai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/StupidChris/RealChute/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"sumghai","id":4993380,"avatar_url":"https://avatars.githubusercontent.com/u/4993380?v=3","gravatar_id":"","url":"https://api.github.com/users/sumghai","html_url":"https://github.com/sumghai","followers_url":"https://api.github.com/users/sumghai/followers","following_url":"https://api.github.com/users/sumghai/following{/other_user}","gists_url":"https://api.github.com/users/sumghai/gists{/gist_id}","starred_url":"https://api.github.com/users/sumghai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumghai/subscriptions","organizations_url":"https://api.github.com/users/sumghai/orgs","repos_url":"https://api.github.com/users/sumghai/repos","events_url":"https://api.github.com/users/sumghai/events{/privacy}","received_events_url":"https://api.github.com/users/sumghai/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2015-04-28T07:41:02Z","updated_at":"2015-05-01T07:40:43Z","closed_at":null,"body":"The upcoming 1.0 version of KSP will natively support DirectDraw Surface (DDS) textures, which can be directly loaded from disk and pushed to graphic cards, resulting in significant load time savings (compared with MBMs, PNGs and TGAs, which need to be decompressed and then recompressed to the correct format).\r\n\r\nAs such, it would be wise to transition to this texture format in the next release of this plugin.\r\n\r\n**Notes**\r\n - According to KSP developer Mu:\r\n    - RGB Diffuse textures need to be DXT1, RGBA Diffuse with Alpha textures need to be DXT5 and normal maps need to be DXTnm\r\n    - When converting, the -flip command may be required, as DDS uses a different coordinate system to PNG/TGA (not sure if KSP 1.0 already automatically flips DDS textures to compensate, though)"},"comment":{"url":"https://api.github.com/repos/StupidChris/RealChute/issues/comments/98066841","html_url":"https://github.com/StupidChris/RealChute/issues/36#issuecomment-98066841","issue_url":"https://api.github.com/repos/StupidChris/RealChute/issues/36","id":98066841,"user":{"login":"sumghai","id":4993380,"avatar_url":"https://avatars.githubusercontent.com/u/4993380?v=3","gravatar_id":"","url":"https://api.github.com/users/sumghai","html_url":"https://github.com/sumghai","followers_url":"https://api.github.com/users/sumghai/followers","following_url":"https://api.github.com/users/sumghai/following{/other_user}","gists_url":"https://api.github.com/users/sumghai/gists{/gist_id}","starred_url":"https://api.github.com/users/sumghai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumghai/subscriptions","organizations_url":"https://api.github.com/users/sumghai/orgs","repos_url":"https://api.github.com/users/sumghai/repos","events_url":"https://api.github.com/users/sumghai/events{/privacy}","received_events_url":"https://api.github.com/users/sumghai/received_events","type":"User","site_admin":false},"created_at":"2015-05-01T07:40:43Z","updated_at":"2015-05-01T07:40:43Z","body":"Okay, I've ran into some problems:\r\n\r\n - KSP2DDS considered the part filter (32x32px) and toolbar (38x38px) icons too small to compress, and so refused to perform the conversion. I did try to force it to process the icons individually, but it resized the toolbar icon from 38x38px to 40x40px.\r\n\r\n- RealChute only uses .truecolor files for the manufacturer part filter icons. Looking at SQUAD's own manufacturer icons, only the flag-sized ones got converted to DDS - their truecolor counterparts weren't converted.\r\n\r\nThis suggests that icons / flags are unworthy of DDS compression.\r\n\r\nAwaiting your advice on the matter :)"}}