PyOpenGL -- Scrollbars?

David Ascher da at ski.org
Sat Apr 24 00:00:33 EDT 1999


On Fri, 23 Apr 1999 mamcguire at my-dejanews.com wrote:

> Hi All..
> 
> New to OpenGL so please bear with me.  I'm trying to create an OpenGL port
> in my application to display images--only way to show more than 256 colors
> here on our SGIs.  I've been having some difficulties:
> 
> 1.) Any way to scroll via. scrollbars the OpenGL port? (like attaching
>     to a canvas but that didn't seem to do the trick)

No -- but you can find out from the scrollbars what the shift in
coordinates would be and adjust your drawing code in OpenGL to do the
appropriate thing.  

I will be posting code in the next PyOpenGL release which might do a lot
of what you need.  Keep an eye out for it. 

--david






More information about the Python-list mailing list