wxpython problems using GLCanvas

Discussion in 'Python' started by nelson, Oct 8, 2006.

  1. nelson

    nelson Guest

    Hi,
    i'm coding a 3d interactive geometry progam and i want to use opengl
    for displaying ogbjects. I can open a opengl canvas (i follow the
    wxpython demo) and i can draw a cube. First time i execute the
    application all is ok. second time it freezes X and i can't interact
    with my machine. I hava only to press power button...... what will
    cause it? the code i use is exactly the code of the demo....

    If using openGL is so difficult to do together with wxpython, what
    toolkit can i use do do 3d graphics? Simple graphics, i have to plot
    point, lines, sphere, surfaces and their intersections...

    thanks,
    nelson
     
    nelson, Oct 8, 2006
    #1
    1. Advertising

  2. nelson

    Will McGugan Guest

    nelson wrote:
    > Hi,
    > i'm coding a 3d interactive geometry progam and i want to use opengl
    > for displaying ogbjects. I can open a opengl canvas (i follow the
    > wxpython demo) and i can draw a cube. First time i execute the
    > application all is ok. second time it freezes X and i can't interact
    > with my machine. I hava only to press power button...... what will
    > cause it? the code i use is exactly the code of the demo....
    >
    > If using openGL is so difficult to do together with wxpython, what
    > toolkit can i use do do 3d graphics? Simple graphics, i have to plot
    > point, lines, sphere, surfaces and their intersections...


    OpenGL works rather well with wxPython. If it hangs your entire machine
    it can only be driver issues. Try downloading the latest video drivers
    and I suspect this problem will magically disapear!

    Will McGugan
    --
    http://www.willmcgugan.com
     
    Will McGugan, Oct 9, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anand
    Replies:
    1
    Views:
    357
    Cliff Wells
    Jul 23, 2003
  2. ulysses
    Replies:
    4
    Views:
    777
    Werner Schiendl
    Oct 22, 2003
  3. Logan
    Replies:
    5
    Views:
    766
    David Bolen
    Dec 11, 2003
  4. Ruben Charles
    Replies:
    6
    Views:
    503
    =?ISO-8859-1?Q?Michael_Str=F6der?=
    Oct 25, 2005
  5. Robin Dunn
    Replies:
    0
    Views:
    527
    Robin Dunn
    Mar 28, 2006
Loading...

Share This Page