John Conway's Game of life HLSL edition for irrlicht
Posted: Sun Dec 18, 2011 12:45 pm
John Conway's Game of life running in HLSL pixel shader.
On my Quest to learn HLSL Shader programing i stubeled upon a blog where some one built an implementation of John Conway's game of life using compute shaders after looking up the rules i though about trying to build one using pixel shader.
1024*1024 at 449 iteration per seconds
i might even be able to get a few more out of it but the version you are getting is vsync enabeled cause otherwise it's just to fast
in my edition the dead cells leave a corps behind that slowly fade
the color tel wich rule killed them.
the goal of the project is mainly to practice HLSL ,C++ Programing and maintaining code (bug fix, update, new feature)
some future feature are planed if you have sugestions feel free to tell
it runs on pixel shader 2.0 directx 9.0.
randoom cells can spawn from just about any type of image
but if you wanna try to manualy build a cell you will need to edit a file pixel per pixel and the file will need to be exactly 1024*1024
from what i understood this version currently require that you install microsoft visual C++ redistribuable
here are the links for the download provided by microsoft
for windows x86
http://www.microsoft.com/download/en/de ... px?id=5555
for windows x64
http://www.microsoft.com/download/en/de ... x?id=14632
i'm currently working on an update version with some other function and that would include the c++ redist to instal them without any intervention from the user(idealy)
Download link availible here http://granyte.blogspot.com/2011/12/joh ... ition.html
EDIT the link was not directing to the proper post in the blog fixed
On my Quest to learn HLSL Shader programing i stubeled upon a blog where some one built an implementation of John Conway's game of life using compute shaders after looking up the rules i though about trying to build one using pixel shader.
1024*1024 at 449 iteration per seconds
i might even be able to get a few more out of it but the version you are getting is vsync enabeled cause otherwise it's just to fast
in my edition the dead cells leave a corps behind that slowly fade
the color tel wich rule killed them.
the goal of the project is mainly to practice HLSL ,C++ Programing and maintaining code (bug fix, update, new feature)
some future feature are planed if you have sugestions feel free to tell
it runs on pixel shader 2.0 directx 9.0.
randoom cells can spawn from just about any type of image
but if you wanna try to manualy build a cell you will need to edit a file pixel per pixel and the file will need to be exactly 1024*1024
from what i understood this version currently require that you install microsoft visual C++ redistribuable
here are the links for the download provided by microsoft
for windows x86
http://www.microsoft.com/download/en/de ... px?id=5555
for windows x64
http://www.microsoft.com/download/en/de ... x?id=14632
i'm currently working on an update version with some other function and that would include the c++ redist to instal them without any intervention from the user(idealy)
Download link availible here http://granyte.blogspot.com/2011/12/joh ... ition.html
EDIT the link was not directing to the proper post in the blog fixed