Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 03 Nov 2006
Offline Last Active Today, 08:03 AM

Topics I've Started

THRUNT! Super-tricky time-attack thrust-em-up

25 March 2016 - 06:38 AM


Available now for just £2 from https://mugsgames.itch.io/thrunt


Multiple DepthStencilViews, One Per RenderTargetView?

31 July 2015 - 01:59 AM



DirectX allows me to bind an array of render target views, or a render target view created from an array resource, and select which to write to using the SV_RenderTargetArrayIndex semantic output from a geometry shader. All good. But as far as I can see (from MSDN) there's a limitation in that all bound render targets have to share the same depth buffer.


The thing I'm working on would require each target to have its own associated depth buffer, essentially writing each triangle to eight different targets, each with different transforms but otherwise identical render states etc.


Binding a depth stencil view created from a texture2darray resource doesn't seem to work. There's no obvious failure on creating the resource, but nothing gets rendered when I try to use such a resource. I guess my semantic pedantic argument that this is should count as a single view doesn't hold weight :-)


I've already thought of a slightly hacky workaround, but does anyone know of a way to do what I'm trying without jumping through too many hoops?




Stroids - by Mugs Games

18 February 2014 - 06:20 AM

The completely free public beta release of Stroids is now available for download at www.mugsgames.com


Stroids is a retro-style mini-game for Windows PC, revisiting the arcade classic Asteroids, complete with glowy vector graphics and annoying blippy sound effects.


I'm hoping for a little feedback, primarily whether the game installs and runs cleanly on various Windows configs, since I can only really test it on the systems we have in house (i.e. in my house...)


You can contact me through the site, or via Twitter - links in my signature. Comments gratefully received.


Cheers - hope it passes a few minutes of retro fun in your super-modern cutting-edge gamedev day.


(Updated 18/2: v0.9.1 is now available, which fixes corrupt graphics on the title page which occurred randomly after playing for a while.)




[SlimDX] Glitch rendering to WinForms Panel with other controls

09 June 2010 - 01:20 AM


Just wondering if anyone can give me a clue about this issue - hopefully it's a quick and obvious answer.

I have a WinForms application in which I'm rendering a scene to a panel covering some of the main form, and other standard controls (some buttons, a PropertyGrid etc) on the rest of the form. Think "level editor" and you'll get the picture, though it's not quite that.

The PropertyGrid has a drop-down colour-chooser as one of its entries. The first time I use this drop-down box causes the output panel to not be drawn i.e. SlimDX doesn't render anything - I've set the background colour of the panel to hot pink to prove it's not just a 'no objects in view' kind of problem. If the SlimDX rendering was occurring at all I'd expect it to at least clear to white and present. As soon as the drop down closes drawing resumes as normal, and after that I can use the dropdown box as much as I like without any problems.

I've checked the SlimDX device isn't lost at any time during the process.

It's difficult to know what code to post in this case as it seems more like a designer problem, like maybe I'm just missing some flags to do with paint events or something. Anyone else come across anything similar?


Charlie Brooker on Games

28 December 2009 - 09:04 PM

Interesting piece in the Guardian by Charlie Brooker. The description of a non-gamer's attempt to play GTAIV is particularly well-observerd. http://www.guardian.co.uk/technology/2009/dec/11/charlie-brooker-i-love-videogames