{"action":"created","issue":{"url":"https://api.github.com/repos/wiremod/wire/issues/1310","repository_url":"https://api.github.com/repos/wiremod/wire","labels_url":"https://api.github.com/repos/wiremod/wire/issues/1310/labels{/name}","comments_url":"https://api.github.com/repos/wiremod/wire/issues/1310/comments","events_url":"https://api.github.com/repos/wiremod/wire/issues/1310/events","html_url":"https://github.com/wiremod/wire/issues/1310","id":199376474,"number":1310,"title":"Implement IMesh extension (allow obj loaders, dynamic 3D shapes/objects come alive)","user":{"login":"CaptainPRICE","id":9789070,"avatar_url":"https://avatars3.githubusercontent.com/u/9789070?v=3","gravatar_id":"","url":"https://api.github.com/users/CaptainPRICE","html_url":"https://github.com/CaptainPRICE","followers_url":"https://api.github.com/users/CaptainPRICE/followers","following_url":"https://api.github.com/users/CaptainPRICE/following{/other_user}","gists_url":"https://api.github.com/users/CaptainPRICE/gists{/gist_id}","starred_url":"https://api.github.com/users/CaptainPRICE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaptainPRICE/subscriptions","organizations_url":"https://api.github.com/users/CaptainPRICE/orgs","repos_url":"https://api.github.com/users/CaptainPRICE/repos","events_url":"https://api.github.com/users/CaptainPRICE/events{/privacy}","received_events_url":"https://api.github.com/users/CaptainPRICE/received_events","type":"User","site_admin":false},"labels":[{"id":47193012,"url":"https://api.github.com/repos/wiremod/wire/labels/E2","name":"E2","color":"fbca04","default":false},{"id":4536643,"url":"https://api.github.com/repos/wiremod/wire/labels/Enhancement","name":"Enhancement","color":"84b6eb","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-01-07T18:25:20Z","updated_at":"2017-06-13T10:42:06Z","closed_at":null,"body":"Basically, an advanced version of hologram extension.\r\n\r\nThe following example code is from GMod wiki:\r\n```\r\nlocal mat = Material( \"editor/wireframe\" ) -- The material ( a wireframe )\r\nlocal obj = Mesh() -- Create the IMesh object\r\n\r\nlocal verts = { -- A table of 3 vertices that form a triangle\r\n\t{ pos = Vector( 0,   0, 0 ), u = 0, v = 0 }, -- Vertex 1\r\n\t{ pos = Vector( 10,  0, 0 ), u = 1, v = 0 }, -- Vertex 2\r\n\t{ pos = Vector( 10, 10, 0 ), u = 1, v = 1 }, -- Vertex 3\r\n}\r\n\r\nobj:BuildFromTriangles( verts ) -- Load the vertices into the IMesh object\r\n\r\nhook.Add( \"PostDrawOpaqueRenderables\", \"IMeshTest\", function()\r\n\trender.SetMaterial( mat ) -- Apply the material\r\n\tobj:Draw() -- Draw the mesh\r\nend )\r\n```\r\n\r\nSo, is anyone willing to implement this into official Wire?"},"comment":{"url":"https://api.github.com/repos/wiremod/wire/issues/comments/308077555","html_url":"https://github.com/wiremod/wire/issues/1310#issuecomment-308077555","issue_url":"https://api.github.com/repos/wiremod/wire/issues/1310","id":308077555,"user":{"login":"CaptainPRICE","id":9789070,"avatar_url":"https://avatars3.githubusercontent.com/u/9789070?v=3","gravatar_id":"","url":"https://api.github.com/users/CaptainPRICE","html_url":"https://github.com/CaptainPRICE","followers_url":"https://api.github.com/users/CaptainPRICE/followers","following_url":"https://api.github.com/users/CaptainPRICE/following{/other_user}","gists_url":"https://api.github.com/users/CaptainPRICE/gists{/gist_id}","starred_url":"https://api.github.com/users/CaptainPRICE/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaptainPRICE/subscriptions","organizations_url":"https://api.github.com/users/CaptainPRICE/orgs","repos_url":"https://api.github.com/users/CaptainPRICE/repos","events_url":"https://api.github.com/users/CaptainPRICE/events{/privacy}","received_events_url":"https://api.github.com/users/CaptainPRICE/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T10:42:06Z","updated_at":"2017-06-13T10:42:06Z","body":"@Fasteroid **[Please use Gist](https://gist.github.com/)**, and post a link to it instead of non-formatted wall of code."}}
{"actor":{"display_login":"CaptainPRICE"}}