473,387 Members | 1,637 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

wxpython problems using GLCanvas

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

Oct 8 '06 #1
1 1776
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

Oct 9 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: SeeBelow | last post by:
Do many people think that wxPython should replace Tkinter? Is this likely to happen? I ask because I have just started learning Tkinter, and I wonder if I should abandon it in favor of...
25
by: BJörn Lindqvist | last post by:
See: http://www.wxpython.org/quotes.php. especially: "wxPython is the best and most mature cross-platform GUI toolkit, given a number of constraints. The only reason wxPython isn't the standard...
8
by: Jan Danielsson | last post by:
Hello all, I wanted to plot some statistics, so I wrote a simple wxPython class to do it. Then I realized that I would like to draw bar graphs, so I added that too. Since I'm a complete...
25
by: TPJ | last post by:
GUI's etc: PyGtk on Windows "(...) So if someone develops mainly for X and just wants to make sure that it is not impossible to run on Windows, you can use PyGTK. (...)", July 2nd, 1999 pyGTK...
3
by: writeson | last post by:
Hi all, I'm trying to use wxPython from a fairly new installation of Fedora Core 5. I installed wxPython using yum -y install wxPython and that all seemed to work fine. However, when I run...
0
by: DarkBlue | last post by:
Trying to install wxPython on Suse10.1 64 with gcc4.1.0 and get wxPython-src-2.6.3.2/wxPython # python setup.py install Found wx-config: /usr/local/bin/wx-config Using flags: --toolkit=gtk2...
1
by: Artie | last post by:
I seem to have uncovered a problem when using glutInit alongside wxPython on Mac OSX. If glutInit is called prior to creating a wx.App, many window and mouse events are either lost, not generated,...
17
by: NoelByron | last post by:
Hello! We are thinking about writing a project for several customers in Python. This project would include (among others) wxPython, a C/C++ module. But what happens if this application generates...
0
by: Mike C. Fletcher | last post by:
Clay Hobbs wrote: http://bazaar.launchpad.net/~mcfletch/openglcontext/trunk/annotate/1?file_id=wxcontext.py-20080920224554-ehwlv3u6uc6sb6e2-55 See method wxFlagsFromDefinition, particularly...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.