pyopengl-users Mailing List for PyOpenGL (Page 109)
Brought to you by:
mcfletch
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(81) |
Oct
(41) |
Nov
(55) |
Dec
(14) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(34) |
Feb
(3) |
Mar
(16) |
Apr
(5) |
May
(10) |
Jun
(13) |
Jul
(24) |
Aug
(14) |
Sep
(14) |
Oct
(9) |
Nov
(10) |
Dec
(16) |
2003 |
Jan
(25) |
Feb
(59) |
Mar
(9) |
Apr
(21) |
May
(54) |
Jun
(4) |
Jul
(16) |
Aug
(19) |
Sep
(19) |
Oct
(15) |
Nov
(13) |
Dec
(22) |
2004 |
Jan
(19) |
Feb
(8) |
Mar
(20) |
Apr
(16) |
May
(13) |
Jun
(18) |
Jul
(18) |
Aug
(14) |
Sep
(24) |
Oct
(47) |
Nov
(20) |
Dec
(10) |
2005 |
Jan
(23) |
Feb
(31) |
Mar
(11) |
Apr
(29) |
May
(18) |
Jun
(7) |
Jul
(11) |
Aug
(12) |
Sep
(8) |
Oct
(4) |
Nov
(11) |
Dec
(7) |
2006 |
Jan
(7) |
Feb
(8) |
Mar
(15) |
Apr
(3) |
May
(8) |
Jun
(25) |
Jul
(19) |
Aug
(3) |
Sep
(17) |
Oct
(27) |
Nov
(24) |
Dec
(9) |
2007 |
Jan
(6) |
Feb
(43) |
Mar
(33) |
Apr
(8) |
May
(20) |
Jun
(11) |
Jul
(7) |
Aug
(8) |
Sep
(11) |
Oct
(22) |
Nov
(15) |
Dec
(18) |
2008 |
Jan
(14) |
Feb
(6) |
Mar
(6) |
Apr
(37) |
May
(13) |
Jun
(17) |
Jul
(22) |
Aug
(16) |
Sep
(14) |
Oct
(16) |
Nov
(29) |
Dec
(13) |
2009 |
Jan
(7) |
Feb
(25) |
Mar
(38) |
Apr
(57) |
May
(12) |
Jun
(32) |
Jul
(32) |
Aug
(35) |
Sep
(10) |
Oct
(28) |
Nov
(16) |
Dec
(49) |
2010 |
Jan
(57) |
Feb
(37) |
Mar
(22) |
Apr
(15) |
May
(45) |
Jun
(25) |
Jul
(32) |
Aug
(7) |
Sep
(13) |
Oct
(2) |
Nov
(11) |
Dec
(28) |
2011 |
Jan
(35) |
Feb
(39) |
Mar
|
Apr
(25) |
May
(32) |
Jun
(17) |
Jul
(29) |
Aug
(10) |
Sep
(26) |
Oct
(9) |
Nov
(28) |
Dec
(4) |
2012 |
Jan
(24) |
Feb
(47) |
Mar
(4) |
Apr
(8) |
May
(9) |
Jun
(6) |
Jul
(4) |
Aug
(1) |
Sep
(4) |
Oct
(28) |
Nov
(2) |
Dec
(2) |
2013 |
Jan
(11) |
Feb
(3) |
Mar
(4) |
Apr
(38) |
May
(15) |
Jun
(11) |
Jul
(15) |
Aug
(2) |
Sep
(2) |
Oct
(4) |
Nov
(3) |
Dec
(14) |
2014 |
Jan
(24) |
Feb
(31) |
Mar
(28) |
Apr
(16) |
May
(7) |
Jun
(6) |
Jul
(1) |
Aug
(10) |
Sep
(10) |
Oct
(2) |
Nov
|
Dec
|
2015 |
Jan
(6) |
Feb
(5) |
Mar
(2) |
Apr
(1) |
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
(2) |
Oct
(1) |
Nov
(19) |
Dec
|
2016 |
Jan
(6) |
Feb
(1) |
Mar
(7) |
Apr
|
May
(6) |
Jun
|
Jul
(3) |
Aug
(7) |
Sep
|
Oct
(2) |
Nov
(2) |
Dec
|
2017 |
Jan
|
Feb
(6) |
Mar
(8) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
(3) |
Oct
(2) |
Nov
|
Dec
|
2018 |
Jan
(9) |
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(6) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
(7) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Douglas S. B. <db...@br...> - 2002-03-29 01:10:58
|
Thank you very much! Specifically, then, for Opengl it looks like (although not an object oriented example): ... self.win = Opengl(master = self.frame, width = width, \ height = height, double = db, depth = depth) self.win.pack(side = 'top', expand = 1, fill = 'both') self.win.winfo_toplevel().title("pyro@%s" % os.getenv('HOSTNAME')) ... And it works quite nicely. Between learning Python, Tk, and OpenGL, I got lost between languages. Thanks again, -Doug Robin Humble <rj...@gr...> said: > > Doug writes: > >I'm using Opengl() function to create a window, and everything is > >working fine, except I can't figure out how to set the title bar text of > >the window. The window has the title "tk". > > Finally a question I can help with!! :) > > ... > f = Frame() > f.winfo_toplevel().title( 'title here...' ) > ... > > or in a toy program: > > --------------------------------------------------- > #!/usr/bin/env python > > from Tkinter import * > > class Application(Frame): > def say_hi(self): > print "hi there, everyone!" > > def createWidgets(self): > self.QUIT = Button(self) > self.QUIT["text"] = "QUIT" > self.QUIT["fg"] = "red" > self.QUIT["command"] = self.quit > > self.QUIT.pack({"side": "left"}) > > self.hi_there = Button(self) > self.hi_there["text"] = "Hello", > self.hi_there["command"] = self.say_hi > > self.hi_there.pack({"side": "left"}) > > def __init__(self, master=None): > Frame.__init__(self, master) > > # add a name to the window > self.winfo_toplevel().title( "hello world" ) > > self.pack() > self.createWidgets() > > app = Application() > app.mainloop() > --------------------------------------------------- > > cheers, > robin > -- Douglas S. Blank, Assistant Professor db...@br..., (610)526-6501 Bryn Mawr College, Computer Science Program 101 North Merion Ave, Park Science Building Bryn Mawr, PA 19010 dangermouse.brynmawr.edu |
From: Robin H. <rj...@gr...> - 2002-03-29 00:35:56
|
Doug writes: >I'm using Opengl() function to create a window, and everything is >working fine, except I can't figure out how to set the title bar text of >the window. The window has the title "tk". Finally a question I can help with!! :) ... f = Frame() f.winfo_toplevel().title( 'title here...' ) ... or in a toy program: --------------------------------------------------- #!/usr/bin/env python from Tkinter import * class Application(Frame): def say_hi(self): print "hi there, everyone!" def createWidgets(self): self.QUIT = Button(self) self.QUIT["text"] = "QUIT" self.QUIT["fg"] = "red" self.QUIT["command"] = self.quit self.QUIT.pack({"side": "left"}) self.hi_there = Button(self) self.hi_there["text"] = "Hello", self.hi_there["command"] = self.say_hi self.hi_there.pack({"side": "left"}) def __init__(self, master=None): Frame.__init__(self, master) # add a name to the window self.winfo_toplevel().title( "hello world" ) self.pack() self.createWidgets() app = Application() app.mainloop() --------------------------------------------------- cheers, robin |
From: Douglas S. B. <db...@br...> - 2002-03-28 16:31:38
|
I have a basic question: I'm using Opengl() function to create a window, and everything is working fine, except I can't figure out how to set the title bar text of the window. The window has the title "tk". I suspect I need to send a "set title" message to tk, but I couldn't find the methods to do that. Any help would be appreciated, Thanks, -Doug -- Douglas S. Blank, Assistant Professor db...@br..., (610)526-6501 Bryn Mawr College, Computer Science Program 101 North Merion Ave, Park Science Bld. Bryn Mawr, PA 19010 dangermouse.brynmawr.edu |
From: Dave R. <dr...@ca...> - 2002-03-26 20:14:31
|
Thanks for the info. We have both Solaris 7 and 8 machines here, but I need it to work for Solaris 7 machines. I tried it on a Solaris 8 machine (using Python2.2 compiled on a Solaris 2.7 machine) and it died with: src/interface/GL.EXT.vertex_array.0110.inc: In function `_glTexCoordPointerEXT': src/interface/GL.EXT.vertex_array.0110.inc:806: `GL_TEXTURE_COORD_ARRAY_EXT' undeclared (first use in this function) src/interface/GL.EXT.vertex_array.0110.inc:806: (Each undeclared identifier is reported only once src/interface/GL.EXT.vertex_array.0110.inc:806: for each function it appears in.) I wonder if it's a problem with our OpenGL header files/libraries or something else. Any thoughts? Thanks, Dave > From: "Mathias Haage" <mat...@cs...> > Date: Tue, 26 Mar 2002 21:00:17 +0100 > > I recently built PyOpenGL-2.0.0.44 on a Solaris 8 system (Python-2.2). I > based the sunos5.cfg file on the linux.cfg and had only to update the > include_dirs and library_dirs to point to my OpenGL include/lib directories > to get it working. > > /Mathias > > > ----- Original Message ----- > From: "Dave Reed" <dr...@ca...> > To: <pyo...@li...> > Sent: Tuesday, March 26, 2002 5:05 PM > Subject: [PyOpenGL-Users] PyOpenGL on Solaris > > > > > > I've just recently downloaded PyOpenGL for use at home (Linux) and at > > work (Solaris) so forgive me if this has been gone over before. > > > > Is anyone else is interested in getting PyOpenGL working on Solaris? > > I've got it at least partially working, but it would be nice if > > downloadable version worked "out of the box" on Solaris. > > > > Here's what I did (using Solaris 2.7 and python2.2c1 and gcc 2.95.3). > > > > 1. downloaded PyOpenGL-2.0.0.44.tar.gz > > > > 2. made a sunos5.cfg that pointed to files in /usr/openwin > > > > 3. deleted files in the following directories: > > interface/GL/SUN/* > > interface/GL/SUNX/* > > interface/GL/EXT/* > > > > I got compile errors if I didn't delete these files and I don't > > understand what would have to be done to make them work. > > > > 4. it didn't seem to install the GL and GLU /__init__.py and > > __init__.pyc files but did create the .so files > > > > 5. I copied the above mentioned.py and .pyc files from a Linux system > > and now all the examples in the redbook directory seemed to work > > fine. > > > > I'm willing to help getting this working on Solaris if anyone who > > understands the binding details is interested. > > > > Thanks, > > Dave |
From: Mathias H. <mat...@cs...> - 2002-03-26 20:00:42
|
I recently built PyOpenGL-2.0.0.44 on a Solaris 8 system (Python-2.2). I based the sunos5.cfg file on the linux.cfg and had only to update the include_dirs and library_dirs to point to my OpenGL include/lib directories to get it working. /Mathias ----- Original Message ----- From: "Dave Reed" <dr...@ca...> To: <pyo...@li...> Sent: Tuesday, March 26, 2002 5:05 PM Subject: [PyOpenGL-Users] PyOpenGL on Solaris > > I've just recently downloaded PyOpenGL for use at home (Linux) and at > work (Solaris) so forgive me if this has been gone over before. > > Is anyone else is interested in getting PyOpenGL working on Solaris? > I've got it at least partially working, but it would be nice if > downloadable version worked "out of the box" on Solaris. > > Here's what I did (using Solaris 2.7 and python2.2c1 and gcc 2.95.3). > > 1. downloaded PyOpenGL-2.0.0.44.tar.gz > > 2. made a sunos5.cfg that pointed to files in /usr/openwin > > 3. deleted files in the following directories: > interface/GL/SUN/* > interface/GL/SUNX/* > interface/GL/EXT/* > > I got compile errors if I didn't delete these files and I don't > understand what would have to be done to make them work. > > 4. it didn't seem to install the GL and GLU /__init__.py and > __init__.pyc files but did create the .so files > > 5. I copied the above mentioned.py and .pyc files from a Linux system > and now all the examples in the redbook directory seemed to work > fine. > > I'm willing to help getting this working on Solaris if anyone who > understands the binding details is interested. > > Thanks, > Dave > > _______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users > |
From: Dave R. <dr...@ca...> - 2002-03-26 16:06:00
|
I've just recently downloaded PyOpenGL for use at home (Linux) and at work (Solaris) so forgive me if this has been gone over before. Is anyone else is interested in getting PyOpenGL working on Solaris? I've got it at least partially working, but it would be nice if downloadable version worked "out of the box" on Solaris. Here's what I did (using Solaris 2.7 and python2.2c1 and gcc 2.95.3). 1. downloaded PyOpenGL-2.0.0.44.tar.gz 2. made a sunos5.cfg that pointed to files in /usr/openwin 3. deleted files in the following directories: interface/GL/SUN/* interface/GL/SUNX/* interface/GL/EXT/* I got compile errors if I didn't delete these files and I don't understand what would have to be done to make them work. 4. it didn't seem to install the GL and GLU /__init__.py and __init__.pyc files but did create the .so files 5. I copied the above mentioned.py and .pyc files from a Linux system and now all the examples in the redbook directory seemed to work fine. I'm willing to help getting this working on Solaris if anyone who understands the binding details is interested. Thanks, Dave |
From: <il...@ya...> - 2002-03-21 13:48:14
|
Hi, I've hacked up some code from the other pyopengl for the gl*Pointer functions, which don't seem to leak memory. If anyone is interested in this code, give me an email. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |
From: Nils P. S. <ni...@cs...> - 2002-03-21 01:45:10
|
Hmm, I feel kinda stupid asking about this, but I went straight to the PyOpenGL implementation to learn OpenGL. So, anyway, why does this crash python? import from OpenGL.GL * t = glGenTextures( 10 ) glDeleteTextures( t ) Something I misunderstood from the OpenGL documentation??? BTW, it still crashes in a bigger program with all the right contexts up... -- Nils Peter Sudmann // Sign v1.7 "Truth, a random variable possibly // ICQ#: 767489 containing complex numbers" // WWW: http://www.cs.uit.no/~nilss |
From: <il...@ya...> - 2002-03-20 23:33:29
|
Hello, First it is not leeks, or leecks, but leaks. oops :) The gl*Pointer functions are the ones leaking memory. I took my gl*Pointer functions out of my main loop and it stoped chewing up megabytes every few seconds. Still not clear on why. When an array is passed as an argument, is it copied? If it is, then the gl*Pointer functions would get the wrong pointer. Also if it is copied is the function responsible for freeing it? __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |
From: William J. P. <wjp...@un...> - 2002-03-20 22:20:19
|
I am trying to use glDrawPixels, and I have looked at the example on the webpage but I still cannot get this gl call to function properly. I've created a small sample program that should simply use glDrawPixels to turn the canvas red after you click the button labeled 'call glDrawpixels' and then click on the canvas. All I get is some random gray. Does anyone have any idea what I am doing wrong. My code is below. Thanks! -- Jake from OpenGL.GL import * from OpenGL.Tk import * from Tkinter import * def gl_test(o): glClearColor(0.0, 0.0, 1.0, 0) glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) image=[] i=0 while i<(256*256): image.append(255) image.append(0) image.append(0) i=i+1 glPixelStorei(GL_PACK_ALIGNMENT, 1) glPixelStorei(GL_UNPACK_ALIGNMENT, 1) glMatrixMode(GL_PROJECTION) glLoadIdentity() gluOrtho2D(0.0, 1.0, 0.0, 1.0) glViewport(0.0, 0.0, 256.0, 256.0) glMatrixMode(GL_MODELVIEW) glPushMatrix() glLoadIdentity() glDrawPixels(256, 256, GL_RGB, GL_UNSIGNED_BYTE, image) glFlush() glPopMatrix() print 'in gl_test..' def new_redraw(o): o.redraw=gl_test print 'in new_redraw' def redraw(o): glClearColor(0.0, 0.0, 0.0, 0) glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) print 'in redraw' widget = Frame() widget.pack() l=Label(widget, text='glDrawpixels test') l.pack(side=TOP) canvas=Opengl(widget, width=256, height=256, double=1) canvas.redraw=redraw canvas.pack(side=TOP) b=Button(widget, text='Call glDrawpixels', command=(lambda: new_redraw(canvas))) b.pack(side=TOP) widget.mainloop() |
From: <no...@so...> - 2002-03-20 19:25:22
|
Support Requests item #532669, was opened at 2002-03-20 11:25 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=532669&group_id=5988 Category: None Group: v1.5.7 Status: Open Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: functionality Initial Comment: I am running python1.5.2 and I want to install PyOpenGL1.5.7. I was told I would not have all the capabilities avaliable running this setup, is that true? Thanks ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=205988&aid=532669&group_id=5988 |
From: <il...@ya...> - 2002-03-19 14:57:50
|
Ok, I think I've found the problem with glTexCoordPointer. It is to do with the way that decrementPointerLock is used. It calls glGetPointerv when there has not been any pointers supplied. Thus it raises a gl error. Not sure why this doesn't happen with glVertexPointer... Not sure how the memory management is supposed to work, so I haven't been able to fix it without it leeking memory all over the place. There is a memory leek with no changes as well. You can see it in the tests that use the gl*Pointer functions( just move the window arround so that the display ticks round ). I don't know the c python api very well, so it would be good if someone who did could come along and fix this :) __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |
From: <il...@ya...> - 2002-03-19 11:31:40
|
On Tuesday 19 March 2002 18:00, Jan Ekholm wrote: > On Mon, 18 Mar 2002, [iso-8859-1] Rene Dudfield wrote: > >Hi, > > > >None of the glTexCoordPointer functions work for me. > >I'm using 2.0.0.44 > > > > > >I can give someone a program I've been using to test > >it out, if that helps. > > > >I got this error message: > >OpenGL.GL.GLerror: [Errno 1282] invalid operation > > This was asked here before, I think, a few months ago. What was the > solution to that problem? Maybe in the archives? I searched the archives again( manually, there is still no search function on sf.net ) and found the thread Re: vertex/texture arrays. However there was no solution for the glTexCoordPointer problem as far as I know. Someone suggested using the struct module to pass the data in, but the person having the problem said this was not working either. btw, my cvs problem was solved by using swig 3.5a. The cvs version doesn't work for glTexCoordPointer either. I'm going to spend some more time tracking down the problem. If I find anything I'll write to the list. The swig interfaces for glVertexPointer and glTexCoordPointer look similar, and I can't see any obvious problems there. I'll look into the swig output code next I think. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |
From: Jan E. <ch...@in...> - 2002-03-19 08:00:28
|
On Mon, 18 Mar 2002, [iso-8859-1] Rene Dudfield wrote: >Hi, > >None of the glTexCoordPointer functions work for me. >I'm using 2.0.0.44 > > >I can give someone a program I've been using to test >it out, if that helps. > >I got this error message: >OpenGL.GL.GLerror: [Errno 1282] invalid operation This was asked here before, I think, a few months ago. What was the solution to that problem? Maybe in the archives? -- Shadwell hated all southerners and, by inference, was standing at the North Pole. -- Terry Pratchett & Neil Gaiman, Good Omens |
From: <il...@ya...> - 2002-03-18 14:38:08
|
Hi, None of the glTexCoordPointer functions work for me. I'm using 2.0.0.44 I can give someone a program I've been using to test it out, if that helps. I got this error message: OpenGL.GL.GLerror: [Errno 1282] invalid operation I tried changing the data format ( eg array([[1., 0.], [1.,0.2]]), using .tostring() ) But with no success. Any help would be appreciated. I tried checking out cvs( hoping my problem would be solved there ), however I got some errors while building at Building wrappers for WGL.ARB.buffer_region Generating C version selector Generating wrappers for API version 0x0100 swig -python -Iinterface -DAPI_VERSION=256 -o src/interface/WGL.ARB.buffer_region.0100.inc interface/WGL/ARB/buffer_region.i Syntax error interface/WGL/util.inc:9. Syntax error in input. interface/WGL/util.inc:10. Syntax error in input. interface/WGL/util.inc:11. Syntax error in input. interface/WGL/util.inc:12. Syntax error in input. interface/WGL/util.inc:13. Syntax error in input. interface/WGL/util.inc:14. Syntax error in input. interface/WGL/util.inc:15. Syntax error in input. interface/WGL/util.inc:16. Syntax error in input. interface/WGL/util.inc:17. Syntax error in input. interface/WGL/util.inc:18. Syntax error in input. interface/WGL/util.inc:19. Syntax error in input. interface/WGL/util.inc:40. Syntax error in input. Syntax error interface/WGL/ARB/buffer_region.i:29. Syntax error in input. interface/WGL/ARB/buffer_region.i:29. Missing semicolon. Reached end of input. I am on debian/linux. I'm using swig1.3.11u, which is probably the problem( as it says on the website to use 1.3a5). Thought I'd mention my problem, incase the web page was a bit out of date :) Is WGL supposed to be built on linux? Thanks for any help. __________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com |
From: gabor <ga...@ho...> - 2002-03-06 23:14:13
|
hi, i've got problems when running the pyopengl programs... i'm using mandrake linux 8.1 nvidia tnt 2. glut: if i start a pygl script from the shell it's ok. but if i start it from idle and at the end close it, idle closes too... tkinter: i open a python-tkinter program in idle. i run it. it works fine. then i want to run it again . and i got an error like: ------------------------------------------------------------------------ Traceback (most recent call last): File "/home/xlat/pygltest/tile.py", line 86, in ? checker() File "/home/xlat/pygltest/tile.py", line 81, in __init__ self.SetupWindow() File "/home/xlat/pygltest/tile.py", line 52, in SetupWindow self.ogl = Opengl(master=self.OglFrame, width = 500, height = 500, double = 1) File "/usr/lib/python2.2/site-packages/OpenGL/Tk/__init__.py", line 233, in __init__ apply(RawOpengl.__init__, (self, master, cnf), kw) File "/usr/lib/python2.2/site-packages/OpenGL/Tk/__init__.py", line 188, in __init__ Widget.__init__(self, master, 'togl', cnf, kw) File "/usr/lib/python2.2/lib-tk/Tkinter.py", line 1756, in __init__ self.tk.call( TclError: invalid command name "togl" ------------------------------------------------------------------------- i have to restart idle to be able to run the pygl program again... any ideas? bye, gabor p.s: what ide do you recommend? |
From: Joe C. <jo...@al...> - 2002-02-28 21:56:35
|
Hi, Has anyone been able to get the opengl widget working properly with threads, every time I try to make a gl call that's not in the original thread it crashes. Can it be done? Thanks Joe |
From: William J. P. <wjp...@un...> - 2002-02-27 22:37:37
|
Does anyone know of any examples that show how to use glDrawPixels from within PyOpenGL? I am porting an application from C++, and this GL call is working fine in the C++ version, but I'm not getting a correct image from PyOpenGL. Thanks! -- Jake |
From: Jake <jpr...@ca...> - 2002-02-16 00:00:20
|
Hi, I am trying to do GL rendering on a canvas inside of a GUI I've created using Python and Tkinter. I've installed PyOpenGL, and looking through the examples, I see the Opengl() constructor being called for an OpenGL canvas. Is there a way to assign a parent when I call the Opengl constructor? I need this widget to be a child of other Tkinter widgets, such as frames. Any suggestions would be appreciated! Thanks! -- Jake |
From: Mike C. F. <mcf...@ro...> - 2002-01-29 17:28:05
|
Only useful documentation I've ever seen is the source code. There's also an auto-generated document linked below, but it doesn't have any doc strings, and is mostly composed of the inherited methods, rather than the PyOpenGL-specific ones, so it's pretty hard to use. http://pyopengl.sourceforge.net/documentation/pydoc/OpenGL.Tk.html#Togl HTH, Mike Joe Connellan wrote: > Hi, does anyone have a link to some documentation for OpenGL.Tk? in > particular the opengl widget. > > Thanks in advance > > Joe ... |
From: Joe C. <jo...@al...> - 2002-01-29 00:51:54
|
Hi, does anyone have a link to some documentation for OpenGL.Tk? in particular the opengl widget. Thanks in advance Joe |
From: noah l. <nl...@ea...> - 2002-01-28 21:56:50
|
Hi everyone,=20 disclaimer: I'm just learning both python and opengl, and I may be breaking off more than I can chew here. Python 2.2 windows 2000 sp2 pyopengl 2.0.0.44 I'm using python and opengl to do more abstract, creative interactive environments in the hopes of integrating these studies into my chosen field, architecture. The program here is a single nurbs curve that is created from random points generated for each frame. I was able to modify the red book nurbs curve example with evaluators, but now I'm trying to use the glu routines (I'd like eventually to be able to do a whole bunch of these curves). two issues: the first one(and biggest) is that the thing won't work. the relevant code follows... ###nurbs4.py=20 # not sure what to put in knots... ascending floats, 7 terms # doesn't seem to make too much difference... controlpoints =3D [] # I have a basic routine to pack this =20 knots =3D [0.0, 0.0, 0.0, 1.0,2.0,3.0,4.0] =20 =20 nurb1 =3D gluNewNurbsRenderer() =20 ...<snip> def InitGL(): ...<snip> glEnable(GL_AUTO_NORMAL) glEnable(GL_NORMALIZE) gluNurbsProperty(nurb1,GLU_SAMPLING_TOLERANCE,50.0) gluNurbsProperty(nurb1,GLU_DISPLAY_MODE,GLU_OUTLINE_PATCH)=20 def DrawGlScene(): ...<snip> gluBeginCurve(nurb1) # I've tried all the kinds of types for glNurbsCurve, # with little effect. =20 glNurbsCurve(nurb1, knots, controlpoints, GL_MAP1_TRIM_2)=20 gluEndCurve(nurb1) ### end code fragment the error message I get follows: Traceback (most recent call last): File "nurbs4.py", line 85, in DrawGLScene gluBeginCurve(nurb1) OpenGL.GLU.GLUerror: [Errno 100259] can't draw pwlcurves the second problem occurred as I tried to put in an error correction callback to read GLU_NURBS_ERROR (not GLU_ERROR) and couldn't get either of them to work as a proper error. I know that GLU has deprecated the older one in favor of the new one, and I'm using the most recent version of pyopengl... In any case, if you can get me on track with the first problem, I'll be mightily appreciative. thanks in advance, noah luken |
From: Tarn W. B. <twb...@us...> - 2002-01-26 14:19:02
|
Try the mesa setup patch. The release notes at the SF page tell how to use it. Tarn |
From: Jake <jpr...@ca...> - 2002-01-26 03:18:55
|
Hi, I am attempting to install PyOpenGL, and when I run 'python setup.py build', it compiles for a minute or so and then dies with the long error message below. Any suggestions/advice would be greatly appreciated! -- Jake gcc -O3 -fomit-frame-pointer -pipe -s -march=pentium -ffast-math -fexpensive-optimizations -fPIC -DGLX_PLATFORM -I/usr/include -I/usr/local/include -I/usr/X11/include -Isrc/gle/src -I/usr/include/python1.5 -c src/interface/GLU.__init___.c -o build/temp.linux-i686-1.5/GLU.__init___.o In file included from src/interface/GLU.__init___.c:9: src/interface/GLU.__init___.0102.inc:1387: warning: `GLU_NURBS_MODE' redefined /usr/include/GL/glu.h:207: warning: this is the location of the previous definition In file included from src/interface/GLU.__init___.c:9: src/interface/GLU.__init___.0102.inc:1007: parse error before `GLUquadric' src/interface/GLU.__init___.0102.inc:1007: warning: no semicolon at end of struct or union src/interface/GLU.__init___.0102.inc:1010: parse error before `}' src/interface/GLU.__init___.0102.inc:1010: warning: data definition has no type or storage class src/interface/GLU.__init___.0102.inc:1013: parse error before `*' src/interface/GLU.__init___.0102.inc:1013: warning: data definition has no type or storage class src/interface/GLU.__init___.0102.inc: In function `PyGLUquadric_Del': src/interface/GLU.__init___.0102.inc:1017: parse error before `)' src/interface/GLU.__init___.0102.inc: At top level: src/interface/GLU.__init___.0102.inc:1036: parse error before `*' src/interface/GLU.__init___.0102.inc: In function `_gluNewQuadric': src/interface/GLU.__init___.0102.inc:1038: `self' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:1038: (Each undeclared identifier is reported only once src/interface/GLU.__init___.0102.inc:1038: for each function it appears in.) src/interface/GLU.__init___.0102.inc:1038: parse error before `)' src/interface/GLU.__init___.0102.inc: At top level: src/interface/GLU.__init___.0102.inc:1051: parse error before `*' src/interface/GLU.__init___.0102.inc:1410: parse error before `GLUnurbs' src/interface/GLU.__init___.0102.inc:1410: warning: no semicolon at end of struct or union src/interface/GLU.__init___.0102.inc:1413: parse error before `}' src/interface/GLU.__init___.0102.inc:1413: warning: data definition has no type or storage class src/interface/GLU.__init___.0102.inc:1416: parse error before `*' src/interface/GLU.__init___.0102.inc:1416: warning: data definition has no type or storage class src/interface/GLU.__init___.0102.inc: In function `PyGLUnurbs_Del': src/interface/GLU.__init___.0102.inc:1420: parse error before `)' src/interface/GLU.__init___.0102.inc:1422: parse error before `)' src/interface/GLU.__init___.0102.inc:1422: parse error before `)' src/interface/GLU.__init___.0102.inc:1422: parse error before `)' src/interface/GLU.__init___.0102.inc: In function `GetNurbsCallback': src/interface/GLU.__init___.0102.inc:1445: request for member `callbacks' in something not a structure or union src/interface/GLU.__init___.0102.inc: At top level: src/interface/GLU.__init___.0102.inc:1451: parse error before `*' src/interface/GLU.__init___.0102.inc: In function `_gluNewNurbsRenderer': src/interface/GLU.__init___.0102.inc:1453: `self' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:1453: parse error before `)' src/interface/GLU.__init___.0102.inc: At top level: src/interface/GLU.__init___.0102.inc:1652: parse error before `*' src/interface/GLU.__init___.0102.inc: In function `_gluNurbsCallback': src/interface/GLU.__init___.0102.inc:1654: `which' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:1657: `self' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:1657: `pyfunc' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:1657: warning: unreachable code at beginning of switch statement src/interface/GLU.__init___.0102.inc: At top level: src/interface/GLU.__init___.0102.inc:1728: parse error before `*' src/interface/GLU.__init___.0102.inc: In function `gluNurbsCallbackDataEXT': src/interface/GLU.__init___.0102.inc:1728: parse error before `*' src/interface/GLU.__init___.0102.inc:1728: `theNurb' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:1728: `userData' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNewQuadric': src/interface/GLU.__init___.0102.inc:2929: `result' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2933: parse error before `)' src/interface/GLU.__init___.0102.inc: In function `_wrap_gluQuadricNormals': src/interface/GLU.__init___.0102.inc:2962: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2962: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2963: parse error before `arg1' src/interface/GLU.__init___.0102.inc:2966: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2966: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2973: parse error before `)' src/interface/GLU.__init___.0102.inc:2974: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluQuadricTexture': src/interface/GLU.__init___.0102.inc:2991: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2991: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2992: parse error before `arg1' src/interface/GLU.__init___.0102.inc:2996: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:2996: `obj1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3003: parse error before `)' src/interface/GLU.__init___.0102.inc:3004: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc:3007: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc: In function `_wrap_gluQuadricOrientation':src/interface/GLU.__init___.0102.inc:3024: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3024: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3025: parse error before `arg1' src/interface/GLU.__init___.0102.inc:3028: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3028: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3035: parse error before `)' src/interface/GLU.__init___.0102.inc:3036: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluQuadricDrawStyle': src/interface/GLU.__init___.0102.inc:3053: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3053: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3054: parse error before `arg1' src/interface/GLU.__init___.0102.inc:3057: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3057: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3064: parse error before `)' src/interface/GLU.__init___.0102.inc:3065: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluCylinder': src/interface/GLU.__init___.0102.inc:3082: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3082: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3083: parse error before `arg1' src/interface/GLU.__init___.0102.inc:3090: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3090: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3090: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3090: `arg3' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3090: `arg4' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3090: `arg5' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3097: parse error before `)' src/interface/GLU.__init___.0102.inc:3098: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluDisk': src/interface/GLU.__init___.0102.inc:3115: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3115: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3116: parse error before `arg1' src/interface/GLU.__init___.0102.inc:3122: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3122: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3122: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3122: `arg3' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3122: `arg4' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3129: parse error before `)' src/interface/GLU.__init___.0102.inc:3130: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluPartialDisk': src/interface/GLU.__init___.0102.inc:3147: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3147: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3148: parse error before `arg1' src/interface/GLU.__init___.0102.inc:3156: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3156: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3156: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3156: `arg3' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3156: `arg4' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3156: `arg5' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3156: `arg6' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3163: parse error before `)' src/interface/GLU.__init___.0102.inc:3164: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluSphere': src/interface/GLU.__init___.0102.inc:3181: `GLUquadric' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3181: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3182: parse error before `arg1' src/interface/GLU.__init___.0102.inc:3187: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3187: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3187: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3187: `arg3' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3194: parse error before `)' src/interface/GLU.__init___.0102.inc:3195: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluQuadricCallback': src/interface/GLU.__init___.0102.inc:3212: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3213: parse error before `arg1' src/interface/GLU.__init___.0102.inc:3219: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3219: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3219: `obj2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3226: parse error before `)' src/interface/GLU.__init___.0102.inc:3234: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3237: `result' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNewNurbsRenderer': src/interface/GLU.__init___.0102.inc:3666: `result' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3670: parse error before `)' src/interface/GLU.__init___.0102.inc: In function `_wrap_gluBeginSurface': src/interface/GLU.__init___.0102.inc:3699: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3699: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3700: parse error before `*' src/interface/GLU.__init___.0102.inc:3702: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3709: parse error before `)' src/interface/GLU.__init___.0102.inc:3710: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluBeginCurve': src/interface/GLU.__init___.0102.inc:3727: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3727: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3728: parse error before `*' src/interface/GLU.__init___.0102.inc:3730: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3737: parse error before `)' src/interface/GLU.__init___.0102.inc:3738: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluEndCurve': src/interface/GLU.__init___.0102.inc:3755: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3755: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3756: parse error before `*' src/interface/GLU.__init___.0102.inc:3758: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3765: parse error before `)' src/interface/GLU.__init___.0102.inc:3766: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluEndSurface': src/interface/GLU.__init___.0102.inc:3783: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3783: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3784: parse error before `*' src/interface/GLU.__init___.0102.inc:3786: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3793: parse error before `)' src/interface/GLU.__init___.0102.inc:3794: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluBeginTrim': src/interface/GLU.__init___.0102.inc:3811: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3811: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3812: parse error before `*' src/interface/GLU.__init___.0102.inc:3814: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3821: parse error before `)' src/interface/GLU.__init___.0102.inc:3822: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluEndTrim': src/interface/GLU.__init___.0102.inc:3839: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3839: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3840: parse error before `*' src/interface/GLU.__init___.0102.inc:3842: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3849: parse error before `)' src/interface/GLU.__init___.0102.inc:3850: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluPwlCurve': src/interface/GLU.__init___.0102.inc:3867: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3867: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3868: parse error before `arg1' src/interface/GLU.__init___.0102.inc:3880: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3880: `obj2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3880: `arg4' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3887: parse error before `)' src/interface/GLU.__init___.0102.inc:3888: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc:3891: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3891: `temp_array' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3894: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3897: `arg3' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNurbsCurve': src/interface/GLU.__init___.0102.inc:3917: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3917: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3918: parse error before `arg1' src/interface/GLU.__init___.0102.inc:3936: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3936: `obj2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3936: `obj5' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3936: `arg6' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3943: parse error before `)' src/interface/GLU.__init___.0102.inc:3944: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc:3947: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3947: `temp_knot' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3951: `arg5' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3951: `temp_ctlarray' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3954: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3957: `arg3' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3960: `arg4' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNurbsSurface': src/interface/GLU.__init___.0102.inc:3983: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3983: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:3984: parse error before `arg1' src/interface/GLU.__init___.0102.inc:4011: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4011: `obj2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4011: `obj4' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4011: `obj8' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4011: `arg9' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4018: parse error before `)' src/interface/GLU.__init___.0102.inc:4019: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc:4022: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4022: `temp_sknot' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4025: `arg4' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4025: `temp_tknot' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4029: `arg8' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4029: `temp_ctlarray' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4032: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4035: `arg3' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4038: `arg5' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4041: `arg6' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4044: `arg7' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc: In function `_wrap_gluLoadSamplingMatrices': src/interface/GLU.__init___.0102.inc:4070: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4070: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4071: parse error before `*' src/interface/GLU.__init___.0102.inc:4082: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4082: `obj1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4082: `obj2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4082: `obj3' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4089: parse error before `)' src/interface/GLU.__init___.0102.inc:4090: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc:4093: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4093: `temp_modelMatrix' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4096: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4096: `temp_projMatrix' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4099: `arg3' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4099: `temp_viewport' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNurbsProperty': src/interface/GLU.__init___.0102.inc:4125: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4125: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4126: parse error before `arg1' src/interface/GLU.__init___.0102.inc:4130: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4130: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4130: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4137: parse error before `)' src/interface/GLU.__init___.0102.inc:4138: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluGetNurbsProperty': src/interface/GLU.__init___.0102.inc:4155: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4155: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4156: parse error before `arg1' src/interface/GLU.__init___.0102.inc:4162: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4162: `temp_value' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4164: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4164: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4171: parse error before `)' src/interface/GLU.__init___.0102.inc:4172: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc: In function `_wrap_gluNurbsCallback': src/interface/GLU.__init___.0102.inc:4194: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4195: parse error before `arg1' src/interface/GLU.__init___.0102.inc:4201: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4201: `arg1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4201: `obj2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4208: parse error before `)' src/interface/GLU.__init___.0102.inc:4216: `arg2' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4219: `result' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc: In function `_wrap___gluNurbsCallbackDataEXT': src/interface/GLU.__init___.0102.inc:4234: `GLUnurbs' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4234: `arg0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4235: parse error before `*' src/interface/GLU.__init___.0102.inc:4239: `obj0' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4239: `obj1' undeclared (first use in this function) src/interface/GLU.__init___.0102.inc:4246: parse error before `)' src/interface/GLU.__init___.0102.inc:4247: request for member `obj' in something not a structure or union src/interface/GLU.__init___.0102.inc:4250: `arg1' undeclared (first use in this function) error: command 'gcc' failed with exit status 1 [3]+ Exit 1 python setup.py build |
From: Joe C. <jo...@al...> - 2002-01-25 00:33:24
|
Hi, in the examples they use myOpengl.redraw = redrawCB to override the redraw callback function, but they then use glut to set the resize, mousemotion, etc functions. I was wondering what member functions I need to override if I don't want to use glut? also does anyone know of any documentation or examples that don't use glut for this sort of thing? I am using OpenGL.Tk with Tkinter. Thanks in advance joe |