Hello Soya People.

This question is completely unrelated to Soya, however Soya developers
have the most experience with using Python,  OpenGL and Pyrex, which
is where my problem lies, so please forgive me this time :-)


The Situation:

I am building a scene graph system specifically for rendering 2D
quads. Using the visitor pattern, I have built a scene graph renderer
in Python + PyOpenGL.

The scene graph first needs to be 'compiled', which does things like
load textures, and create display lists. The Compiler visitor is
written in Python.

http://svn.xerian.net/xerian.net/qgl/trunk/qgl/render.py (see class
Render and class Compiler)

I've written a Pyrex version of my Render visitor here:

http://svn.xerian.net/xerian.net/qgl/trunk/qglc/render.pyx

A small test is located here:

http://svn.xerian.net/xerian.net/qgl/trunk/test/

If you uncomment line 15, the test will use the pyrex render class.

The Problem:

The Pyrex Render visitor mostly works, but does not render any of my
Text nodes (which are just display lists). Are display lists allowed
to be shared across shared libraries? Is there some trick which I
don't know about?

Any thoughts or comments are appreciated.

-Simon Wittber

_______________________________________________
Soya-user mailing list
[email protected]
https://mail.gna.org/listinfo/soya-user

Reply via email to