Subject:
|
Re: Introducing Lic - Lego Instruction Creator (pre-alpha)
|
Newsgroups:
|
lugnet.cad.dev, lugnet.cad.dev.mac
|
Date:
|
Fri, 28 Sep 2007 14:23:17 GMT
|
Viewed:
|
42 times
|
| |
| |
In lugnet.cad.dev, Remi Gagne wrote:
|
On my machine (win32), the function glDeleteFramebuffersEXT() expects a list
as its last argument, but seems yours is expecting an integer. Ive seen
both versions in the literature. If youre willing and curious, want to
change the code? In GLHelpers.py, just change line 119 by removing the two
square brackets around framebuffer, see if that helps.
|
Sure. It fails in the same place, but with a different error:
glDeleteFramebuffersEXT(1, framebuffer)
ctypes.ArgumentError: argument 2: <type 'exceptions.NameError'>: global name 'typeCode' is not defined
Wish I knew more about Python so I could help debug a little better.
|
If it doesnt, no worries - this probably isnt the best venue to debug.
Ill have access to an OS X test machine soon, and will maintain better
cross-platform support.
|
No problem. I kept notes on everything I installed, more or less, if its of
interest. Heres which OpenGL packages Ive got - maybe you can advise different
versions to match yours:
- PyOpenGL-3.0.0a6
- gtkglext-1.2.0
- pygtkglext-1.1.0
I did notice that pygobject-2.14.0 reported libffi support: no, although it
and everything else built fine. If I understand correctly (never a certainty),
libffi provides some sort of mechanism for different languages to call each
others functions. Could this be related to the mismatched argument types that
cause the error?
Based on that notion I did try to find a way to install libffi, but I havent
managed.
|
Regarding your instructions rendering; its absolutely fantastic! Its got
to be one of the cleanest, most easily read images Ive ever seen. Any hints
on tools / methods you used to pulled it off?
|
Thanks. This thread and some
additional advice from Allen Smith deserve most of the credit. Im using L3P and
Travis Cobbs command line build of MegaPOV 0.7 (with edge tracing and alpha
channel output). The plan is to automate the remaining manual changes and share
whatever tools or techniques that effort yields.
Jim
|
|
Message is in Reply To:
7 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|