<\/a>I took a little break from the murder mystery game today, and instead have been spending time on the VectorStorm renderer. I’ve added the ability to switch between additive mode (the way that vector graphic displays traditionally have rendered in the past), and opaque mode (the way that raster graphic displays traditionally have rendered in the past). This basically means that it’s now possible to fully obscure something that you’ve drawn earlier in the frame, rather than just drawing straight over it, further brightening the display.<\/p>\nThe shot here is of the mystery game; the new thing is that there’s a 90% opaque black background behind the timeline interface at the top of the screen, which makes it much easier to read when the camera has moved in such a way that the timeline interface is overlapping with the mansion graphics. But you can still see the brighter lines from under that background.<\/p>\n
(You’ll also notice that I’ve avoided taking any screenshots where the zoomed Mansion graphics overlapped the timeline interface up until now — that situation was pretty ugly, before!)<\/p>\n
And while I’m here, I’ll just mention.. in many of my recent screenshots, you may have noticed the little green and red bar at the bottom left of the screen, which don’t show up in the released builds I’ve put up on the site. Unless you’ve grabbed the source code and had a play with it, you’re probably wondering what that coloured bar is all about.<\/p>\n
Well, that bar is actually a standard VectorStorm thing during development; it displays timing information. The horizontal bar has three segments; first is blue (CPU update time — not visible in this shot), then green (virtual machine GPU time), and then red (OpenGL time; or in other words, real GPU time). If the horizontal bar reaches the first vertical blue line, then the game is running at 60fps. If it reaches the second, it’s running at 30fps. If it doesn’t stop at either of those vertical lines, then it probably means that you’ve told your 3D driver not to wait for vsync even if the game has specifically requested it do so, you mean person.\u00a0 (That won’t cause problems;\u00a0 it’ll just make VectorStorm games consume a lot more of your computing resources as they try to render as many frames as possible, instead of waiting for your video card to actually be ready to draw a new frame to screen) :)<\/p>\n","protected":false},"excerpt":{"rendered":"
I took a little break from the murder mystery game today, and instead have been spending time on the VectorStorm renderer. I’ve added the ability to switch between additive mode (the way that vector graphic displays traditionally have rendered in the past), and opaque mode (the way that raster graphic displays traditionally have rendered in…<\/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-2e","_links":{"self":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/138"}],"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=138"}],"version-history":[{"count":0,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vectorstorm.com.au\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}