{"id":77,"date":"2022-02-20T02:16:01","date_gmt":"2022-02-20T02:16:01","guid":{"rendered":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/?p=77"},"modified":"2022-02-20T02:16:15","modified_gmt":"2022-02-20T02:16:15","slug":"georges-update-for-2-19","status":"publish","type":"post","link":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/2022\/02\/20\/georges-update-for-2-19\/","title":{"rendered":"George&#8217;s Status Report for 2\/19"},"content":{"rendered":"<p>This week I worked on rendering textures into the game. I am using a graphics programming textbook called &#8220;Learn OpenGL &#8211; Graphics Programming&#8221; by Joey de Vries, and I followed along with the chapter on textures this week. I&#8217;m using a library called\u00a0<em>stb<\/em> that can read image files and place their data into a char array.\u00a0The game currently loads a test image into the window:<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-medium wp-image-78\" src=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-content\/uploads\/sites\/179\/2022\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-02-19-\u5348\u5f8c8.44.05-290x300.png\" alt=\"\" width=\"290\" height=\"300\" srcset=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-content\/uploads\/sites\/179\/2022\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-02-19-\u5348\u5f8c8.44.05-290x300.png 290w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-content\/uploads\/sites\/179\/2022\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-02-19-\u5348\u5f8c8.44.05-768x794.png 768w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-content\/uploads\/sites\/179\/2022\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-02-19-\u5348\u5f8c8.44.05-990x1024.png 990w, http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-content\/uploads\/sites\/179\/2022\/02\/\u30b9\u30af\u30ea\u30fc\u30f3\u30b7\u30e7\u30c3\u30c8-2022-02-19-\u5348\u5f8c8.44.05.png 1590w\" sizes=\"(max-width: 290px) 100vw, 290px\" \/><\/p>\n<p>Additionally, I worked on importing sound libraries into our game. However, I was running into some issues with this. I tried downloading and importing Simple and Fast Multimedia Library (SFML) and IrrKlang. It seems like both of these libraries are popular for sound in C++ video games. I am using CMake to compile our game, and for some reason CMake couldn&#8217;t link IrrKlang&#8217;s dynamic library on MacOS. I spent a few hours debugging this but I wasn&#8217;t able to get anything compiled into the game. I found another audio library called SoLoud, and I want to try using this instead.<\/p>\n<p>For next week I want to focus on getting a small playable demo where notes fly down the screen towards the player. I originally had wanted to get font rendering working this week, but I think that for now I will focus on getting a playable demo with sounds. I want to start testing Shreya&#8217;s beat mapping algorithm in the game as soon as possible, and having a playable demo is necessary for this. I am a couple days behind schedule &#8211; I wanted to have more of the GUI completed before today.\u00a0 Our current schedule supports a little wiggle room this week because our next task from 2\/21-2\/28 is just reviewing our final design and making little tweaks; these tweaks won&#8217;t take much time (i.e. near 9 hours), so I&#8217;ll have extra time to work on the GUI.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This week I worked on rendering textures into the game. I am using a graphics programming textbook called &#8220;Learn OpenGL &#8211; Graphics Programming&#8221; by Joey de Vries, and I followed along with the chapter on textures this week. I&#8217;m using a library called\u00a0stb that can read image files and place their data into a char &hellip; <\/p>\n<p class=\"link-more\"><a href=\"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/2022\/02\/20\/georges-update-for-2-19\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;George&#8217;s Status Report for 2\/19&#8221;<\/span><\/a><\/p>\n","protected":false},"author":526,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7,3,1],"tags":[],"_links":{"self":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/posts\/77"}],"collection":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/users\/526"}],"replies":[{"embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/comments?post=77"}],"version-history":[{"count":3,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/posts\/77\/revisions"}],"predecessor-version":[{"id":81,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/posts\/77\/revisions\/81"}],"wp:attachment":[{"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/media?parent=77"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/categories?post=77"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/course.ece.cmu.edu\/~ece500\/projects\/s22-teama5\/wp-json\/wp\/v2\/tags?post=77"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}