{"action":"created","issue":{"url":"https://api.github.com/repos/arscan/encom-globe/issues/9","labels_url":"https://api.github.com/repos/arscan/encom-globe/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/arscan/encom-globe/issues/9/comments","events_url":"https://api.github.com/repos/arscan/encom-globe/issues/9/events","html_url":"https://github.com/arscan/encom-globe/issues/9","id":123617547,"number":9,"title":"Adjusting tile size?","user":{"login":"risoldi","id":4365716,"avatar_url":"https://avatars.githubusercontent.com/u/4365716?v=3","gravatar_id":"","url":"https://api.github.com/users/risoldi","html_url":"https://github.com/risoldi","followers_url":"https://api.github.com/users/risoldi/followers","following_url":"https://api.github.com/users/risoldi/following{/other_user}","gists_url":"https://api.github.com/users/risoldi/gists{/gist_id}","starred_url":"https://api.github.com/users/risoldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/risoldi/subscriptions","organizations_url":"https://api.github.com/users/risoldi/orgs","repos_url":"https://api.github.com/users/risoldi/repos","events_url":"https://api.github.com/users/risoldi/events{/privacy}","received_events_url":"https://api.github.com/users/risoldi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-23T08:00:40Z","updated_at":"2015-12-29T07:31:55Z","closed_at":null,"body":"Hi again,\r\n\r\nI'm almost there, I adapted the colors and the fog in order to have a grayscale globe which fades to transparent in the background. My last issue would be that, as it is, the empty space between the tiles is a bit too much. What I'd like to do is increase the size of the tiles, so that they fill the space some more. I tried fiddling with the code a little, but I can't find where I need to tweak (admittedly, I am a complete noob when it comes to WebGL and 3D programming in general).\r\nFrom what I understood, the surface is a mesh of triagles and something somehow (the createParticles function, I believe?) makes the tiles on top of that. Do you think this is feasible by changing some parameters somewhere, or would it involve changing the mesh and thus redoing all calculations and rewriting major portions of the code?"},"comment":{"url":"https://api.github.com/repos/arscan/encom-globe/issues/comments/167739370","html_url":"https://github.com/arscan/encom-globe/issues/9#issuecomment-167739370","issue_url":"https://api.github.com/repos/arscan/encom-globe/issues/9","id":167739370,"user":{"login":"risoldi","id":4365716,"avatar_url":"https://avatars.githubusercontent.com/u/4365716?v=3","gravatar_id":"","url":"https://api.github.com/users/risoldi","html_url":"https://github.com/risoldi","followers_url":"https://api.github.com/users/risoldi/followers","following_url":"https://api.github.com/users/risoldi/following{/other_user}","gists_url":"https://api.github.com/users/risoldi/gists{/gist_id}","starred_url":"https://api.github.com/users/risoldi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/risoldi/subscriptions","organizations_url":"https://api.github.com/users/risoldi/orgs","repos_url":"https://api.github.com/users/risoldi/repos","events_url":"https://api.github.com/users/risoldi/events{/privacy}","received_events_url":"https://api.github.com/users/risoldi/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T07:31:55Z","updated_at":"2015-12-29T07:31:55Z","body":"Hey, thanks for the pointers. Good news is, the script still works! :) \r\nSo, in order to help other people who may want to do this, here's what I did:\r\n- got the hexasphere and encom-globe projects from GitHub, then unzipped them;\r\n- took the js files from the src directory of hexasphere and placed them in the encom-globe-master directory;\r\n- installed node.js and the following packages for node: minimist, pngjs, and fs\r\n- modified the bin/buildgrid script in order to hardcode the size = 1.0 and the path to the map and the hexasphere.js file (I only needed this once, so I did not fiddle with passing parameters)\r\n- I modified the line that says:\r\n```javascript\r\nvar scale = size - Math.random() * .25;\r\n```\r\nto read just: \r\n```javascript\r\nvar scale = size;\r\n```\r\n- Finally, I ran:\r\n```\r\nbin/build -o grid.js\r\n```\r\n\r\nAnd voilà, I have my globe with no gaps between hexagons. :)\r\n"}}