{"assets":[],"author_link":"author\/glockenspiel\/","author_name":"Glockenspiel","cat":"LD #29","categories":["LD #29"],"comments":[],"epoch":1398201660,"event":"LD29","likes":5,"metadata":{"p_key":"81806","p_author":"Glockenspiel","p_authorkey":"0","p_urlkey":"290923","p_title":"I\u2019m in and its gonna be voxel","p_cat":"LD #29","p_event":"LD29","p_time":"1398201660","p_likes":"5","p_comments":"0","p_status":"WAYBACK","us_key":null,"us_name":null,"us_username":null,"event_start":"1398384000","event_key":"22","event_name":"LD29"},"source_url":"2014\/04\/22\/im-in-and-its-gonna-be-voxel\/","text":"<p>I have been working on a voxel engine inside of unity but rather than have the boring old cubes I\u2019m trying to mix it up a bit by using hexagons. Possibly later into the engine i will make octogons with sqaures and i have a couple other ideas i have come up with and done out the maths for on paper. It still very early, the cube version is working almost entirely asides from one small bug were each chunk touches.<\/p>\n<p><a href=\"http:\/\/i.imgur.com\/Ptg0iIe.png\"><img alt=\"\" class=\"aligncenter\" height=\"308\" src=\"http:\/\/i.imgur.com\/Ptg0iIe.png\" width=\"548\"\/><\/a><\/p>\n<p>The hexagon block isn\u2019t complete yet, I\u2019m still working on the face selecting of which faces to draw, collision isn\u2019t complete and uv mapping needs to get done (that\u2019s why the blocks are all black). \u00a0The images are just some random blocks places, it doesn\u2019t use perlin\/simplex noise yet (basically they are algorithms similar\/hybrid\/the same as what minecraft uses for the terrain).<\/p>\n<p>\u00a0<\/p>\n<p><a href=\"http:\/\/i.imgur.com\/YIgWdWt.gif\"><img alt=\"\" class=\"aligncenter\" height=\"384\" src=\"http:\/\/i.imgur.com\/YIgWdWt.gif\" width=\"590\"\/><\/a><\/p>\n<p>\u00a0<\/p>\n<p>All of this is done very efficiently deciding only the minimum amount of triangles to be used for better frame rates, I currently am getting 70fps in unity with the current build having almost no difference in the frame time compared to an\u00a0empty scene. (click on images to make them larger)<\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n<p><span style=\"text-decoration: underline\"><strong>I will be using:<\/strong><\/span><\/p>\n<p>Engine: Unity3d \u00a0c#+ my engine (i will release the source a couple hours before it starts)<\/p>\n<p>Sound: sfxr<\/p>\n<p>Music: abundant-music.com<\/p>\n<p>Textures: gimp<\/p>\n<p>\u00a0<\/p>","time":"April 22nd, 2014 9:21 pm","title":"I\u2019m in and its gonna be voxel","title_was_empty":false}