Forget all that 3D business. You should be able to achieve what you want by just scaling and moving the box image. As far as changing the color of the cab, GDI+ has some helpful routines for that too.
A good GDI+ sample app can be found in the "Advanced Topics in Building Applications" talk demos. Go to the sample page and click "Talks". Or go here: <a href="http://windowsforms.net/Default.aspx?tabindex=4&tabid=49#Talks">http://windowsforms.net/Default.aspx?tabindex=4&tabid=49#Talks</a>. Open the .zip, then drill into the "Upload\AdvDrawingDemo" folder and open that VS.NET solution.
I hope this helps - mike |