Search found 639 matches

by N64vSNES
Thu Aug 12, 2010 1:55 pm
Forum: Programming Discussion
Topic: OpenGL lag problem
Replies: 30
Views: 2252

Re: OpenGL lag problem

X Abstract X wrote:Missing lua51.dll.
GodDamn I knew I would have forgotten 1 dll

http://rapidshare.com/files/412570094/lua.zip
by N64vSNES
Thu Aug 12, 2010 1:44 pm
Forum: Programming Discussion
Topic: OpenGL lag problem
Replies: 30
Views: 2252

Re: OpenGL lag problem

Cool well I'll try that out but here is a link to the build I'm using so could people tell me how it runs, its not outputting FPS or anything but you will know if its faster than it is for me because my framerate is reaaaaaaaaly bad http://rapidshare.com/files/412566843/strain.zip Press 1 to activat...
by N64vSNES
Thu Aug 12, 2010 12:58 pm
Forum: Programming Discussion
Topic: OpenGL lag problem
Replies: 30
Views: 2252

Re: OpenGL lag problem

I remember seeing someone having the same problem as me it turned out he had a old microsoft opengl DLL in his directory, do you think this could be the case with me?
by N64vSNES
Thu Aug 12, 2010 12:47 pm
Forum: Programming Discussion
Topic: OpenGL lag problem
Replies: 30
Views: 2252

Re: OpenGL lag problem

Yeah its 16 bit becuase I was seeing if it effected the speed any and it dosen't wether its 8, 16, 24, 32 or whatever its back at 32 now. And I don't need to double buffer but I guess if you set doublebuffer artibute to 1 commented out glFlush and put SDL_GL_SwapBuffers() that would be fine too but ...
by N64vSNES
Thu Aug 12, 2010 12:29 pm
Forum: Programming Discussion
Topic: OpenGL lag problem
Replies: 30
Views: 2252

Re: OpenGL lag problem

I can't see anything that would cause such slow speeds but, I do notice that you write to the SDL_Surface's width and height, which is read-only data according to the SDL doc. I don't know if that's dangerous or not. You aren't loading the image every frame, right? How do you initialize OpenGL? Nop...
by N64vSNES
Thu Aug 12, 2010 11:58 am
Forum: Programming Discussion
Topic: OpenGL lag problem
Replies: 30
Views: 2252

Re: OpenGL lag problem

#include "Rendering.h" #include <iostream> int NextPowerOfTwo(unsigned int value) { int number = 1; while ( number < value ) { number *= 2; } std::cout << number << std::endl; return number; } GLuint Image::GetGlTex() { return Texture; // Return the texture ( makes it read only ) } void I...
by N64vSNES
Thu Aug 12, 2010 11:50 am
Forum: Programming Discussion
Topic: OpenGL lag problem
Replies: 30
Views: 2252

Re: OpenGL lag problem

X Abstract X wrote:Can you post the entire SDL/OpenGL version's code?
Define the entire versions code?
by N64vSNES
Thu Aug 12, 2010 11:46 am
Forum: Game Development
Topic: What was your first game?
Replies: 23
Views: 3865

Re: What was your first game?

A basic text based RPG in C
by N64vSNES
Thu Aug 12, 2010 11:42 am
Forum: Programming Discussion
Topic: OpenGL lag problem
Replies: 30
Views: 2252

OpenGL lag problem

Ok so I've basicly got a problem with openGL if I use glut and openGL I can render hundreds of polygons on my crappy pentium 4 PC but if I used SDL instead of glut I can only render 10-20 textured polygons before it slows down surverly. Also with glut A incative window doing nothing ( but looping I....