Since Microsoft released the official Kinect SDK for Windows I have been doing a tiny bit of mucking around with it. I am working on a poor-man's "Green Screen" app which uses the Kinect's skeleton tracking to mask out the background. I got the first stage of it working today. I'll post more videos as the … Continue reading GreenScreen for Kinect
Tag: C Sharp
.NET 4.0 and the Task Parallel Library (TPL)
I've been tasked with presenting a training session at work on the new concurrent programming features in the .NET Framework 4.0, so I've been playing around with a Mandelbrot set visualiser for which I have written three routines: a sequential routine, a (potentially) each line can be calculated in parallel, and a third where (potentially) … Continue reading .NET 4.0 and the Task Parallel Library (TPL)
.NET Class Wrapper coming along
I've been embedding mono into my game engine, and decided that what I needed was a code generator to generate C++ classes which wrap .NET classes that exist inside the sandboxed runtime. I've decided on StringTemplate for the templating side of it, and after trying to write a template without first knowing what the class … Continue reading .NET Class Wrapper coming along
Progress with Mono!
So today I spent some time building embedded Mono into my game engine (if you can call it that, it's pretty skeletal so far). It's pretty poorly done at the moment (design-wise), but I can execute code from a .NET dll within my application. What I didn't realise until just now, was that the mono … Continue reading Progress with Mono!
Using XPath with a default namespace in .NET 2.0
I have recently been writing an assembly which facilitates automatic deployment of K2.Net 2003 workflows. The assembly reads in a configuration file and deploys the workflows as specified in the configuration file. Also, rather than writing any custom code to validate the XML, I decided to use an XML Schema Definition, mainly because it saves … Continue reading Using XPath with a default namespace in .NET 2.0
C# Developers: Comment your code!
I was just thinking how easy it is to tag all of your code with the essential metadata it needs: What does it do? What are the inputs? What are the outputs? Now we can, of course, put in plenty more metadata, such as general remarks, what exceptions are thrown, examples of how to use … Continue reading C# Developers: Comment your code!