<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/">

    <channel>
    
    <title>Michael Stowell Game Development Blog</title>
    <link>http://stowelly.co.uk/index.php/site/index/</link>
    <description></description>
    <dc:language>en</dc:language>
    <dc:creator>napalm_binary@yahoo.com</dc:creator>
    <dc:rights>Copyright 2008</dc:rights>
    <dc:date>2008-05-05T21:39:00+00:00</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
    

    <item>
      <title>Portfolio: Michael Stowell</title>
      <link>http://stowelly.co.uk/index.php/site/portfolio_michael_stowell/</link>
      <guid>http://stowelly.co.uk/index.php/site/portfolio_michael_stowell/#When:15:22:00Z</guid>
      <description>Name &#45; Michael Stowell

Date of Birth &#45; 22.07.1984 

Contact &#45; mike&quot;at&quot;rookie3.co.uk

Msn &#45; mike&quot;at&quot;rookie3.co.uk

Willing to work &#45; United Kingdom

Available for work &#45; June 2008


Curriculum vitae : 

Viewable Online

Michael_Stowell_CV  PDF (84kb)

Michael_Stowell_CV DOC (52kb)


4E6 &#45; Work in progress




Created Using:

Visual C++, Ogre, Ogrenewt, Newton physics library, HLSL, CG, CEGUI, Open Input System, Fmod.


Description: 

This project is a combination of my code base fromDestinatum Engine and Ogre (open source graphics rendering engine). It was a requirement for a university assignment that I used Ogre to create a game of pretty much any description, so I combined the work I had already done on Destinatum engine into Ogre allowing me to have a framework set up and finally develop a game with what i have been developing for the last few years. 


Development Blog:&amp;nbsp; Link

Download: note this is currently in Beta stage Right click and Save as (32 mb)

Source Code: note this is currently in Beta stage  Right click and Save as


Multi threaded wave simulation using the PS3  &#45; Work in progress




Created Using:

gcc, g++, libSpe, Irrlicht.


Description:

This project (my dissertation) is an investigation into an optimal technique for simulating ocean waves using IBM’s cell processor on the Playstation 3 and analysing its performance using a range of simulated workloads whilst comparing the results to that of Intel’s Core 2 Duo processor range.


Development Blog: Link

Download: Coming soon

Source Code: Available on request by email  


SDL Shooter




Created Using:

C++, SDL, SDL Mixer, 


Description:

A top&#45;scrolling shooter made using C++ and SDL, it provides a demonstration of the following technologies:

Particle System, Sound Effects / Music, Power ups / Health, Transparency, Animation, Scoring System, Enemys / Bosses, Tile mapped Levels, fully compatible with tile maps created using Mappy :http://www.tilemap.co.uk/, Splash Screen’s using Ascii art outputed as text .


Development Blog: Link

Download: Right click and Save as

Source Code: Right click and Save as


Destinatum Engine





Created Using:

C++, DirectX 9, Newton physics library


Description:

This has been my main personal project for the last 2&#45;3 years, it is basically my own 3D engine built using c++ and DirectX 9 which i created as a learning exercise in order to aid my learning of 3D techniques and mathematics. it is possible to edit your own scenes via text files, features bounding sphere collision, sky box, lighting can be positioned via text file, skinned animated meshes are supported in the .X file format.


Development Blog: Link1 Link2

Download: Right click and Save as 

Source Code: Right click and Save as 


3D Casino






Created Using:

C++, DirectX 9


Description:

This is the first minor project I started using Destinatum engine I have been working on for the last couple of years, it would eventually become a full blown casino game (if I had the artwork) currently its possible to walk up to the blackjack table and play against the computer dealer.


Development Blog: Casino

Download: Right click and Save as

Source Code: No longer availible


Text based game engine

 


Created Using:

C++, Windows API


Description:

An assignment for university, demonstrating usage of the Standard Template Library, and related data structures. it is a flexible engine that will allow a user to create a text based game simply by editing data files (for full feature list please read the blog).


Development Blog: Link

Download: Right click and Save as

Source Code: Right click and Save as


Two player Draughts game




Created Using:

C++, Windows API


Description:

An assignment for university as a learning exercise in how different data structures are used in games. demonstrates simple game play mechanics. (for full feature list please read the blog)


Development Blog: Link

Download: Right click and Save as

Source Code: Right click and Save as


Arkanoid clone for the Xbox 360 and PC




Created Using:

C#, XNA game studio


Description:

Ok this is just a small thing i did last year as soon as the runtimes for the xbox 360 where released just for me to see how quickly i could throw something together in a language id never developed in (c#) and a platform i had never developed for.


This is approximately 5 hours work and is pretty much no&#45;frills, has collision detection and plays as it should, a future revision will have a number of levels, proper ball physics and an interface. 


Development Blog: Link

Download:&amp;nbsp; Right click and Save as

Source Code: Right click and Save as</description>
      <dc:subject>Portfolio</dc:subject>
      <dc:date>2008-04-10T15:22:00+00:00</dc:date>
    </item>

    <item>
      <title>Business of computer games talk Synopsis&#8217;s</title>
      <link>http://stowelly.co.uk/index.php/site/business_of_computer_games_talk_synopsiss/</link>
      <guid>http://stowelly.co.uk/index.php/site/business_of_computer_games_talk_synopsiss/#When:21:39:00Z</guid>
      <description>Below is a few write&#45;ups on guest speakers we had at uni, hosted here temporarily as part of an assignment


Aardvark Swift Synopsis

Read More:

On Monday the 18th February, Lisa Corbet from Aardvark Swift games industry recruitment agency came in to talk to us about various aspects of getting employment within the games industry and to tell us about her company and what they do.


Aardvark Swift are a specialist games industry recruiter with numerous clients, including Sega, EA, Microsoft and Sony, with over 20 years experience and cover recruitment in all aspects of the industry, including technical roles, creative roles, management / production, quality assurance and sales and marketing.


She gave a lot of advice with regards to using agencies in general, not just her one. Such as it is preferred to only use one or two agencies in order to prevent your CV getting spamed everywhere and making you appear to just be “trying your luck” so to speak. In addition to this the agency provides its service completely free to potential employees, they charge the company that is recruiting for any successfully placed candidates.


As a programmer the most important key to getting your foot in the door (an interview) is your CV as it will be initially assessed in seconds, and if the employer doesn&#8217;t see what he / she is looking for in that time then it will just be placed with all the other unsuccessful applications. It is important to start with a clear and concise objective summarizing everything in the CV down to just a couple of lines, stating key skills, relevant experience, and why you want to work in the games industry should also be included. Next it is important to put your employment history in a very brief listed type view, stating any relevant jobs industry / non industry based in chronological order. Educational history should come next, it is important to list modules and grades in order to give the potential employer as much information about you as possible. It can also create a good talking point in the interview if you list any interesting hobby&#8217;s and activities. Aardvark Swift make a guarantee that they will not send your CV to any companies without first asking you, in order to ensure no&#45;ones time is wasted due to multiple applications etc.


Some usefully advice on the Interview process was covered, It is a good idea to prepare well for the interview by reading up as much as possible about the company, and maybe even renting one of their titles in order to give yourself some talking points in the interview, and also makes you seem interested in the company itself. It is also a good idea to prepare some questions such as what the future plans of the company are, project mile stones and how many candidates are they recruiting. Some companies cover the cost of travel to the interview, but most wont do that until the 2nd interview, if at all. It is a good idea to dress smart / casual. I.e not in a suit, but not t&#45;shirt and shorts. Body language and eye contact play a crucial part of the interview process. Maintaining eye contact, and giving a firm handshake, also while sitting sit upright and alert as it could give a bad impression.


It is also a good idea to bring samples of your own work, maybe an even better idea to make sure it works on multiple machines, or maybe even take a laptop with you to ensure it is demo&#45;able. Although in most cases taking a sample of source code snippets of your best bits should suffice.


All in all I think this talk gave a pretty good insight into the recruitment process, and having worked with Aardvark Swift and a few other industry recruiters I can relate to it first hand. Although I do feel the talk was very biased towards programming students as there where a number of artists and designers there. It also seemed to be very biased towards promoting the agency, e.g. stating that most companies prefer if you use the agency, which I have experienced not to be so true through trawling companies websites and speaking to people already working within the industry, but I guess it was kind of to be expected.

 


I&#45;play Synopsis

Read More:


On Monday the 3rd of February, Thomas Hulvershorn  Global Quality Assurance manager of I&#45;play mobile phone game developers came to do a talk on the company he works for, the development cycle of a mobile phone game, and in particular quality assurance in mobile phone games.


I&#45;Play founded in 1998 and now owned by Oberon media publish a variety of games for mobile phones, with a number of very popular titles including Jewel Quest, Weakest Link, and Fast &amp;amp; the Furious. And although primarily they are a publisher, they also have a in house development team delivering content from their own IP&#8217;s and others.


The development cycle for mobile phone games is much different to that of games destined for the console / PC market, mobile phone games are much quicker to make, with much shorter time frames on projects, allowing for them to have several projects running sequentially without them really affecting each other and without the need for “crunch time”. The development cycle is split up into 8 different parts or “sprints” if you like. With the initial 3 sprints being the time it takes to get the first playable version of the game the next 3 sprints to get it into Alpha stage. And finally into Beta for the final bug sign offs, certification and then when the project is finished signing off and releasing it.


There are a number of disadvantages of mobile phone development. For example, in order for the mobile content providers to allow the distribution of a game, some very specific rules have to be adhered to, the main one being compatibility, issues with different memory / processor limitations on each phone. This means that several versions of the game must be made in order to fit the requirements for each phone / phone category, and every game must be exhaustively tested using emulators and phone hardware for every phone on the requirements list.


There are also a number of advantages of mobile phone development. The main one being that nearly everyone has a mobile phone, and having a game published that is compatible with the majority of phones out on the market there is a potential of over 1.7 billion potential customers, the games can be provided cheaply due to the short development cycle and minimal distribution costs, and is readily available to everyone with just a few clicks on your phone.


There are a number of different testing methodologies involved when it comes to mobile phone game quality assurance that wouldn&#8217;t necessarily be present in &#8216;normal&#8217; game development. Such as what happens when the user receives an incoming call /sms does the game pause and allow the user to receive the call? Or does it handle it badly and cause  some kind of undesirable behavior. What happens when the battery dies?. These are all tests known as “black box testing”, an external perspective of the test object to derive test cases. Basically the tester takes a systematical approach to testing the functional aspects of the game, usually following a check list and making sure everything works as it should. The opposite of this is “white box testing”an internal perspective of the system to design test cases based on internal structure. Basically from a code level, the tester must go through and test cases on all paths of the code to determine output and find any potential bugs before its too late.

 


3D Framework Synopsis

Read More:


On Monday the 7th of February, Rich from 3DFramework came in to do a talk on setting up your own business, and all of the related pitfalls and problems likely to occur, the highs and lows associated with it.


3DFramework is a visualisation company specialising in architecture and computer games, they have created a number of their own tools in order to streamline the development of content, and also generate extra revenue by licensing their software to other companies.


When establishing a new company it is important to consider carefully the legal status of it, being a soul trader or in a partnership, is cheap and easy to set up, you have complete control over your accounts, but on the negative side of this you are not legally separate from your company, and any actions you perform as a company you are personally responsible for. Limited liability is a little harder and more expensive to set up, but does come attached with many benefits, such as the shareholder in the company is not personally responsible for any of the companies debts, and also it looks a lot more professional when approaching other companies if you have limited liability. The guys at 3Dframework had a number of issues when it came to registering their company with regards to who&#8217;s name goes on the documents, due to having existing non&#45;disclosure agreements from their previous jobs only one could go as the businesses manager which at the time would have left him responsible for everything if the company gets sued, or runs into financial difficulty.


A number of financial options are available to a company, mostly through the banks, but the main point is that it is essential for the company to always have access to a buffer of cash, no matter how much is owed out, and how much is owed to you it is important that there is always cash to pay the bills and other unexpected problems, if a company is slow at paying you don&#8217;t feel guilty about being late with paying your outstanding debts, don&#8217;t leave the company short on cash at any period in time wherever possible. But with regards to bank funding, there are two main options availible, one of them being a loan, and the other a overdraft, loans are lower interest rate than an overdraft but it means that the amount you request (if successful) is the amount you owe, whereas an overdraft is higher interest, but you only owe the amount you actually use of it, so it is probably better to get a very high limit overdraft and only use what you require, paying back as much as possible wherever you can.


A method of ensuring you receive all payments from your clientèle is using a banks debtor control service which basically exists for the bank to pay the invoice to you almost straight away (minus a percentage) and let them recover the cost of the invoice. While it is probably not the most desirable way to do it, letting the bank take your hard earned money, it is a good way of knowing when money is coming into the account, and definitely a lot easier than taking someone to court over a relatively small amount.</description>
      <dc:subject>Articles / Industry</dc:subject>
      <dc:date>2008-05-05T21:39:00+00:00</dc:date>
    </item>

    <item>
      <title>Pre Beta Build: March Progress Log</title>
      <link>http://stowelly.co.uk/index.php/site/4e6_engine_pre_beta_build/</link>
      <guid>http://stowelly.co.uk/index.php/site/4e6_engine_pre_beta_build/#When:16:00:00Z</guid>
      <description>CLICK TO ENLARGE



 CLICK TO ENLARGE



 CLICK TO ENLARGE



 CLICK TO ENLARGE



 CLICK TO ENLARGE



 CLICK TO ENLARGE



 CLICK TO ENLARGE



 CLICK TO ENLARGE
Made quite a lot of developments this month. First of all I started to work on some basic artificial intelligence using simple distance and direction calculations between the NPC and the player, I wrapped this into a basic state machine in order to allow other behaviours to be easily added. After this I added a state for fighting and a state for randomly wandering about when the player is not within range. In order to stop the NPC&#8217;s falling off  the edge of the platform it was necessary for me to add some detection of the platform edge and link this into the AI&#8217;s wandering behaviour, forcing them to change direction until they are no longer in danger of falling off. When they are seeking or attacking the player this is not important as zombies are notoriously stupid and would most likely follow a person off the edge of a platform. A problem which still exists in this is that I haven&#8217;t added wall detection to the zombies so if they get stuck walking into a wall they may continue to walk into it until they randomly change direction, but this isn&#8217;t too hard of a fix.


For each of the npc&#8217;s I have attached collision meshes to the limbs used in contact when fighting (head, arms and leg) in order to accurately detect what kind of attack is being carried out and for how long they have been in contact (for harder / varied attacks) in order to apply damage and health. Due to a limitation in the number of different animations I have available I decided in order to make the combat a bit more varied and not so predictable I made it so while the player / npc is in the attacking state and its limb collision objects are colliding with the enemy it reduces health from them, meaning that if you hit a zombie with the ninjas hard attack and you catch them at a good angle the full force of the swing is applied. Also depending on what attack type they have received the AI when attacked receive a force in the opposite direction to what they are facing, and a different attack animation is played based on the attack. A small improvement on this would be to apply the force in the direction of the collision normal as opposed to their direction normal.


The turret I decided to create as I helped someone fix some buggy picking code which inspired me to implement a form of ray traced shooting. It was fairly easy to set up, although I did have some problems with the way newton works and the way I wanted this to work. In order to keep an rigid body still the best way to do this is setting its mass to 0 so that it has an infinite mass, but as I want to rotate the turret smoothly using forces (manually rotating creates serious collision issues) this wasn&#8217;t an option. So first of all I tried attaching the turrets dynamic body to a static body of 0 mass via 3 ball socket joints, and then manually rotating the static object, which worked more or less flawlessly, although I did begin to notice some glaring bugs which caused the dynamic body to sink into the ground, so I opted to use the same method I use for moving and stopping my character (applying an equal and opposite force to stop), so if the desired velocity of my turret was to always be 0,0,0 to calculate the force required to keep it still is the 0,0,0 – the current velocity multiplied by mass and time, this worked better than I imagined it to and is much less hacky than attaching to a static rigid body. Attached a cross&#45;hair entity to the end of the turret, basically a specified distance in the turrets local space Z co&#45;ordinate which is then multiplied by its rotational quaternion in order to give the direction, this is essentially how i cast the ray in order to shoot. upon the ray colliding first with a zombie i then apply an attack to it in the same way it is applied when in combat. in addition to this i added a simple particle effect in the same way as the cross&#45;hair in order to simulate muzzle flash, i may add some kind of chaser bullet as well just so you can visualise where it is going.


After I got the layout of the first level pretty much how I decided It was going to be I figured it was time to start making it look a bit nicer with lighting and shadows. I decided to apply  modulative stencil shadows, as they where easy to implement, fairly general purpose and still don&#8217;t look too jagged on the edges. After much deliberation and stress testing with large amounts of NPC&#8217;s I decided to only have one light in the first level (directional light representing the sun) but make it spread across the whole level (I may add some flaming oil barrels later but using omni lights with a very small range). Then using Ogres compositor material frame work I have applied using high level shaders a HDR effect (need to go through and optimise / modify this a lot to get the right look still) to give the level a bit more life and stop it looking dull.


So next up, finish the second and 3rd levels off, this is really a simple case of adjusting what is already there, and adding some more npc&#8217;s, turrets and lights. Sound effects which need to be linked into the appropriate physics material systems, the support for audio playback using Fmod is already written and functional so this is more of a design issue than anything else. Sort the sky out so that it is a sphere and not a dome, beginning to get annoyed by the empty spaces under the level. After this it should just be a case of playing around with the artwork (I have no artistic flare but I can still try) and optimise both the code and the shaders (also rewrite / refactor a few and implement my normal mapping shader). Then it will be simply a case of bug fixing, tweaking game play. And overall polishing the front end and usability.</description>
      <dc:subject>4ESix</dc:subject>
      <dc:date>2008-03-28T16:00:00+00:00</dc:date>
    </item>

    <item>
      <title>CV</title>
      <link>http://stowelly.co.uk/index.php/site/cv/</link>
      <guid>http://stowelly.co.uk/index.php/site/cv/#When:15:50:00Z</guid>
      <description>Michael_Stowell_CV  PDF (84kb)

Michael_Stowell_CV DOC (71kb)


Michael Stowell


Email: mike&quot;at&quot;rookie3.co.uk

Date of Birth:  22/07/1984

Available for work: June 2008


Profile

I am a hard working, confident C++ programmer looking to further my career within the games industry as a programmer. I am self motivated and a fast learner. I constantly strive to improve, I am driven by success and employ an iterative approach to my work, thus achieving my goals.


Key Skills

Strong C++ experience (7 years)
Good Physics and Maths
Extensive working knowledge of DirectX 
Understanding of a multitude of graphical / mechanical techniques (2D and 3D)
Linux and programming for Linux
Windows and programming for Windows
Knowledge of PS3 and Cell architecture
Basic working knowledge of OpenGL, SDL, GLSL, and HLSL

Education

2006 – 2008 &#45; The University of Bolton 

(BSC) Computer Games Software Development  , Expectant grade: 2:1.

Modules including: Software engineering, Maths, Physics, Multi threaded processing, AI, and 3D rendering techniques.
2002 – 2004 &#45; The University of Bolton

(BSC) Leisure Computing Technologies – Took some time out for personal development
2000&#45;2002 &#45; Lewes Tertiary College

(AVCE) Advanced ICT Double Award – BB

(A/S)  Computing &#45;  B

(AVCE) Business studies – Half Award – C
1995 &#45;2000 &#45; Tideway School Newhaven 

9 GCSE&#8217;s A – C

Employment history

Jul 07 – Sep 07 &#45;  Quality Assurance Technician &#45; Sega of Europe

Universe at War on PC

Functionality Testing

TCR / TRC Testing

Regression Testing
Sep 05 – Jul 07  &#45; Sales Assistant &#45; Gamestation

Custom Service (advising hardware / software purchases)

Occasional management duties

Deliveries and Stock control
Oct 04 – Sep 05  

Worked a variety of temporary factory / bar jobs whilst working on my portfolio
Aug 04 – Oct  04  &#45; Quality Assurance Technician &#45; Zoo Digital

Pool Shark 2 on PS2, Xbox and PC

Functionality Testing

TCR / TRC Testing

Regression Testing

Previous and current personal projects


Currently working on a multi threaded wave simulation project using Sony&#8217;s Playstation 3 and its Cell processor via Linux using IBM&#8217;s Cell SDK.
Currently working on a 3D game using a combination of my own engine and Ogre 3D
Developed a DirectX 9 based game engine 
Worked extensively with Newton Game Dynamics physics API
Have worked on a number of small 2D projects using the Windows API and SDL.
Developed a Breakout clone using XNA and C# for the Xbox 360
I have also spent some time experimenting with PS2, GBA and DS and Xbox home&#45;brew development


Interests

DJ&#8217;ing &amp;amp; Music Production
Console &amp;amp; PC Gaming, avid FPS and RTS player
Films &amp;amp; Comedy particularly British made

 ‘References available upon request’.

Michael_Stowell_CV.doc

Michael_Stowell_CV.pdf</description>
      <dc:subject>CV</dc:subject>
      <dc:date>2008-03-28T15:50:00+00:00</dc:date>
    </item>

    <item>
      <title>Project Plan</title>
      <link>http://stowelly.co.uk/index.php/site/project_plan_for/</link>
      <guid>http://stowelly.co.uk/index.php/site/project_plan_for/#When:18:31:00Z</guid>
      <description>Project Plan

for:

A Multi&#45;threaded wave simulation for oceans using the Playstation 3’s Cell Processor 

by

M.Stowell


Supervised by A.Williams


March 2008
Aim


This project is an investigation into an optimal technique for simulating ocean waves using IBM&#8217;s cell processor on the Playstation 3 and analysing its performance using a range of simulated workloads whilst comparing the results to that of  Intel&#8217;s Core 2 Duo processor range.


By doing this I hope to achieve a relatively fair comparison of how the two different architectures perform under this type of simulation, and will also serve as a study into methods of carrying out work efficiently on the Cell processor.


Background


With ever increasing developments in technology / computer hardware, and a much greater demand for aesthetically pleasing totally immersive environments in computer graphics and virtual reality,  it becomes both necessary, and with current hardware, more and more possible for these applications to use accurate simulations of real world phenomena. 


One approach to simulating water talked about in Game Programming Gems &#45; Gomez 2000, describes a method of simulating water in 3 dimensions using only the data for a 2 dimensional simulation. The water is represented as a 2 dimensional plane thought of as a stretched elastic membrane, with the height of the specific vertices being calculated using a partial differential equation. This is considered to be a fairly accurate way to represent waves in computer graphics, but it has a number of downsides with regards to performance and memory.&amp;nbsp; First of all it uses the previous wave position and the current wave position in order to effectively interpolate to the next position, this uses a lot of memory as is it essentially storing two meshes. It also requires that each vertex has access to detailed information about neighbouring vertices in order to calculate the new position. I believe this will create massive problems when it comes to multi&#45;threading the simulation as it will seriously restrict the ability to split the program up into multiple threads of execution.


Another approach detailed in GPU Gems &#45;  Finch 2004 is to use the graphics hardware shading capabilities of modern GPU&#8217;s (not so dissimilar to the SPE&#8217;s in the Cell processor) to apply a “sum of sine&#8217;s” approach to the vertices in order to approximate their positions, this will easily allow for multiple waves / ripples. This method appears to be much more flexible than the previous as it uses a parametrised approach as opposed to basing position on forces from neighbouring vertices, it will allow for the workload to be easily divided up into threads, gives precise control over the geometry, and allows for easy scalability.&amp;nbsp; As previously mentioned the work described here is carried out using GPU specific hardware, I plan to rework this into an efficient  CPU based algorithm that is especially optimised for the Cell processor.


Unfortunately due to the Cell processor being a relatively new architecture, not too much work has been publicly released, particularly on the subjects of rendering and physics simulation. Insomniac Games recently released a document from one of their presentations at this year&#8217;s (2008) Game Developers Conference. Spu Shaders – Acton  2008 It lists a number of methods for using the Spu&#8217;s to do the work of a GPU&#8217;s shader. Some of the main key aspects I took from studying this where that it is crucially important to concentrate on the layout of data so as it is completely modular, straightforward, and uses as much of each SPE as possible, due to the nature of bandwidth and memory constraints it appears that the SPE&#8217;s can process data a lot quicker than they can receive it, so with regards to parallel optimisations following these rules should help me to develop a very efficient algorithm for this study.


Specification


The end product is to be two applications built from the same code base / framework that are capable of running on  x86 and Cell architecture. It should graphically represent the wave simulation and include some method of adjusting the scale of the simulation and all relevant parameters in order to accurately benchmark performance. The x86 version should be multi threaded in such a way that the number of cores used can be scaled, so for a single threaded machine it is possible to run just one thread, but this must be scalable up to at least 4 threads in order to benchmark the increase in performance. The Cell version of this should perform the simulation using only the SPE&#8217;s (starting with 1 SPE scalable up to 6) with the PPE in charge of rendering the output of the simulation and controlling the flow of data / programmes between memory and each of the SPE&#8217;s. In order to correctly assess fair results the x86 should be benchmarked using  both the CPU to do the drawing routines and the GPU for each test.


Due to the grid like method I am using to represent the wave surface a main scaling factor can  be how many segments of the grid there are, increasing the amount of segments effectively increases the level of detail and also the processing power required. Starting values for my initial tests will be 80 for low, 120 for medium and 160 for high, although depending on the performance of the machines I may increase / decrease in order to get usable results.


Another aspect of  GPU Gems &#45;  Finch 2004 I liked was the “sum of sine&#8217;s” approach that he uses, this can easily be translated into having n number of waves active at any time all being able to affect each other as they would in reality, which should also be scalable from 0 to 4, this should provide a decent amount of data for testing purposes. 


The parametrised aspects of the wave data should be fully represented and editable either at run time through a GUI or at lest be easily modifiable via text file to provide quick testing capabilities.


Strategy


In order to effectively implement everything that the specification outlines I must break this down into individual sections.


First of all it is necessary to create a generic framework for rendering. This will require a vertex buffer stored at memory level so that the x86 / Cell has easy access to the data. This should be created using the Irrlicht rendering engine. And should be able to render a grid of triangles with scalable dimensions. This is all that is required from the render as the wave simulation code will handle all of the vertex transforms.


Then just using the PPE of the Cell and one thread of the x86 develop the methods required to carry out the simulation. This will obviously be terribly slow and pretty useless with regards to obtaining results for this simulation. But this will ensure that the starting framework is the same for both platforms.


With all of this working correctly all necessary parameters should be exposed to some kind of interface whether it be a graphical interface or simply using data loaded from text file / entered from a command line.


After this it will be necessary to multi thread the application for the Core 2 Duo splitting the workload into chunks suitably sized to make it execute as fast as possible. The same needs to be done with the Cell processor i.e. splitting up the data workload as effectively as possible in order to create the fastest  method for processing this simulation on the SPE&#8217;s.


Schedule 




 CLICK TO ENLARGE


Experiment with the Irrlicht rendering engine looking for the optimum set&#45;up across the two platforms and try to define the best possible way to represent the data.


Test out different methods of manipulating the vertices in software, in order to determine an efficient way of directly modifying the vertex buffer.


Use previously obtained method to attempt first basic calculations to manipulate a single wave moving along a pre set sine wave as a test of what kind of scale / values I&#8217;m working with, and to give me an idea how well the buffer manipulation works.


Begin to create a basic wave class containing a lot of the required parameters  such as Wave Length, Amplitude, Speed, and Direction.


Concentrate on using the appropriate mathematical terms to correctly create a single wave supporting change in the parameters.


Concentrate on using the appropriate mathematical terms to calculate the surface normal and tangents for the waves at any point. This will be useful for texturing / lighting and also for interacting with any objects outside of the simulation (e.g a Boat object).


Implement the Gerstner wave function in order to add steepness to waves.


Work on the ability to include multiple waves (up to 4).


Create some test scenes using different pre&#45;sets for a number of waves / situations in order to get an idea of what performance to expect and catch any bugs that may occur.


Spend time studying Libspe2 in order to have a fairly good grasp of its functionality before I attempt optimisation


Use OpenMP to split the x86 workload into threads.


Use Libspe2 to create a number of SPE programs that do different aspects of the wave simulation, also create a SPE program capable of carrying out the whole simulation process on a set of data.


Use the PPE to split the Cell workload into threads and distribute amongst some of the SPE  programs in order to see what works well.


Research current published resources for methods of optimising for the cell, spend time speaking to other developers to gain insight.


Optimise SPE routines using a number of documents published by IBM and other various other sources as a guide.


Complete prototype report.


Implement all tests on both platforms carefully recording results.


Compile all data and try to determine if the test was successful.


If data seems to have inaccuracies spend time determining if any of the methods used can be modified in order to produce better results.


Re&#45;test and compile data.


Integrate data into Prototype Report.


Finish report.</description>
      <dc:subject>PS3 / Cell</dc:subject>
      <dc:date>2008-03-10T18:31:00+00:00</dc:date>
    </item>

    <item>
      <title>4E6 Engine First Combat Test:</title>
      <link>http://stowelly.co.uk/index.php/site/4e6_engine_first_combat_test/</link>
      <guid>http://stowelly.co.uk/index.php/site/4e6_engine_first_combat_test/#When:16:24:01Z</guid>
      <description>CLICK TO ENLARGE




 CLICK TO ENLARGE</description>
      <dc:subject>4ESix</dc:subject>
      <dc:date>2008-03-08T16:24:01+00:00</dc:date>
    </item>

    <item>
      <title>How to: Use Irrlicht rendering engine on ps3 Linux using just the framebuffer</title>
      <link>http://stowelly.co.uk/index.php/site/how_to_use_irrlicht_rendering_engine_on_ps3_linux_using_just_the_framebuffe/</link>
      <guid>http://stowelly.co.uk/index.php/site/how_to_use_irrlicht_rendering_engine_on_ps3_linux_using_just_the_framebuffe/#When:10:40:01Z</guid>
      <description>Ok this might not be of too much use to many people due to it only rendering in software mode on the ppe  (maybe someone knows if its possible to slightly accelerate this with the rsx hack driver?? I&#8217;ve not tried).&amp;nbsp; But for projects like mine (wave simulation) where rendering speed / complexity of scenes isnt a major thing then this could be suitable for you. The framebuffer driver is not 100% completed yet (a guy off the irrlicht forum gave me an early release of his fb driver that didn&#8217;t have easy integration t the source, I have modified this slightly to replace the Linux driver completely, id imagine in future versions this will be standard)


Also it may even be possible to optimise the software drawing routines for the SPE&#8217;s. Maybe someone with a bit more knowledge can shed some light on this?


1: Download Irrlicht 1.4 http://irrlicht.sourceforge.net/downloads.html   (the top one 16.1 mb)


2: Extract to a directory then “cd” to the include directory and replace “IrrCompileConfig.h” with the new one.


3  “cd” to the “source”  folder and replace “CirrDeviceLinux.h” and “CirrDeviceLinux.cpp” with the replacement files included


4: make.... wait about 5 minutes


5: cd to the examples directory and run ./buildAllExamples.sh


6 cd to the bin directory and test the demo&#8217;s out 


you may need to modify the resolutions of the demo&#8217;s to match that of your screen, in the screen shot here I&#8217;ve got it running at 1080i


files:&amp;nbsp; http://stowelly.co.uk/IrrllichtFB&#45;replacement&#45;Files.rar  (right click save as)</description>
      <dc:subject>PS3 / Cell</dc:subject>
      <dc:date>2008-02-27T10:40:01+00:00</dc:date>
    </item>

    <item>
      <title>4E6 Engine First Gameplay Test : Febuary Progress Log</title>
      <link>http://stowelly.co.uk/index.php/site/4e6_engine_first_gameplay_test_febuary_progress_log/</link>
      <guid>http://stowelly.co.uk/index.php/site/4e6_engine_first_gameplay_test_febuary_progress_log/#When:19:01:00Z</guid>
      <description>CLICK TO ENLARGE




 CLICK TO ENLARGE

Over the last month since my last update I&#8217;ve been looking into testing out some of the functionality i have spent all this time developing and putting it into practise with some simple game play elements, not too much in the way of functionality has been added except for the addition of an emitter which is capable of being scripted to emit objects at timed intervals, it is possible to create / destroy these via commands. added functionality for the use of a interface plug&#45;in called CEGUI which allows for easy binding of functions to interface elements, and allows me to display game data to the user very easily.


The video shows 2 half finished levels with place holder artwork, the very first level involves the player getting over 2 moving platforms using dexterity, with a very simple puzzle in which the user must push a block up to a platform with a button on it that triggers the moving platform to the exit. I had to overcome a number of problems to achieve this. first of all being the jumping system for the game:


 jumping was easy enough, just applying an impulse to the players physics body when the user presses jump. but one problem with this is detecting whether the player is in contact with the ground. i thought of a couple of ways to do this. one of which is casting a ray below the player a specified amount in order to determine if the ground is underneath the player, and another whereby I use the physics material callback between &#8220;player&#8221; and &#8220;floor&#8221; so when they collide a flag in the player object is set to &#8220;on ground&#8221; and every frame is set by the player to not on ground, allowing accurate ground detection every frame. this also presented another problem. when the player is on a object defined as &#8220;floor&#8221; i.e anything you can walk / jump on it sets the flag to true, all well and good, but if this same object is something the player can stand touching such as a wall it means the player is still able to jump, even if they are in the air, allowing the player to jump multiple times up and over walls. i used a little bit of maths to solve this issue in the material callback. so upon collision i obtain the contact position and normal of the collision, normalise it get the dot product of the resultant vector and the players normal (0,1,0) and then get the inverse cos of this, after this it is simply a matter of determining if the angle obtained is the right angle for a player to jump from.


another small issue that was fairly easy to resolve was if the player is standing next to a platform / block that they wanted to jump on and they where not moving to begin with it meant that there was no velocity applied to jump on top of it. i resolved this by adding a small amount of forward force to the character if they are in this situation.


the second level in the video entails the user getting to the top of the ramp in order to progress, but i have set up a number of emitters to emit spheres with a really high mass that can knock the player off the level hence forcing them to start again. to begin with it didn&#8217;t knock the player off of the platform due to the way that stopping force is applied to the character when on floor in order to correctly stop (as opposed to using friction to stop which is unrealistic). this meant that i had to add a call to the characters jump function on collision with one of these spheres, allowing for more of a challenge mode of play.


i was also presented with a design problem in this level, with lots of spheres if you do the level the first time it is an appropriate level of difficulty as the balls hadn&#8217;t yet got onto the bottom platforms by the time you where passed that, but if you got knocked off on the way up the ramp it was  near enough impossible to complete (as you can see from the video) , i resolved this by extending the bottom section of the level by a significant amount and reducing the emit rate of the spheres, this made it a constant difficulty for the whole level.</description>
      <dc:subject>4ESix</dc:subject>
      <dc:date>2008-02-26T19:01:00+00:00</dc:date>
    </item>

    <item>
      <title>SDL Shooter</title>
      <link>http://stowelly.co.uk/index.php/site/sdl_shooter/</link>
      <guid>http://stowelly.co.uk/index.php/site/sdl_shooter/#When:22:11:00Z</guid>
      <description>CLICK TO ENLARGE




 CLICK TO ENLARGE


It is availible for download here: SDL Shooter  (right click and save as)
A top&#45;scrolling shooter made using C++ and SDL, it provides a demonstration of the following technologies:


Particle System

Sound Effects / Music

Power ups / Health

Transparency

Animation

Scoring System

Enemys / Bosses

Tile mapped Levels, fully compatible with tile maps created using Mappy : http://www.tilemap.co.uk/

Splash Screen&#8217;s using Ascii art outputed as text



The objective is to get to the end of the 4 levels without dying, each level has an increasing amount of enemys with a boss at the end.




Controls


For optimal playing experience use keyboard and mouse


the mouse can be moved anywhere on the screen and the turret will rotate / shoot at the exact point of rotation in order to shoot enemys.


left mouse button fires, there is no limit to how many times the user can fire


W,A,S,D and the arrow keys are all able to be used to control movement


Esc exits the game


                                                                               

   Credits                                                                             

                                                    

           Programming :

 

		  Michael Stowell 


	Artwork:

		  http://www.reinerstileset.de/

		  &amp;amp;  SpriteLib GPL


	Music :&amp;nbsp;   

		Theme tune by  Relapse

		http://myspace.com/junglenobody


	Sound :

		http://www.reinerstileset.de/</description>
      <dc:subject>Game Development</dc:subject>
      <dc:date>2008-02-11T22:11:00+00:00</dc:date>
    </item>

    <item>
      <title>Final Year Project Proposal</title>
      <link>http://stowelly.co.uk/index.php/site/final_year_project_proposal/</link>
      <guid>http://stowelly.co.uk/index.php/site/final_year_project_proposal/#When:23:31:00Z</guid>
      <description>Title: Multi&#45;threaded wave simulation for oceans using the Playstation 3&#8217;s Cell Processor

Proposer: Michael Stowell

Degree Pathway(s): Computer Games Software Development BSc

Description:

This project comprises of two main parts: 

Creating / using another persons solution as the basis of a software rasterizer for the PS3, due to the lack of any kind of graphics API for the open source PS3 development tools

The main part of the project being a study into a number of different methods of simulating waves, then making an attempt to optimize these for the PS3&#8217;s Cell processors SPE&#8217;s in order to make them as efficient as possible, this must also be scalable (I.e number of SPE&#8217;s responsible for the simulation). Comparing the performance outcomes of each method against that of current PC dual core architecture


Expected Outcome(s):

I predict that with the correct optimizations using the SPE&#8217;s that the CELL can greatly outperform a Intel Core 2 Duo dual core machine with regards to the speed in which it can process the wave simulation data. Of course this is all dependent on the amount of processing power required to render the output correctly on the CELL, with the PC having the rendering all carried out by the graphics card it is possible that the PC may still be faster even with optimizations.


I would like to be able to answer a number of questions through my research, being whether or not it is even necessary to carry out multi&#45;threading,  how multi&#45;threading can improve the results of a non multi&#45;threaded simulation and have an analysis of how performance changes when the number of threads / SPE&#8217;s is greater / lower.


The results will be displayed by a logical analysis of both systems outputs at varying levels of calculation intensive processes using a frame counter and a number of performance measuring tools in order to serve as an indication of my results. If it is possible with the results of the SPE scaling I would like to determine the equation of a graph showing the correlation between number of threads and performance.


 Equipment Required:

          Playstation 3 retail console.

          Any PS3 compatible Linux Distribution.

          HDMI / Component compatible screen.

          PC for development.


  Staff Expertise:

          Andrew Williams : Linux / Multi&#45;threading

          Phil Carlisle : 3D Rendering techniques


  Estimated Costs Of Any Special Purchases:

          N/A Equipment already purchased


Nature Of Academic Challenge: The nature of this project is to research into the mathematics and work of other people who have followed similar studies into wave simulation on computer hardware in an effort to improve on these methods and effectively optimize these for the CELL processor as efficiently as possible. This will also serve as a basis into researching how effectively the threading capabilities of the CELL processor are compared to the current threading techniques on Dual Core PC architecture.</description>
      <dc:subject>PS3 / Cell</dc:subject>
      <dc:date>2008-02-10T23:31:00+00:00</dc:date>
    </item>

    
    </channel>
</rss>