{"author_name":"GreaseMonkey","cat":"LD #28","comments":[],"epoch":1386873900,"likes":1,"metadata":{"p_key":"37179","p_author":"GreaseMonkey","p_authorkey":"2396","p_urlkey":"72790","p_title":"Declaration of what\u2019s actually in my base code","p_cat":"LD #28","p_event":"LD28","p_time":"1386873900","p_likes":"1","p_comments":"0","p_status":"UPD5","us_key":"2396","us_name":"GreaseMonkey","us_username":"greasemonkey","event_start":"1386892800","event_key":"20","event_name":"LD28"},"text":"<p>So far on the Lua side I have support for:<\/p>\n <ul>\n <li>glClearColor; glClear<\/li>\n <li>Matrices + manipulation + loading them into OpenGL (projection, modelview &#8211; no texture matrix and not sure if I&#8217;ll add it)<\/li>\n <li>Definition + flat-colour rendering of vertex arrays (of any GL_ type)<\/li>\n <li>Loading + power-of-two-extending + rendering of 32bpp RGBA PNGs (any rectangular region &#8211; if you want it rotated, use a matrix)<\/li>\n <\/ul>\n <p>There is no depth buffer support right now. There&#8217;s also no stencil buffer support yet, but I&#8217;m hoping to add support for that&#8230; there will probably be no depth buffer support, though. VBOs <em>might<\/em> happen, but don&#8217;t hold your breath.<\/p>\n <p>The engine requires OpenGL 1.1, which means that it will probably run on your pile-of-crap GMA 3150. Amusingly enough, it also runs at a reasonable framerate with Mesa swrast (LIBGL_ALWAYS_SOFTWARE=&#8221;yes&#8221;).<\/p>\n <p>This used to spam stars and say &#8220;You&#8217;re a STAR!&#8221; but evilbetty wanted lollipops so here you go&#8230;<\/p>\n <p><img class=\"alignnone\" alt=\"that doesn't even make sense D:\" src=\"http:\/\/i.imgur.com\/sQznbLP.png\" width=\"100%\" \/><\/p>\n <p>Links:<\/p>\n <ul>\n <li>Git repo for source code: https:\/\/github.com\/iamgreaser\/boilerplate28<\/li>\n <li>Windoze testing binary just because the screenshot cannot capture the awesomeness: https:\/\/dl.dropboxusercontent.com\/u\/32094129\/boilerplate28\/boilerplate28-1386840891.zip<\/li>\n <\/ul>\n <p>Hold the left mouse button if you want them to be attracted to rather than repelled away from the mouse.<\/p>","time":"December 12th, 2013 1:45 pm","title":"Declaration of what\u2019s actually in my base code"}