{"action":"created","issue":{"url":"https://api.github.com/repos/processing/processing/issues/3156","repository_url":"https://api.github.com/repos/processing/processing","labels_url":"https://api.github.com/repos/processing/processing/issues/3156/labels{/name}","comments_url":"https://api.github.com/repos/processing/processing/issues/3156/comments","events_url":"https://api.github.com/repos/processing/processing/issues/3156/events","html_url":"https://github.com/processing/processing/issues/3156","id":62288540,"number":3156,"title":"Shape (OBJ) import texture data is 0.0","user":{"login":"aml25","id":2966348,"avatar_url":"https://avatars.githubusercontent.com/u/2966348?v=3","gravatar_id":"","url":"https://api.github.com/users/aml25","html_url":"https://github.com/aml25","followers_url":"https://api.github.com/users/aml25/followers","following_url":"https://api.github.com/users/aml25/following{/other_user}","gists_url":"https://api.github.com/users/aml25/gists{/gist_id}","starred_url":"https://api.github.com/users/aml25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aml25/subscriptions","organizations_url":"https://api.github.com/users/aml25/orgs","repos_url":"https://api.github.com/users/aml25/repos","events_url":"https://api.github.com/users/aml25/events{/privacy}","received_events_url":"https://api.github.com/users/aml25/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/processing/processing/labels/shape","name":"shape","color":"ffffff"}],"state":"open","locked":false,"assignee":{"login":"codeanticode","id":62246,"avatar_url":"https://avatars.githubusercontent.com/u/62246?v=3","gravatar_id":"","url":"https://api.github.com/users/codeanticode","html_url":"https://github.com/codeanticode","followers_url":"https://api.github.com/users/codeanticode/followers","following_url":"https://api.github.com/users/codeanticode/following{/other_user}","gists_url":"https://api.github.com/users/codeanticode/gists{/gist_id}","starred_url":"https://api.github.com/users/codeanticode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codeanticode/subscriptions","organizations_url":"https://api.github.com/users/codeanticode/orgs","repos_url":"https://api.github.com/users/codeanticode/repos","events_url":"https://api.github.com/users/codeanticode/events{/privacy}","received_events_url":"https://api.github.com/users/codeanticode/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-03-17T05:11:55Z","updated_at":"2016-04-06T23:07:49Z","closed_at":null,"body":"There appears to be a bug in the `PShape myShape = loadShape(\"xxx.obj\")` where `myShape.getTextureU(i)` and `myShape.getTextureV(i)` always returns `0.0` regardless of the .obj file I load.\r\n\r\nThe source of my obj file clearly includes `vt` (texture) data, in the correct format according to http://en.wikipedia.org/wiki/Wavefront_.obj_file#Face_definitions\r\n```\r\nv -23.37775039672852 0 15.94831371307373\r\nv -19.77339744567871 0 5.378586292266846\r\nv -16.8441162109375 0 -3.211503267288208\r\nv -14.04735279083252 8.653888702392578 -11.41298007965088\r\nv -10.39787006378174 0 -22.11504936218262\r\nv 17.75258827209473 0 22.24656867980957\r\nv 18.87799835205078 -8.668776512145996 12.74141693115234\r\nv 19.79262542724609 0 5.01651668548584\r\nv 20.6658763885498 0 -2.358911991119385\r\nv 21.80537796020508 0 -11.98307514190674\r\nvt 0 0\r\nvt 0 0.25\r\nvt 0 0.5\r\nvt 0 0.75\r\nvt 0 1\r\nvt 1 0\r\nvt 1 0.25\r\nvt 1 0.5\r\nvt 1 0.75\r\nvt 1 1\r\nvt 0 0.25\r\nvt 1 0.5\r\nvt 0 0.5\r\nvt 1 0.75\r\nf 9/7 4/11 5/1 10/6\r\nf 8/12 3/13 4/2 9/7\r\nf 7/14 2/4 3/3 8/8\r\nf 6/10 1/5 2/4 7/9\r\n```"},"comment":{"url":"https://api.github.com/repos/processing/processing/issues/comments/206612435","html_url":"https://github.com/processing/processing/issues/3156#issuecomment-206612435","issue_url":"https://api.github.com/repos/processing/processing/issues/3156","id":206612435,"user":{"login":"tewelltech","id":18317362,"avatar_url":"https://avatars.githubusercontent.com/u/18317362?v=3","gravatar_id":"","url":"https://api.github.com/users/tewelltech","html_url":"https://github.com/tewelltech","followers_url":"https://api.github.com/users/tewelltech/followers","following_url":"https://api.github.com/users/tewelltech/following{/other_user}","gists_url":"https://api.github.com/users/tewelltech/gists{/gist_id}","starred_url":"https://api.github.com/users/tewelltech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tewelltech/subscriptions","organizations_url":"https://api.github.com/users/tewelltech/orgs","repos_url":"https://api.github.com/users/tewelltech/repos","events_url":"https://api.github.com/users/tewelltech/events{/privacy}","received_events_url":"https://api.github.com/users/tewelltech/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T23:07:48Z","updated_at":"2016-04-06T23:07:48Z","body":"Just checking to see if any progress had been made on this issue.  I too am running into this with properly formatted .OBJ files... Thanks!"}}