View Single Post
Old 05-07-06, 08:51 AM   #20
Lethe
Registered User
 
Join Date: Nov 2005
Posts: 178
Default Re: glxgears and 1.0-8756

Doh! Doh! Doh! Doh! Doh! Doh! Doh! Doh! Doh! Doh! Doh! Doh! Doh! Doh!



I started to look at glxgears.c code to see what was going on...

Well, I built xorg 6.9.0 recently, so tried the old glxgears - that works fine... then reading the code header:

6.8.2
Quote:
/*
* This is a port of the infamous "gears" demo to straight GLX (i.e. no GLUT)
* Port by Brian Paul 23 March 2001
...
...
6.9.0
Quote:
/*
* This is a port of the infamous "gears" demo to straight GLX (i.e. no GLUT)
* Port by Brian Paul 23 March 2001
*
* Exact timing added by Behdad Esfahbod to achieve a fixed speed regardless
* of frame rate. November 2003
*
IT IS SUPPOSED TO DO THIS...



And another Doh!

Nick
P.S. BTW, reading code I never realised you could use keyboard to control stuff.

Arrow keys move it around the x, y, z axis
a = speed up
z = slow down/reverse
q = quit
Lethe is offline   Reply With Quote