This site began with some fiddling with Microsoft's Direct Animation SDK. Knowing very little about 3D graphics I began to experiment with MS Direct3D retained mode which handles all the mathematics and rendering issues. Spinning cubes are all very well but I soon wanted a more meaningful project to work on, what better than my favourite game of the 80's. I lost more hours playing Elite on my Commodore 64 than any other game, so some sort of tribute was in order.
To create the non-shared vertices models requires a bit extra work duplicating vertices, so I wrote a little utility to modify existing .X files to make vertices non-shared between mesh faces. At the moment the various object models are a mixture of smooth and angular looking. I then converted all the .X files from ASCII to binary format purely in the interests of fast loading, the whole web site is less than 100K. Apart from the rotating ship, the rest of the site is just simple text, again also for faster loading of the page. I may get around to adding fancy graphics and navigation bars later.
My original Commodore 64 version featured line drawn ships, so I've used some artistic license and chosen the ships colours and surface finish. Making adjacent faces different colours also helps define the shape. I'm currently working on using image maps to create a more realistically detailed craft. Some of the craft have retained their aerials/guns, because they look strange without them.
If you'd like to
comment (good or bad) or offer any tips for improvement contact me at neil@neilwallis.com
A new version of this whole site, which uses a Java applet instead of a DirectX control, can be found here.