Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-10 Thread Brian
Ian wrote > > Yup - I got this too, when testing on OSX. > > The problem is that the IdleFPS and FixedFPS methods now need to be public > methods of the MyGlWindow class, so that my callback for attaching and > detaching them (via the set_idle checkbutton) can access them. > > For some reason, th

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-10 Thread MacArthur, Ian (SELEX GALILEO, UK)
> Ian, I tried to compile your prog in MinGW with gcc 4.6.1 > and sadly it doesn't compile. > The following is the output.. > > $ fltk-config --use-gl --compile fl_gears.cxx > g++ -I/usr/local/include -I/usr/local/include/FL/images -mwindows - > DWIN32 -DUSE_OPENGL32 > -D_LARGEFILE_SOURCE -D_LAR

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-09 Thread Brian
Ian wrote > All, > > Some "flower arranging" on Greg's version - adding adjustable FPS > target, and a checkbox for selecting the idle loop on/off. > > Probably has bugs, and only tested on WinXP so far, but seems to work as > expected. Needs more tidying - in parcticular the FixedFPS and IdleFPS

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-09 Thread MacArthur, Ian (SELEX GALILEO, UK)
All, Some "flower arranging" on Greg's version - adding adjustable FPS target, and a checkbox for selecting the idle loop on/off. Probably has bugs, and only tested on WinXP so far, but seems to work as expected. Needs more tidying - in parcticular the FixedFPS and IdleFPS methods duplicate a sma

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-09 Thread Albrecht Schlosser
On 08.02.2012 17:48, MacArthur, Ian (SELEX GALILEO, UK) wrote: >>> It was originally meant to run on the idle loop, and with this WIN32 >>> that runs about 3,000 FPS. >> >> I don't get more than approx. 60 (!) FPS on my Win7 box (4 cores, with >> the CPU at a minimum load) > > Hmm, that may be a G

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-09 Thread Albrecht Schlosser
On 09.02.2012 10:12, MacArthur, Ian (SELEX GALILEO, UK) wrote: > >> Mm, what's the original license? > > Only what's there already, i.e. Brian Paul saying it was in the public > domain and Mark J. Kilgard saying he converted it to GLUT, so in that > regard I believe we are fine. > >> We s

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-09 Thread MacArthur, Ian (SELEX GALILEO, UK)
> Mm, what's the original license? Only what's there already, i.e. Brian Paul saying it was in the public domain and Mark J. Kilgard saying he converted it to GLUT, so in that regard I believe we are fine. > We should probably preserve it if possible. Yes; what I meant was that, giv

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-08 Thread Greg Ercolano
On 02/08/12 13:42, Ian MacArthur wrote: > Yes, I think so, +1 for adding to test folder, after folk have looked it > over. > Though fltk headers might be awkward given the provenance of the original > material? Mm, what's the original license? We should probably preserve it if p

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-08 Thread Ian MacArthur
On 8 Feb 2012, at 20:23, Greg Ercolano wrote: > On 02/08/12 09:50, Greg Ercolano wrote: >> I'll take a stab at a cleanup. >> I /think/ I can take out all the glut stuff and make it use >> Fl::run(). > > Done; see below. > > Took out all the glut; pure FLTK app now. > Uses F

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-08 Thread Greg Ercolano
On 02/08/12 09:50, Greg Ercolano wrote: >> Well, I guess the original code is in the public domain, so I imagine >> that'd be OK, though my "additions" might need a little tidying up as >> they might not be exhibiting the best fltk-way to do the things I >> added... > > I'll take a stab at a

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-08 Thread Greg Ercolano
On 02/08/12 08:48, MacArthur, Ian (SELEX GALILEO, UK) wrote: >> If not in test/ then maybe in examples/ ? >> Opinions? I'd vote for 'test', since its probably a good opengl benchmark tool, considering it shows FPS. > Well, I guess the original code is in the public domain, so I im

Re: [fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-08 Thread MacArthur, Ian (SELEX GALILEO, UK)
> Great demo. Looks like we could add it somewhere to our demos. > If not in test/ then maybe in examples/ ? > Opinions? Well, I guess the original code is in the public domain, so I imagine that'd be OK, though my "additions" might need a little tidying up as they might not be exhibiting the bes

[fltk.general] FL/GL Gears Demo [was: Quick Screen Refresh]

2012-02-08 Thread Albrecht Schlosser
On 08.02.2012 11:38, MacArthur, Ian (SELEX GALILEO, UK) wrote: > OK, I found my hacked-up gl_gears example - actually it's the glut one, > but anyway... converted to be fltk-ish. Great demo. Looks like we could add it somewhere to our demos. If not in test/ then maybe in examples/ ? Opinions? > I