{"action":"created","issue":{"url":"https://api.github.com/repos/ughman/CrashEdit/issues/95","labels_url":"https://api.github.com/repos/ughman/CrashEdit/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/ughman/CrashEdit/issues/95/comments","events_url":"https://api.github.com/repos/ughman/CrashEdit/issues/95/events","html_url":"https://github.com/ughman/CrashEdit/issues/95","id":120849322,"number":95,"title":"8-bit and 4-bit indexed texture viewing tabs","user":{"login":"ManDude","id":7569514,"avatar_url":"https://avatars.githubusercontent.com/u/7569514?v=3","gravatar_id":"","url":"https://api.github.com/users/ManDude","html_url":"https://github.com/ManDude","followers_url":"https://api.github.com/users/ManDude/followers","following_url":"https://api.github.com/users/ManDude/following{/other_user}","gists_url":"https://api.github.com/users/ManDude/gists{/gist_id}","starred_url":"https://api.github.com/users/ManDude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ManDude/subscriptions","organizations_url":"https://api.github.com/users/ManDude/orgs","repos_url":"https://api.github.com/users/ManDude/repos","events_url":"https://api.github.com/users/ManDude/events{/privacy}","received_events_url":"https://api.github.com/users/ManDude/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ughman/CrashEdit/labels/enhancement","name":"enhancement","color":"207de5"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/ughman/CrashEdit/milestones/2","html_url":"https://github.com/ughman/CrashEdit/milestones/Eventually","labels_url":"https://api.github.com/repos/ughman/CrashEdit/milestones/2/labels","id":1077317,"number":2,"title":"Eventually","description":"Features and changes for some undetermined point in the future.","creator":{"login":"ughman","id":1569076,"avatar_url":"https://avatars.githubusercontent.com/u/1569076?v=3","gravatar_id":"","url":"https://api.github.com/users/ughman","html_url":"https://github.com/ughman","followers_url":"https://api.github.com/users/ughman/followers","following_url":"https://api.github.com/users/ughman/following{/other_user}","gists_url":"https://api.github.com/users/ughman/gists{/gist_id}","starred_url":"https://api.github.com/users/ughman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ughman/subscriptions","organizations_url":"https://api.github.com/users/ughman/orgs","repos_url":"https://api.github.com/users/ughman/repos","events_url":"https://api.github.com/users/ughman/events{/privacy}","received_events_url":"https://api.github.com/users/ughman/received_events","type":"User","site_admin":false},"open_issues":45,"closed_issues":1,"state":"open","created_at":"2015-04-21T15:13:49Z","updated_at":"2015-12-31T01:32:37Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-12-07T19:32:51Z","updated_at":"2016-02-01T02:31:23Z","closed_at":null,"body":"Kind of like PVV does:\r\n- Left-clicking anywhere with the \"Palette Select\" tool will select a row of 16 pixels in 4-bit mode, and 256 in 8-bit.\r\n- Left-clicking anywhere with the \"Texture Select\" tool will select a box. Size of the box can be changed by right-clicking (in short, left-clicking anchors the box and right-click or holding the right mouse button lets you change its size).\r\n- A panel below the 16-bit texture chunk image (this panel is present in the 8-bit and 4-bit tabs, yes, and is where you do the palette and texture selection) shows the output image after the correct colors have been applied.\r\n- \"Save as [whatever]\" option that saves the output image as whatever.\r\n- Zoom button(s)."},"comment":{"url":"https://api.github.com/repos/ughman/CrashEdit/issues/comments/177718098","html_url":"https://github.com/ughman/CrashEdit/issues/95#issuecomment-177718098","issue_url":"https://api.github.com/repos/ughman/CrashEdit/issues/95","id":177718098,"user":{"login":"ughman","id":1569076,"avatar_url":"https://avatars.githubusercontent.com/u/1569076?v=3","gravatar_id":"","url":"https://api.github.com/users/ughman","html_url":"https://github.com/ughman","followers_url":"https://api.github.com/users/ughman/followers","following_url":"https://api.github.com/users/ughman/following{/other_user}","gists_url":"https://api.github.com/users/ughman/gists{/gist_id}","starred_url":"https://api.github.com/users/ughman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ughman/subscriptions","organizations_url":"https://api.github.com/users/ughman/orgs","repos_url":"https://api.github.com/users/ughman/repos","events_url":"https://api.github.com/users/ughman/events{/privacy}","received_events_url":"https://api.github.com/users/ughman/received_events","type":"User","site_admin":false},"created_at":"2016-02-01T02:31:23Z","updated_at":"2016-02-01T02:31:23Z","body":"According to this page http://problemkaputt.de/psx-spx.htm#gpurenderingattributes the CLUT attribute for the GPU textured poly commands has the low 6 bits as the X coordinate, and the next 9 bits as the Y coordinate (plus one bit unused). The key is the X coordinate is in 16-texel (32-byte) units, so cluts are always 16-texel aligned.\r\n\r\nNot sure if that's what you're talking about, though. Just trying to help."}}