Model Rendering problem...

hey i have been having a problem with loading some models in my opengl program…

Im using Code Blocks and MinGW32 on windows 32 bit.

heres the problem: nothing is rendered correctly: http://img403.imageshack.us/content_roun…amp;via=mupload

heres some code if you wanna look at it:
main: http://pastebin.com/ZKMW28Dy
the model.h: http://www.mediafire.com/?uu40kuophpsczda

if anything else is needed let me know

some background info: i have tried asking this on 2 other forums, and nobody has been able to help since i posted them(about 3 days)…i also use SFML for the window and 2D graphics.

Do the following and then tell us what u get.

  1. Disable polygon stipple.
  2. Enable back face culling.
  3. Disable blending.
    One more thing, in your render function you are resetting the texture filtering to linear while this has nothing to do with the output but it is better to do it once at the initialization.

what kind of model are you laoding?

to mobeen: same problem still…

to enjoycrf: im loading a .obj file exported from blender

is there anything else that can solve this??

Could u just load the .obj model in a simple glut project to see it comes out fine.