redrawing of a GLUT window ?

  • Follow


Hello

My goal is to replace the Quickwin library in my Fortran programs with 
the OpenGL & GLUT libraries. But GLUT seems less powerful. For example, 
it seems that the user is obliged to manage the redrawing of the window 
when another window application is recovering the GLUT window. Does 
someone has some experience and advices about this problem ?

I am interested in glReadPixels and glDrawPixels functions to do that. 
But the glDrawPixels function seems quite slow with a 800*600 pixels 
window, even with full graphic acceleration (Matrox G550).

Vincent
0
Reply vin 4/8/2005 4:17:43 PM

vin wrote:
> Hello
> 
> My goal is to replace the Quickwin library in my Fortran programs with 
> the OpenGL & GLUT libraries. But GLUT seems less powerful. For example, 
> it seems that the user is obliged to manage the redrawing of the window 
> when another window application is recovering the GLUT window. Does 
> someone has some experience and advices about this problem ?
> 

That's not true....with GLUT you set a callback
function for the redraw and it will be called as
needed. In fact you lose control of everything as
soon as you call glutMainLoop().

> I am interested in glReadPixels and glDrawPixels functions to do that. 
> But the glDrawPixels function seems quite slow with a 800*600 pixels 
> window, even with full graphic acceleration (Matrox G550).
> 

That's not a very good card for OpenGL....


-- 
<\___/>
/ O O \
\_____/  FTB.    For email, remove my socks.
0
Reply fungus 4/8/2005 7:02:28 PM


1 Replies
233 Views

(page loaded in 0.041 seconds)

Similiar Articles:









7/23/2012 4:02:38 PM


Reply: