MD5 Textures inside out

Hi,



I'm working with MD5Exporter. When I Load my model from the same class that I set up the rest of my "scene" with, the model loads fine.

If I try to create a separate class for loading my MD5 models, the model loads fine but the textures are sorta inside out.



Anyone that can tell my why this would happen and provide a solution,  with the small amount of information I have given would be a great help, or if you would like me to post some of the code that will not be a problem.



Thanks



edit - Ok so I solved the problem, I just selected 'reverse face normals' when exporting.

       

I still don't understand why it would work without doing this when loading my model from the main class.

Del said:

I still don't understand why it would work without doing this when loading my model from the main class.


Maybe in your in one version you add a CullState which culls the Backfaces to the model.

I'm sure I didnt add a cullstate, maybe there is a difference in default cullstates in simplegame and basegame.

I'll look into more about cullstates.

Thanks for the reply