Richard Chaney's Web Page

This page contains some of the programming projects I have created in my spare time. Any source code on this page can be freely used and modified without licensing constraints. The code is here for educational reasons so people might learn something useful. There is some documentation with the code, but to explain it all would take too much effort and I'm not going to bother. However, you might still gain useful ideas by reading the source code.

You can always email me with questions at :

richard.c.chaney@googlemail.com

 

Car Physics

The goal of this project was to learn enough about physical modelling to write a car simulation.

Rigid body dynamics

Download my rigid body dynamics ZIP file. This contains :

http://www.chaney.eclipse.co.uk/rigidbody.zip

Car physics demo 

This is the executable of a simple driving game :

http://www.chaney.eclipse.co.uk/cardemo.zip

Download source code for the above demo. This is a Microsoft Visual C++ 6.0 project. You will also need the DirectX 8 SDK installed. This has been compiled and tested successfully under Windows 2000 :

http://www.chaney.eclipse.co.uk/cardemo-source.zip

 Car setup utility for the car demo. You can use it to change the parameters of the car files. The car files are stored in the "cars" subdirectory. The demo loads the car specified in "engine.ini" under the section [CARSIM]. Change the line "car=cars\US.car" to load a different car setup. You can load the new car setup into the demo while it is running by pressing 'L'

http://www.chaney.eclipse.co.uk/careditor.zip

 

Lightwave Plugins

Here are a few useful plugins I have written for the Lightwave 7 Modeller, currenly my favourite 3D modeller.

Model Export Plugin

This plugin has source code and some documentation. The plugin will export a model with texture, bones and weight maps.

http://www.chaney.eclipse.co.uk/lwxexport.zip

Unfortunately this is just raw source code without a project file, but it is not difficult to set up a project for your favourite compiler.

Improved Extender Tool

This is an improved version of the Extender tool. The tool creates new faces along the edge of a mesh by selecting the points along the edge. Improvements :

·        Order of vertex selection is not relevant

·        Aligns new face normals with existing faces

·        Creates either faces or subpatches to match existing polygons

·        Uses same material as existing faces

·        Doesn't create large back facing faces

http://www.chaney.eclipse.co.uk/Extend2.zip

This contains source code and a Visual Studio .NET 2002 project file.