{"action":"closed","issue":{"url":"https://api.github.com/repos/pdelia/away3d/issues/121","labels_url":"https://api.github.com/repos/pdelia/away3d/issues/121/labels{/name}","comments_url":"https://api.github.com/repos/pdelia/away3d/issues/121/comments","events_url":"https://api.github.com/repos/pdelia/away3d/issues/121/events","html_url":"https://github.com/pdelia/away3d/issues/121","id":85578943,"number":121,"title":"Wire Primitive + Animation + Fog = draw issue","user":{"login":"pdelia","id":12096091,"avatar_url":"https://avatars.githubusercontent.com/u/12096091?v=3","gravatar_id":"","url":"https://api.github.com/users/pdelia","html_url":"https://github.com/pdelia","followers_url":"https://api.github.com/users/pdelia/followers","following_url":"https://api.github.com/users/pdelia/following{/other_user}","gists_url":"https://api.github.com/users/pdelia/gists{/gist_id}","starred_url":"https://api.github.com/users/pdelia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdelia/subscriptions","organizations_url":"https://api.github.com/users/pdelia/orgs","repos_url":"https://api.github.com/users/pdelia/repos","events_url":"https://api.github.com/users/pdelia/events{/privacy}","received_events_url":"https://api.github.com/users/pdelia/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pdelia/away3d/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/pdelia/away3d/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/pdelia/away3d/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-05T16:48:15Z","updated_at":"2015-06-05T16:48:16Z","closed_at":"2015-06-05T16:48:16Z","body":"#1 Issue by __GoogleCodeExporter__, created on: 2015-04-24T07:50:57Z\n\n```\nRendering of a spinning wireframe torus primitive has drawing issues. It\nrenders fine as a regular mesh torus. I used the following code (I didn't\nwrite all the code used, just the important lines):\n\nvar fogMaterial:ColorMaterial = new ColorMaterial(0x000000);\nvar torusMat:WireframeMaterial= new WireframeMaterial(0xff0000);\nvar fog:FogFilter = new\nFogFilter({minZ:900,maxZ:1200,subdivisions:15,material:fogMaterial});\nvar basicrenderer:IRenderer = new BasicRenderer(fog);\nvar torus1:Object3D = new WireTorus({material:torusMat,\nradius:150,tube:20,segmentsR:40,segmentsT:5,yUp:false});\n...\nview.camera.position = new Number3D(0, 200, 1000);\n...\naddEventListener(Event.ENTER_FRAME, onEnterFrame);\n...\nfunction onEnterFrame(event:Event):void {\n    torus1.rotationY = getTimer() / 6;\n}\n\nI'm using your 2.0 code release on XP. Originally I thought b/c I had\ncreated torusMat as a ColorMaterial that was the issue, but using\nWireframeMaterial didn't fix it.\n\nGreat API! I appreciate the effort you guys put into this. \n\n \n```\n\nOriginal issue reported on code.google.com by `dr.za...@gmail.com` on 18 Apr 2008 at 2:49"}}