mmm ok, thanks for everything guys, it appears I'm just a tard. I was running the project in debug mode, once I switched to release the fps shot up to about 1600.
Type: Posts; User: fizzlesticks
mmm ok, thanks for everything guys, it appears I'm just a tard. I was running the project in debug mode, once I switched to release the fps shot up to about 1600.
void draw(){
glClear(GL_COLOR_BUFFER_BIT);
Segment* s;
Vector out;
Vector norm;
bool todraw[WINDOW_HEIGHT][WINDOW_WIDTH];
...
Thanks, that's exactly what I was looking for. Although it didn't help as much as I thought it would, only got around a 1 fps increase.
Ya, I know, unfortunately opengl is required for the assignment :(
Hi, I'm making a simple ray tracer for a project and am trying to figure out the most efficient way to draw to every pixel on the screen. I'm currently using a 500x500 window and even before the ray...
Hi, I just started using openGL and am having a little trouble. At certain x positions my program is just displaying black verticle lines. Here's a picture of the problem imageshack
And here's...