Original Post
Dear Guys, I have two questions. First off, I have been using Milkshape to render some simple 3d objects - i.e. house etc and have textured them. I am exporting them to the .3ds format for use with the 3ds model loader provided by Garage Games. Question 1 is : When I open them in my program and successfully view them on the screen, the model has been rotated around the X axis and is laying flat instead of standing up. In fact, when I import any prebuilt model into Milkshape from the .3ds format, it also is laying flat against the plane on the xz axes. Why is this? Question 2 is: Why are my models showing up as being fully uniformly lit? I have been through my code and the code supplied by Garage Games which displays the model. Before any drawing that takes place I have done glDisable(GL_LIGHTING) and yet my model still shows. I want to apply a spotlight to the model and obviously only have relevant areas under the spotlight cone being displayed. Any one have any ideas why this may be happening? Thanks