Showing posts with label university project. Show all posts
Showing posts with label university project. Show all posts

Wednesday, 1 May 2013

Bézier and B-Spline implementations (in 3D!)

I thought i would upload a few screenshots of my work with creating patches/surfaces in 3D using both a Bézier and B-Spline solution.


Above is an overview of a simple 3D environment. The blue objects are created using a Bézier based implementation while the other objects use a B-Spline based solution. The lines in yellow represent my control points that are used to create the curves.



The Bézier based implementation is a cubic and also deals with normal values, which you can see in the shading on the image above. These are obtained by doing a standard method of finding the tangents in both directions  and then getting the cross product of those two vectors. Higher "t" and "s" values would make the shading look more realistic.



The two B-Spline shapes do not have shading, but as you can see create quads on the patches correctly. The capsule model (in green) was drawing by entering control points myself, showing that any shape could really be drawn with ease as a quick demo of B-Spline curves and its C2 continuity.

I have done much more work in 3D graphics programming (particularly in OpenGL 3) which is more involved in the shading and lighting side of things. Maybe ill share more on some other projects i have done.


Friday, 26 April 2013

A wild video appeared!


So ive been very busy doing many university projects, but i thought i could show a sample of some of the stuff im doing. I made a quick video for a small game demo i created in XNA, called Windows Defender (The Game!). It is a simple 3D shooter with features such as high scores  ever increasing difficulty and fast paced game play.



I will soon be done with a few university projects, and i will most likely upload a few screenshots of other work i have been doing.
Peace out!

Edit: I know the SFX are loud, ha

Sunday, 7 April 2013

Tile Match - Complete

So i completed one of my pieces of university work, my small mobile games demo. Here are some screenshots, as well as some information about improvements made from last time.



The main menu screen is very similar to the last post, however ive added a few improvements. You can now change the name of the current player (which is displayed at the top of the menu) and also go to the leader board page.




The game is very similar, when tiles are tapped, they are revealed for a few seconds, then hidden again. The background of the game changes dependant upon the weather in your local area (i thought this was cool!) and there is also a pause button. Additionally  to stop people just dragging tiles to other ones constantly, players will lose 1 off of there score if tiles match incorrectly.




The final main feature i added was the leader board and high score system. When your game is over, if you have achieved a high score  the game will let you know via a quick alert. Scores are saved in a .plist and you can view all the current high scores on the leader board page.


I really have learnt a lot while doing this project, all of which should be able to help with ZS and other objective-c projects. Hopefully ill have more to show soon!


Monday, 25 March 2013

Heres what im doing while im doing nothing.

So you may realise im currently doing no work on ZS (words cant tell you how much i want to, im even travailing back to my home early so i can get a good day of work on it), but i thought id show you what i am doing during my easter break. Be prepared, its nothing fancy, and its certainly not a polished application, but it is an iphone game.



The game is for a university project, the idea of which is the reveal hidden symbols under tiles, find the matching tile and drag the tiles that match on top of each other (im sure we have all played these before). The main menu screen is basic and will have buttons to a game screen and a leader board (maybe a settings screen too!)




Here is what the main game looks like, we have a load of tiles, pressing a tile reveals what symbol the tile hides. If we drag our finger from one tile to another and the hidden symbols match our score increases. 



 The game goes on forever, until time runs out. Once you have matched all the tiles the game resets, goes to the next level and reduces the time you have to complete the game. The tiles alos obviously switch there symbols.


I still have a moderate amount of work to do on the project before its hand in, in a few weeks. The background of the game will change dependant upon the weather in the area you currently are. I also need to implement the leader board system (mainly, i need to save the score, and pass it to the menu correctly using a delegate), and give it a bit more polish, like have a good system for dealing with the application when it exits etc.. but all in all its going well! This only took me a few days to create,so i cant wait to continue on it.