Download BadTactics.zip - 3.55 MB
Introduction
Terrain rendering is a very common technique used in 3d and 2d games. There are many approaches from simple vertex coloring to stitching together images, etc.
A realistic looking effect can be achieved by using multiple textures blended in using an alpha factor. Also if you want to obtain high resolution terrain you can either use high deta
Download demo - 2.6 MB
Download source - 70.6 KB
Introduction
This article is as another example of an artificial neural network designed to recognize handwritten digits based on the brilliant article Neural Network for Recognition of Handwritten Digits by Mike O'Neill. Although many systems and classification algorithms have been proposed in the past years, handwriting recognition has alway
Download Sample Projects & Source Code - 18.15 KB
Introduction
First of all, what is memory-mapped file or MMF? MMF is a kernel object that maps a disk file to a region of memory address space as the committed physical storage. In plain English, MMF allows you to reserve a range of addresses and use a disk file as the physical storage for the reserved addresses. When a MMF is created, you
AspectExamples.zip
Introduction
This article is all about aspect orientated programming (AOP).
Here is some tech speak about AOP, from some sources who are more than likely
more ellequant than me
Aspect-oriented programming entails breaking down program logic into
distinct parts (so-called concerns, cohesive areas of functionality). All
programming paradigms support some level of grouping and
Download DDW7LibrariesLite - 67.96 KB
Introduction
Working on a project in .net 3.5 I found that I needed to enumerate the
windows 7 libraries, but I didn't have the option of .net4 and I decided
against adding 2 libraries to my project from the Windows7API codepack
1.1 available from microsoft. After reading up on the matter I
determined that it wouldn't be hard to parse the libra
What is Recursive Function/Method?
Functions are not necessarily invoked by other functions. A function can call itself too. When a function calls itself, it's a recursive function. A recursive has two specifications:1. Recursive function may call itself so many times but limited. 2. Recursive function has parameter(s) and calls itself with new parameters.
Why Recursive?
All methods with while
Download BikeInCitySource.zip - 759.15 KB
Contents
Contents
Contents
Introduction
Background
Architecture
Data Model
Using and emulating GPS
GPS in emulator
Computing distance on Earth’s surface
Getting the data
Getting information from the bike system
Getting list of all stations
Getting the details of a station
Using Bing Maps Services
Geocoding address
Calculating Route
Preparing t
Why do you need BindingHub?
Before diving into concrete use cases and implementation details, let’s see what is missing in the current WPF implementation.
WPF is supposed to be declarative programming, so all code must go into CodeBehind / ViewModel. Unfortunately, any non-trivial ViewModel quickly becomes Spaghetti with Meatballs (see Wikipedia if you don’t know what that means), littered with
Download CNNWB - 3.58 MB
Introduction
This article is about a Microsoft C# 4.0 WPF implementation of a framework that allows to create, train and test convolutional neural networks against the MNIST Dataset of handwritten digits. There is a magnificent article by Mike O'Neill on the The Code Project about the same subject. Whithout his great article and C++ demo code this project wouldn't
Download Understanding SharePoint 2010 Client Object Model Capabilities - 5.29 MB
Introduction
SharePoint 2010 is really exciting and if you have already worked on the previous versions of SharePoint then needless to say that you will feel much more excited while exploring its new capabilities. Every platform has some drawbacks but the capabilities matter and we developers always like to explor
Download demo - 1.02 MB
Introduction
In the context of .NET applications, settings are data that are not the main input or output of a program, but are nonetheless necessary for the program to function. Like business data, settings can change. An example of a setting is a folder path or a Web Service URI. Settings are often stored in application configuration files (app.config or web.config) to
Download sample - 78.8 KB
Background
Application behavior frequently depends on exogenous parameters, such as a service URI or file paths, that are supplied by a developer or administrator. These inputs must be amenable to quick change without the need to refactor or recompile. A common answer to this requirement is to place such inputs in a configuration file: app.config for Windows applicatio
Introduction
Hi everyone!
Again this article is the fruit of a need I had. I've been searching for a couple of days how to show social networks' updates (from twitter, youtube, facebook...) and after getting a terrible headache, I decided to do it myself. And I want to share how I did it.
Background
The truth is that all this Social Networks have APIs that allow developers to integrate our app
Download MetroUI_Form.zip - 87.87 KB Introduction
The future of Windows Interfaces is probably the Zune-like ones, with a borderless form and some controls inside of it. The problem is: if you're using WindowsForm, creating that borderless form with shadows and resizing stuff's aren't as easy as it seems. This arcticle will show you how to create those forms using a bit of DWM and some oth
Back in the day, processors had a single core and clock speeds increased steadily every year. This meant that although writing multi-threaded code for a single CPU gave some performance improvements (since single-core CPUs usually try to execute multiple threads), it was hardly the top of any developer’s list of priorities. In the last few years, clock speeds have reached a plateau and
Introduction
FIR stands for Finite Impulse Response.
In the analogue world, if you wished to filter a signal, you would use capacitors, resistors and inductors wired together to create the filter of your choice. In the digital world, you can still apply a filter to a sampled signal being received by a method of multiplying the samples by as series of coefficients and summing to create a new (fi
Download WpfSpeedster_Src.zip - 2.25 MB
Download WpfSpeedster_demo.zip - 2.28 MB
Introduction
I had the idea to design something in Expression Design that would spawn into a WPF project to simulate a 'super-fast', four wheeled (three in this case), sleek machine, and later WPF Speedster was born. The nice looking vehicle you see in the screenshot above functions more as a dragster and I shoul
Download source code - 37 KB
Download article PDF - 783 KB
Introduction
I went looking for a class to do printing from a DataGridView, and none of them did all that I was looking for. I needed to print all pages, some pages, or the current selection; and I needed to not have objects, controls, or code from the printer object sprinkled through the rest of my code - i.e., it needed to be complet
Download MetroUI_Form.zip - 87.87 KB Introduction
The future of Windows Interfaces is probably the Zune-like ones, with a borderless form and some controls inside of it. The problem is: if you're using WindowsForm, creating that borderless form with shadows and resizing stuff's aren't as easy as it seems. This arcticle will show you how to create those forms using a bit of DWM and some oth