Brecht
2005.12.24, 06:15 AM
Hi everybody.
I just started out using Xcode and GLUT to do some openGL 3d things. I'm completely new to all of it, even the basic use of .h files, frameworks, library or Xcode.
But, no need to let that stop ones ambitions right?
After searching this forum, I downloaded the .obj loader from Karl Berg (the ModelType.h thingy and the .cpp file).
I've succesfully loaded an .obj and have it rotating away along the y-axis, but... it stutters...and goes extremely slow.
Now, the reason I started learning all this stuff is to be able to make my work in openGL instead of Max/Jitter, in the hope to have things runnning faster.
The .obj I used to test has about 3500 vertices/2900 faces and runs smoothly in Jitter where it's rendered 6 times to the screen.
I was expecting things to run better, or a least equally smooth in my little cpp/GLUT app but this seems not to be the case... Is this because of the object loader or is there any other reason for this to be the case...?
Maybe a different .obj or whichever-type-model-loader is faster... any comments would be appreciated. (but I'm a far way off from programming my own loader).
best,
B.:D
I just started out using Xcode and GLUT to do some openGL 3d things. I'm completely new to all of it, even the basic use of .h files, frameworks, library or Xcode.
But, no need to let that stop ones ambitions right?
After searching this forum, I downloaded the .obj loader from Karl Berg (the ModelType.h thingy and the .cpp file).
I've succesfully loaded an .obj and have it rotating away along the y-axis, but... it stutters...and goes extremely slow.
Now, the reason I started learning all this stuff is to be able to make my work in openGL instead of Max/Jitter, in the hope to have things runnning faster.
The .obj I used to test has about 3500 vertices/2900 faces and runs smoothly in Jitter where it's rendered 6 times to the screen.
I was expecting things to run better, or a least equally smooth in my little cpp/GLUT app but this seems not to be the case... Is this because of the object loader or is there any other reason for this to be the case...?
Maybe a different .obj or whichever-type-model-loader is faster... any comments would be appreciated. (but I'm a far way off from programming my own loader).
best,
B.:D