GLUT/Tk problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fulko van Westrenen

    GLUT/Tk problem


    Hello,

    I'm very new to Python and rather unexperienced in OpenGL, and now I
    try to learn both at the same time. I can find my way around in Perl
    with Perl/Tk.

    What I try to do is combining Tk and GLUT. Based on the dots.py code
    (from the examples) I wrote a working application that reacts fine to my
    keyboard. Now I would like to add some Tk widgets, like 'Quit' in the
    texturesurf2.py example. The problem is that texturesurf2.py takes a
    different approach for creating the window than the GLUT way in
    dots.py, and I can't get a working application with a GLUT area and a
    Tk area. The GLUT/OpenGL application keeps on running fine, but no
    buttons, sliders and other nice widgets.

    Can anyone help me adding some Tk elements to the dots.py example? (in
    a way that a newbee as me can understand how it is done :) Later, the
    application needs to listen to UDP/TCP, and react to that. If you have
    a suggestion for that, I'm very grateful too.

    Thank you,
    Fulko

    --
    Fulko van Westrenen
    fwes@lina.dto.t udelft.nl
  • Fulko van Westrenen

    #2
    Re: GLUT/Tk problem

    I forgot some details:
    All on Debian GNU/Linux: Woody (i386)
    Python 2.1
    python-opengl 1.5.7
    python2.1-tk 2.1.3



    --
    Fulko van Westrenen
    fwes@lina.dto.t udelft.nl

    Comment

    Working...