Strange problem with artefacts using milkshape models
I am just starting out on my 3D adventures and have created a simple engine using some of the code form Jeff''s turorials (mainly window setup and OpenGL initializing), but wrote my own MilkShape loader and also a LW02 Loader, i also wrote my own Storage classes for both aswell as the rendering algorythm.
When rendering the MS3D models I am using the stored normals from the file but am getting a strange visual effect. Using GL_LIGHT0 the model looks fine close up and rotated on all axis (no texture mapping yet just smooth shading), but when I zoom out it seems that I get patches of blackness appearing on the model when the polygon''s normal would be perpendicular to the camera and also on the edges of the model itself at any angle(the wings as it''s a model of a f16).
Instead of posting my code here and boring the hell out of you all, I''d just like to know if anyone has any idea what i''m doing wrong?
Oh, by the way this model has 4000+ polygons... but i don''t think this is the problem as the same thing happens to a MS3D 12poly cube I created to test for this.
Thanks for any help, getting frustrated here...
- SoulGrid
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement