Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

3dfx and PPC 601 Macs



Hello to everybody!

I'm experiencing problems on a PowerMac 7200 under MacOS 8.6 with a
Voodoo3.I have tried running GLQuake, Aleph One, SetupGL, OpenGL DrawSprocket etc. Any code crashes at the first glEnd() when running accelerated. This example is taken from SetupGL. SetupGL runs smoothly with the software renderer.

Has anybody tried this?
Is it a 3dfx problem?
Is OpenGL incompatible with older PPC processors? (601)

regards Roddi


from the SetupGL exmple:

void drawGL(AGLContext aglContext, pstructGLInfo pglInfo)
{
static float f, s, c;
GLboolean fState = GL_FALSE;

f += 0.01;
s = sin(f);
c = cos(f);

glClearColor(0.15f, 0.15f, 0.15f, 1.0f); // Clear color buffer to dark grey
glClear(GL_COLOR_BUFFER_BIT);

glBegin(GL_POLYGON); // Draw a smooth shaded polygon
glColor3d(1.0, 0.0, 0.0);
glVertex3d(s, c, 0.0);
glColor3d(0.0, 1.0, 0.0);
glVertex3d(-c, s, 0.0);
glColor3d(0.0, 0.0, 1.0);
glVertex3d(-s, -c, 0.0);
glColor3d(0.7, 0.7, 0.7);
glVertex3d(c, -s, 0.0);
glEnd(); //<--- Crash here!!!

// Draw frame rate (set color and position first)
.
.
. more code
.

aglSwapBuffers(aglContext); // send swap command
}




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.