Thanks JSoftware. You code looks allot simpler than the stuff I have.

I got it all working anyway. Here are some sample screen shots.








the models are not mine (I wish they were) but they are some rather cool low poly ones from a Star Trek Bridge Commander mod. I did generate the normal maps however and convert them to my own format.