Original Post
hello
ive put a scissor window into a game ive been working on, but ive found a problem, for some reason, its only showing the text, then stops showing everything elses, even though it is in the scissor window
heres the code for an examle
glScissor(40,40,280,400);// Define the scissor region glEnable(GL_SCISSOR_TEST);// Enable scissor testing glColor3f(0.2f,0.6f,0.2f); // Set Color to Paleish Dark Green glPrint(110,400,0,1.25f,charvars[31].disp); // Print the title glBindTexture(GL_TEXTURE_2D, textures[0].texID); // Select The Button Texture glColor3f(0.2f,0.2f,0.9f); // Set Color to Plae blue glBegin(GL_TRIANGLE_STRIP); // Start the Quad for button 1 glTexCoord2d(1,1); glVertex2d(90,400); // Corner 1 glTexCoord2d(0,1); glVertex2d(120,400); // Corner 2 glTexCoord2d(1,0); glVertex2d(90,430); // Corner 3 glTexCoord2d(0,0); glVertex2d(120,430); // Corner 4 glEnd(); // End the Quad glDisable(GL_SCISSOR_TEST); // DIsable Scissor testingthis, for example, would only output the contents of charvars[31].disp, and not the quad... im not sure y it is doing this, as i have even tried makin the quad the size of the whole screen, and it still doesnt show up... any help would be nice... [edited by - relpats_eht on April 28, 2004 3:47:05 PM]