PDA

View Full Version : Voodoo/NVDA inconsistencies



BlueJ
01-30-2001, 02:11 PM
I'm lost here, I've got this little program that for some reason can't draw 2d dots to certain vertical lines in my window on a Voodoo 3 card. Another pc with a GeForce2 card runs the program just fine and can draw anywhere in the window.

The pattern of vertical lines on the Voodoo 3's window makes me think the dot coordinates are being scaled somehow. For example, drawing point(300, 300) and point(301, 300) will produce one dot at (300, 300) because the second one drew over the first. But point(299,300) and point(300,300) will get along just fine.

Changing the width parameter in gluOrtho2D() is the only way to alter the pattern of untouchable vertical lines. This is giving me a headache, what can I do?

void myInit(void)
{
glClearColor(1.0, 0.0, 0.0, 0.0); glColor3f(0.0f, 0.5, 0.75f); glPointSize(1); glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluOrtho2D(0, SCREEN_WIDTH, 0, SCREEN_HEIGHT);
}

void point(glint x, glint y)
{
glBegin(GL_POINTS);
glVertex2i(x, y);
glEnd();
}

mango
01-30-2001, 07:21 PM
You can try glsetup or download the latest driver direct from 3dfx.

BlueJ
01-31-2001, 12:03 AM
I thought that might help too, but there was no change after running glsetup.