{"id":1222,"date":"2018-06-29T13:45:16","date_gmt":"2018-06-29T11:45:16","guid":{"rendered":"http:\/\/fraktalia.org\/?p=1222"},"modified":"2020-03-11T14:49:05","modified_gmt":"2020-03-11T13:49:05","slug":"accepted-3-2","status":"publish","type":"post","link":"https:\/\/fraktalia.org\/de\/accepted-3-2\/","title":{"rendered":"Challenge: Voxel Engine in 2 Weeks"},"content":{"rendered":"<h1>Voxel Engine in 2 Weeks:<\/h1>\n<p>The practical part of my master thesis requires a voxel engine in order to simulate the sculptable material. After testing Cubiquity and meeting with the supervisor afterwards before holidays, the conclusion was that the main focus should lie in the educational use of the application. Therefore the main focus point should not be voxel simulation although it is required to create an educational useful application. The advice was to use an existing voxel engine however my dream since college was to create a own voxel engine.<\/p>\n<p>So I decided to make a little challenge which is about creating a voxel engine in 2 weeks. After 2 weeks, I will evaluate the progress and decide if it is useful or not according to performance and voxel density. If a octree with depth of 10 can be simulated and modified quickly it is successful. If I fail, I will use an open source Voxel Engine which is a free open source voxel engine called <a href=\"https:\/\/github.com\/Rausy\/osuve\">osuve<\/a>.<\/p>\n<h2>Progress after 2 days:<\/h2>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"size-medium wp-image-1226 alignleft\" src=\"http:\/\/fraktalia.org\/wp-content\/uploads\/2018\/06\/voxel-2-300x203.png\" alt=\"\" width=\"300\" height=\"203\" srcset=\"https:\/\/fraktalia.org\/wp-content\/uploads\/2018\/06\/voxel-2-300x203.png 300w, https:\/\/fraktalia.org\/wp-content\/uploads\/2018\/06\/voxel-2.png 518w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>Now after 2 Days, the data structures were developed and it is possible to destroy and create blocks. The data structure is an octree with simple children referencing using pointers. Everything is highly unoptimized and currently only a depth of 6 can be handled without insane lags.<\/p>\n<p>Now as the basic prototype is setup and all mathematical functions to hash individual voxels, the big optimisation begins. The sample image is the voxel octree with\u00a0 one voxel removed. As visual hull construcion, the unity standard cube is used, scaled and positioned corretly and baked together using the Large Mesh Combiner I have developed for my unity assets.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>","protected":false},"excerpt":{"rendered":"<p>Voxel Engine in 2 Weeks: The practical part of my master thesis requires a voxel engine in order to simulate the sculptable material. After testing Cubiquity and meeting with the supervisor afterwards before holidays, the conclusion was that the main focus should lie in the educational use of the application. Therefore the main focus point [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1226,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[76],"tags":[],"class_list":["post-1222","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-masterarbeit"],"_links":{"self":[{"href":"https:\/\/fraktalia.org\/de\/wp-json\/wp\/v2\/posts\/1222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fraktalia.org\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fraktalia.org\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fraktalia.org\/de\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/fraktalia.org\/de\/wp-json\/wp\/v2\/comments?post=1222"}],"version-history":[{"count":0,"href":"https:\/\/fraktalia.org\/de\/wp-json\/wp\/v2\/posts\/1222\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/fraktalia.org\/de\/wp-json\/wp\/v2\/media\/1226"}],"wp:attachment":[{"href":"https:\/\/fraktalia.org\/de\/wp-json\/wp\/v2\/media?parent=1222"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fraktalia.org\/de\/wp-json\/wp\/v2\/categories?post=1222"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fraktalia.org\/de\/wp-json\/wp\/v2\/tags?post=1222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}