Sorry, Bob I didn't read the thread enough. Just downloaded it and it works fine.
Some key issues/suggestions:
- Screen flickers. My eye is catching the refresh rate which probably means you are in the 60hz range or you are using an off the wall refresh rate. Might I suggest using the default desktop refresh rate since that is what most games do?
- The skybox cube looks great and no seams which is cool. I have a program which will enable you to create six textures from one flat one...and it will auto-distort the images so you don't have to mess with it. So you can make any image your skybox with no seams.
- Third person camera. I know you said you don't want to do it but it is not much more code. Just test the camera variable and if it's third person simply translate out from the object first and then render as normal.
Core render function
All you need is the OBJECT code section for third person camera. Don't ask me to make the model though cuz I suck.
if (iViewMode==COCKPIT || iViewMode==CHASE)
//Third person camera or flyby camera
if (iViewMode==OBJECT || iViewMode==FLYBY)
//If we are in FLYBY we also need a new matrix
//Compute new matrix and offset camera randomly from ship velocity vector for flyby effect
//Translate along right vector just a bit
} else vecCamPos+=(-vecRight*14.0f);
} else vecCamPos+=(-vecUp*7.0f);
//Translate camera ahead of the ship along it's look vector
//If object is not moving, translate away a bit so camera is not inside of object
} else vecCamPos+=vecLook*(pObject->m_fSpeed*4.0f);
I like the hovercraft app Bob and the physics are very cool. Hope to see you do more with it. I'm sorta burn out on my app right now so I know how it gets.
And how are you skinning the jeep with that texture? I need to texture my models but am having lots of troubles.