Original Post
I have two .x files. One''s width is maybe 6.0 while another may be 1000.0. One is centered around 0, while the other is centered way off somewhere.
Now, for both models, I compute the bounding box, and I apply world translation and scaling to center the model and make it fit on the screen.
The problem is lights, the first model is perfectly lit, while the other one has full brightness, and if rotated will turn black.
Is my light being transformed because I change the world matrix? Or is the light calculation computed on untransformed vertices? How would I solve the problem, use matrix stacks?