GL superbible program problems
I am having trouble getting some of the example programs from the OpenGL Superbible CD to work. One of them is supposed to draw a rectangle bouncing around a window, using:
glRectf(x1, y1, x1+rsize, y1+rsize);
However I dont get a rectangle at all, just a blank background.
It worked on my old laptop, but I recently got a replacement of the same spec. I have run the program under microsoft''s implementation and also SGI, with no luck.
However, if you pass numerical values to glRectf, the rectangle is drawn.
Any ideas?
Its a demo program, so I hope they have!
It works fine on my home computer, just not on my laptop.
It works fine on my home computer, just not on my laptop.
May 11, 2001 04:59 PM
It works fine for me. I''m assuming that your refering to the bounce program in the Superbable 2. You should get a red square bouncing around. You either inadvertently changed the program or you have a problem with your hardware or opengl drivers. Try running the program exe directly from the CD and if you still have problems then you know it wasn''t an inadvertent change to the program.
Joel
Joel
I know what I should get, it works fine on my home computer!
I also ran it from the CD, no luck. I guess I have a driver problem, any ideas?
I also ran it from the CD, no luck. I guess I have a driver problem, any ideas?
May 14, 2001 06:26 PM
Need more information. What graphics card, OS and driver including version is giving you problems? Some cards your just SOL. My experience is with nVidia cards, but I''m fairly sure someone will help.
Joel
Joel
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement