{"id":484,"date":"2009-03-17T22:55:58","date_gmt":"2009-03-17T12:55:58","guid":{"rendered":"http:\/\/www.vectorstorm.org\/?p=484"},"modified":"2009-03-17T23:09:37","modified_gmt":"2009-03-17T13:09:37","slug":"first-vectorstorm-lighting-test","status":"publish","type":"post","link":"https:\/\/www.vectorstorm.com.au\/2009\/03\/17\/first-vectorstorm-lighting-test\/","title":{"rendered":"First VectorStorm Lighting Test"},"content":{"rendered":"

\"lightingtest\"<\/a>Still heavily in progress, but we’re on our way! \u00a0Proper real 3D lighting in VectorStorm; \u00a0calculated on the video card and everything, like a proper 3D game!<\/p>\n

Still early days; \u00a0in the above shot, the light is hardcoded, as are the parameters of the specular hilight on the red ball. \u00a0But other than that, it’s all really working in the API; \u00a0the ball is just a regular display list, using the new API calls to specify normals for its vertices.. \u00a0it’s red because it called SetColor( vsColor::Red );, using the existing API functions.. \u00a0so it’s \u00a0slowly getting there!<\/p>\n

I’m thinking about trying to simplify some of the display list rendering code; \u00a0putting the smarts into the assembly of the display list, instead of the processing of it. \u00a0That low-level code is starting to be a bear to extend, because of how clever it’s trying to be…<\/p>\n","protected":false},"excerpt":{"rendered":"

Still heavily in progress, but we’re on our way! \u00a0Proper real 3D lighting in VectorStorm; \u00a0calculated on the video card and everything, like a proper 3D game! Still early days; \u00a0in the above shot, the light is hardcoded, as are the parameters of the specular hilight on the red ball. \u00a0But other than that, it’s…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[3],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/po9WK-7O","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/484"}],"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=484"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/484\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=484"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=484"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=484"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}