{"author_name":"zzorn","cat":"LD  #18 - Enemies as Weapons - 2010","comments":[{"author_name":"","time":"August 22, 2010 5:13 am","epoch":1282471980,"text":"Using Vertex Buffer Objects will certainly help, I can guarantee that&#8230; <img src=\"http:\/\/ludumdare.com\/compo\/wp-includes\/images\/smilies\/simple-smile.png\" alt=\":)\" class=\"wp-smiley\" style=\"height: 1em; max-height: 1em;\" \/>","spam":"N"},{"author_name":"zzorn","time":"August 22, 2010 6:38 am","epoch":1282477080,"text":"Initial switch to VBO:s doubled the framerate, which is not really that useful yet.  But there&#8217;s a lot of copying of the mesh data still going on in memory, I can optimize that.","spam":"N"}],"epoch":1282469280,"likes":0,"metadata":{"p_key":"69568","p_author":"zzorn","p_authorkey":"2534","p_urlkey":"105373","p_title":"Crashing into the Performance Wall","p_cat":"LD  #18 - Enemies as Weapons - 2010","p_event":"LD18","p_time":"1282469280","p_likes":"0","p_comments":"2","p_status":"UPD5","us_key":"2534","us_name":"zzorn","us_username":"zzorn","event_start":"1282262400","event_key":"4","event_name":"LD18"},"text":"<p>Ran into performance problems &#8211; one of my procedural animated boxes is fast enough, but a hundred of them slows the machine to 10 fps.\u00a0 Even if I turn off animation.\u00a0 Which is pretty bad news, as I was planning to do the terrain from these or similar ones, and a 10&#215;10 square terrain is pretty minimal.<\/p>\n <p>I&#8217;ll see if using vertex buffer objects instead of direct rendering will speed things up, if not I may drop to the Jam and write my own lightweight scala scenegraph on top of <a href=\"http:\/\/lwjgl.org\/\">LWJGL<\/a> instead of using <a href=\"http:\/\/www.sgine.org\">Sgine<\/a>, or maybe just redesign my terrain approach.<\/p>\n <p><img class=\"alignnone size-medium wp-image-25423\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2010\/08\/boxy01-300x173.png\" alt=\"boxy01\" width=\"300\" height=\"173\" srcset=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2010\/08\/boxy01-300x173.png 300w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2010\/08\/boxy01-550x317.png 550w, http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2010\/08\/boxy01.png 793w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n <p><a href=\"http:\/\/github.com\/zzorn\/ludumdare18\">My entry is on gihub<\/a> if anyone is interested, it also contains a <a href=\"http:\/\/github.com\/zzorn\/ludumdare18\/blob\/master\/development_journal.txt\">detailed development journal<\/a> (sorry about the lack of line wrapping, github doesn&#8217;t seem to do it automatically for text files).<\/p>\n <p>Overall I fear I spent too much time on nice procedural models and too little on actual game mechanics..<\/p>","time":"August 22nd, 2010 4:28 am","title":"Crashing into the Performance Wall"}