Intro

23 views
Skip to first unread message

stabbin...@gmail.com

unread,
Jan 19, 2010, 2:07:40 AM1/19/10
to PYGGEL-dev
Hey, guys. You may have seen me orbiting around the 2D circles. I
recognize some of these names. Been really wanting to dig into 3D for
a couple of years. Well, broke down and got me a OpenGL book.
Searching now for an engine or libraries to help me get off the
ground. I'm thinking PYGGEL may be it. I hope so.

But I am having some beginner's woes. Getting errors I can't make
sense of (yet): with numpy.dtype, with OpenGL_accelerate's
_registeredChecker. I've tried the self-help and the trial-and-error
routes. Google has been uncharacteristically unhelpful.

I read posts in your group stating you've got this working. It's clear
you got some secret knowledge. =) So I'm wondering if you could
suggest a solid development build for Windows. Specifically, what
Python version and package versions for PyOpenGL and Numpy would make
a stable foundation for PYGGEL?

Thanks in advance for any help. I would love to get past the startup
difficulties and tear into the 3D learning curve. :)

Gumm

RB[0]

unread,
Jan 19, 2010, 11:02:37 AM1/19/10
to PYGGEL-dev
Hey Gumm,
I'm trying to recall if this is working in SVN or in the last release.
I've been rather busy and haven't work on PYGGEL solidly for about a
month or so now - but I'll be getting back to it soon.

What I use for PYGGEL dev is Python 2.5.x, latest Pygame, latest
numpy, and latest PyopenGL.

If that setup won't work could you post your traceback when it fails?
Thanks

On Jan 19, 1:07 am, "stabbingfin...@gmail.com"

stabbin...@gmail.com

unread,
Jan 19, 2010, 9:01:59 PM1/19/10
to PYGGEL-dev
Hey, thanks for the quick response. :) I tracked the issue down to two
things: PyOpenGL 3 doesn't seem to like Numpy 1.4, at least on my
comp; and PYGGEL, or perhaps something intermediate that it's using,
doesn't seem to like PyOpenGL_accelerate. The PYGGEL examples run and
do things when I don't have PyOpenGL_accelerate installed. When the
accelerate package is installed, I get the following:

[17:49:52]# python example1-speed.py
Traceback (most recent call last):
File "example1-speed.py", line 7, in <module>
import pyggel
File "C:\cygwin\home\willsba\devel\python\svn\pyggel\pyggel
\__init__.py", line 9, in <module>
import mesh, view, image, camera, math3d, light
File "C:\cygwin\home\willsba\devel\python\svn\pyggel\pyggel
\mesh.py", line 10, in <module>
import image, view, data, misc, math3d
File "C:\cygwin\home\willsba\devel\python\svn\pyggel\pyggel
\image.py", line 11, in <module>
import view, data, misc
File "C:\cygwin\home\willsba\devel\python\svn\pyggel\pyggel
\view.py", line 259, in <module>
safeCheckError = oglError.ErrorChecker._registeredChecker
AttributeError: 'OpenGL_accelerate.errorchecker._ErrorChecker' object
has no attribute '_registeredChecker'

Also, I do not know enough to assess if what I'm seeing in PYGGEL is a
known bug so I will mention it. The scenes in the PYGGEL examples are
all upside down, the fonts appear broken--only partially rendered, or
perhaps corrupted, I can't really tell--and the widgets in the GUI
example appear corrupted.

Here is the package config I got working, in case you want to start a
sticky post with such info:

Windows XP Pro SP 2
Python 2.5.4
Pygame 1.9.1
Numpy 1.3.0
PyOpenGL 3.0.1b2
PIL 1.1.6
wxPython 2.8
Psyco 1.6

Frame rates are excellent, even without OpenGL acceleration.

Gumm

RB[0]

unread,
Jan 19, 2010, 9:31:13 PM1/19/10
to pygge...@googlegroups.com
Yeah, I don't use opengl accelerate, so that could very well be it.
I am in the middle of rewriting a lot of texture stuff, so they are kinda messed up still...

Thanks though...

--
You received this message because you are subscribed to the Google Groups "PYGGEL-dev" group.
To post to this group, send email to pygge...@googlegroups.com.
To unsubscribe from this group, send email to pyggel-dev+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pyggel-dev?hl=en.




Reply all
Reply to author
Forward
0 new messages