{"id":2368,"date":"2012-02-12T15:30:45","date_gmt":"2012-02-12T05:30:45","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=2368"},"modified":"2012-02-13T17:16:55","modified_gmt":"2012-02-13T07:16:55","slug":"trees-again","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2012\/02\/12\/trees-again\/","title":{"rendered":"Trees! (Again!)"},"content":{"rendered":"
<\/p>\n
<\/a>So these are slowly coming along, again.<\/p>\n A few points to notice:<\/p>\n There have also been a number of changes under the hood, which will eventually be propagated back to the VectorStorm trunk. \u00a0Most notably, vsTextureMaker<\/em> has been renamed to vsImage<\/em>, and can now load its image data from a file (previously, it could only be initialised by code setting each pixel manually). \u00a0You can still make a vsTexture<\/em> from a vsImage<\/em>, if desired.<\/p>\n Also of note, I’ve been playing with different names for the vsBuffer<\/em> class, which wraps around the OpenGL VBO functionality. \u00a0Currently, I have it named vsRenderBuffer<\/em>, which at least gives a vague hint at what it’s used for, rather than implying that it’s some generic memory storage class.<\/p>\n","protected":false},"excerpt":{"rendered":" So these are slowly coming along, again. A few points to notice: These are my first procedurally generated models which have a texture applied. \u00a0I added texture coordinates to generated models ages back, for use with shader effects (ironically also being displayed on an early tree model). \u00a0But \u00a0this is the first time I’ve…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[24,25,3],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-Cc","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2368"}],"collection":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/comments?post=2368"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/2368\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=2368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=2368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=2368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}\n