background preloader

Programming

Facebook Twitter

How to build a basic fluent interface in 8 steps | Jorge Rowies. In The Brain of Robert Pickering: The Combin. Www.eis.mdx.ac.uk/research/PhDArea/saeed/paper1.pdf.

WiX

Silverlight. SQL. Javascript. Gaming. Ado. The Ramblings of a Hazy Mind. Chad Vernon. Prog21: Purely Functional Retrogames, Part 1. When I started looking into functional languages in 1998, I had just come off a series of projects writing video games for underpowered hardware: Super Nintendo, SEGA Saturn, early PowerPC-based Macintoshes without any graphics acceleration.

My benchmark for usefulness was "Can a programming language be used to write complex, performance intensive video games? " After working through basic tutorials, and coming to grips with the lack of destructive updates, I started thinking about how to write trivial games, like Pac-Man or Defender, in a purely functional manner. Then I realized that it wasn't performance that was the issue, it was much more fundamental. I had no idea how to structure the most trivial of games without using destructive updates. Pac-Man is dead simple in any language that fits the same general model as C. There are a bunch of globals representing the position of Pac-Man, the score, the level, and so on. In a purely functional language, none of this works. Part 2. HLSL Introduction. High Level Shading Language (HLSL), a programming language for Graphic Processing Unit (GPU) in DirectX 9/10/11, supports the shader construction with C-like syntax, types, expressions, statements, and functions.

Long time ago, Apple's RenderMan was a popular shading language that was used to generate cinematic effects with CPU in render farms. Lately, Microsoft's High-Level Shading Languages (HLSL) and OpenGL's OpenGL Shading Language (GLSL) shading languages have been developed for real-time shader on GPU. Best integrated into the DirectX 9 and plus, HLSL works solely on Windows platform. Similarly, OpenGL 1.5 to 4.0 starts to include OpenGL shading language GLSL as a standard component. To build a complete shader, new shading languages for GPU must work along with a host programming language such as C/C++, although it is tedious to set large amount of parameters, C/C++ is the fastest on CPU. CUDA ("Compute Unified Device Architecture") is a C language extension for GPU programming. FX Composer 1.8. FX Composer is no longer in active development and will not receive any further updates. v2.5 is the final release of this product. Please refer to NVIDIA Nsight Visual Studio Edition for your shader debugging/profiling/authoring needs.

FX Composer 2.5 is a powerful integrated development environment for shader authoring. Features in this release include: Major user interface improvements DirectX 10 support, including geometry shaders and stream out. Visual Styles - the ability to create, define, and export multiple looks for a model. Particle systems Support for the NVIDIA Shader Debugger Remote control over TCP/IP Unified Importing of Models Improved Performance And more! Note: mental mill Artist Edition is no longer bundled with FX Composer 2.5. Screencasts FX Composer 2.5 Overview [Youtube] [MOV] [WMV] FX Composer 2.5 New Features [Youtube] [MOV] [WMV] Key Features of FX Composer 2.5 Shader Creation Wizard Visual Styles Particle Systems Integrated Shader Library Texture Viewer. MPQ Archivy - MPQ file format. MPQ Archives MPQ file format MoPaQ archive format on Wiki Justin Olbrantz (Quantam) and Jean-Francois Roy (BahamutZERO) have written a more detailed description of MPQ format.

It can be found on Devklog.com. General layout of a MPQ file General layout of a MPQ file is the following: MPQ File Header and MPQ User Data Great majority of file format begins with a header and MPQ format is no exception. 'MPQ\x1A' means there's MPQ header at that offset 'MPQ\x1B' means there's MPQ user data header at that offset Both structures, written as C++ data types are here: // MPQ user data struct TMPQUserData { // The ID_MPQ_USERDATA ('MPQ\x1B') signature DWORD dwID; // Maximum size of the user data DWORD cbUserDataSize; // Offset of the MPQ header, relative to the begin of this header DWORD dwHeaderOffs; // Appears to be size of user data header (Starcraft II maps) DWORD cbUserDataHeader; }; HET Table The structure of the HET table, as stored in the MPQ, is the following: BET Table Hash Table Block Table.

XNA Tutorial > DirectX using C# Welcome to the tutorials on DirectX and XNA. As you can see in the table of contents on the right, this site contains tutorials in a variety of languages. This page was written to provide some comments on the differences between these flavors. When you click on one of those languages, you’ll see they’re subdivided into Series, which again consist of several chapters. Each chapter puts its focus on a new XNA (or DirectX) related concept. Below you can see the screenshot of the final chapter of the 3 Series: Let’s first discuss the different languages: XNA using C# Released in December 2006, XNA is intended to push the ease of game programming to the extreme.

DirectX using C# Before the release of XNA, this section used to be the main section of this site, and it contains 3 full Series. DirectX using C++ Writing a program using C++ gives you the possibility to use native DirectX calls. DirectX using Visual Basic Also part of Managed DirectX, coding DirectX using Visual Basic is user-friendly. RSamaium/RPG-JS - GitHub.