background preloader

Programming Technologies

Facebook Twitter

Google Maps

Thrift. Articles and Resources. Composing Music For Video Games: Chords So far in the series we have covered key and tempo with regards to composing music for video games.

Articles and Resources

In the article chords are discussed. An understanding of the construction of chords and how they can be utilised effectively with visual media is key Tagged With: composition video game music visual media music ocular audio. An Introduction to Lua. Introduction A close friend of mine went on a job interview recently, for a local game development company.

An Introduction to Lua

I'm not going to name names here, but let's just say that they're a sorta-large Game Development boutique in Vancouver. Comparison of OpenGL and Direct3D. Direct3D and OpenGL are competing application programming interfaces (APIs) which can be used in applications to render 2D and 3D computer graphics.

Comparison of OpenGL and Direct3D

Hardware acceleration of this process has been commonplace since approximately 1999. [dubious ] As of 2005[update], graphics processing units (GPUs) almost always implement a particular version of both of these APIs, such as these examples: DirectX 9 and OpenGL 2 circa 2004; DirectX 10 and OpenGL 3 circa 2008; and most recently, DirectX 11 and OpenGL 4 circa 2011. Why you should use OpenGL and not DirectX. Often, when we meet other game developers and say that we use OpenGL for our game Overgrowth, we're met with stares of disbelief -- why would anyone use OpenGL?

Why you should use OpenGL and not DirectX

DirectX is the future. When we tell graphics card representatives that we use OpenGL, the temperature of the room drops by ten degrees. This baffles us. Libraries. From GPWiki Libraries are split into the following categories: Audio Name. COM+ - The Complete Tutorial by Gopalan Suresh Raj. Asynchronous Programming with Thread Pools. When you are developing applications you may encounter chunks of processing that make your application seem sluggish.

Asynchronous Programming with Thread Pools

For example, you may have a process intensive startup process in your windows application, but it is not necessary for the process to complete before you allow user-interaction. In VB .Net you do not have to pull out the big multithread guns to return your application to responsiveness. You can get asynchronous, multithreaded behavior quickly and easily in VB .Net. Visual Basic, under .Net, allows you to use a thread that is available in the ThreadPool. Using the thread pool you can off-load long tasks without writing a lot of extra code thread management code. Benefits of Using ThreadPool The System.Threading.ThreadPool class contains a virtual pool of available threads that you can put to work. The ThreadPool is a dynamic group of threads that are available for you to use for multithreaded processing.

ThreadPool Mechanics Click here for larger image Summary About the Author. Asynchronous delegates Vs Threads [Archive] - CodeGuru Forums. Asynchronous Query Execution. Download source files - 7 Kb Introduction Because of multithreading support is available, the MFC ODBC classes no longer use asynchronous processing.

Asynchronous Query Execution

By default, drivers execute ODBC functions synchronously; that is, the application calls a function and the driver does not return control to the application until it has finished executing the function. However, some functions can be executed asynchronously; that is, the application calls the function, and the driver, after minimal processing, returns control to the application. The application can then call other functions while the first function is still executing. Asynchronous execution is supported for most functions that are largely executed on the data source, such as the functions to prepare and execute SQL statements, retrieve metadata, and fetch data.

In MFC version 4.2 and higher, CDatabase::SetSynchronousMode() function which allows asynchronous execution has become obsolete. Usage is very simple. Examine the following samples: Asynchronous T-SQL Execution Without Service Broker. Introduction Quite often, SQL Server developers need to execute long running SQLs such as updates, inserts, bulk inserts, index creation, and other non-query types of T-SQL.

Asynchronous T-SQL Execution Without Service Broker

At the end, the total execution time will be a sum of each SQL’s execution time. With such powerful multi-processors, SQL Server developers do not utilize that power. This is where multi-tasking comes in place. SQL Server 2005 and up provides database developers with one of the tools to execute SQL asynchronously- a Service Broker. Background Let's say you are developing an ETL process which has to bulk load multiple tables, create a number of indexes, move data from one database/server to another, and your process has to move a lot of rows. Step 1 - Copy tablesStep 2 - Create indexes I will show in this example below how it can be done using Stored Procedures from the deployment script attached. Using the code Parallel_Declare - Declares a parallel block. Here are examples of how to use it: Please note History.

Real asynchronous vs. Simulated asynchronous - David Hurtado's Integration Traces. What is an Electronic Compass? GPS Review. A question we get time and time again is “what is an electronic compass?”

What is an Electronic Compass? GPS Review

After-all, GPS devices are electronic and they can tell what direction I’m going. So shouldn’t all GPS devices be known as having an electronic compass? Well, not quite. Here is what you need to know about how GPS devices deal with headings, direction, and compass readings.

OpenGL

3D. Game Programming. Game Programming Library. Game Engine. OLE DB Programming. Data Access. SMPP.