Archive for the ‘HLSL’ Category

XNA Archive

Wednesday, March 11th, 2009

I just realised some of my old XNAGPUParticles project videos have gone walkies. So I have reposted them on youtube. These are my old projects from my final year of uni, binary and source code can be found in the relevant post for each video.

http://www.mikecann.co.uk/?p=163

http://www.mikecann.co.uk/?p=169

I have another reason for these old re-posts, something a little more flash orientated.. Stay tuned for more info ;)

XNAGPUParticles 1.1

Friday, April 27th, 2007

I got bored of revision for my final exam so i decided to play around with my XNAGPUParticles abit more and came up with this thing.


Basically it takes a texture and picks out pixel colours from the texture and maps it onto a large vertex buffer which then is used as the input to my Vetex Texture particle system.

I have made a few adjustments to the way the vertex texture system works, now each particle has its own centre of gravity that it revolves about.

You can grab the new binary: XNAGPUParticles_v1-1.zip (473)

As per last time if you wish to see the source please dont hestitate to email me.

Particles Video

Sunday, April 1st, 2007

This is the video of the XNAGPUParticles project i have uploaded for those peeps who doent have the requirements to run it but want to check it out anyways.

LINK

XNAGPUParticles (1,000,000 Dynamic Particles)

Friday, March 30th, 2007

This is another submission of work i have done in my final year. This time the project is all my own work.

The project is a continuation based on work from before Christmas and is an experiment into state preserving particle systems. I started out with examining the basic particle systems such as a static system and one that updates on the CPU. I then moved onto more advanced systems such as the GPU based system described by Lance Latta and others. I soon discovered however that XNA doesn’t support "uber buffers" and as such had to invent a new solution using vertex textures. The result is a particle system written in XNA that is able to update and render 1,000,000 particles at about 22 frames a second with 4 forces.

To view this demo you first need to have the XNA runtimes. If you dont have those just go HERE.

Once installed you can grab the binary for this project XNAGPUParticles.zip (843)

If you are interested in seeing the source code for this project, just drop me an email: mike.cann@gmail.com

Oh also, the written report for this can be found GPUParticles2003.doc (802)

ShadowShader in RenderMonkey

Wednesday, January 24th, 2007

This is my second dabble in HLSL and this time it was just for personal reasons. I wanted to create a shadow effect for a 2D game that we are developing for our group project. Its actually very hard to find any resources on the internet about this but i did stumble accross one resource (which i have now lost the link to) where someone has created a basic shadow effect purely in shaders.

So i decided to have a go and this was the outcome. In the end however its too slow to be used in the game but serves as a usfull learning tool when the hardware catches up.

To view this you will need to download RenderMonkey.

Download: ShadowShader.zip