On Thu, Jun 29, 2006 at 06:48:59PM -0400, Buddha Buck wrote:
> PySoy compiles for me, but just compiling doesn't mean it works. Are there
> any test cases or other similar stuff to tell if PySoy works or doesn't
> work?
# python
Python 2.4.2 (#1, Apr 25 2006, 16:15:18)
[GCC 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import soy
>>> soy.init()
* pySoy * Using 8 bits stencil buffer
* pySoy * version Trunk
* Using OpenGL 1.2 Mesa 6.2.1
* - renderer : Mesa DRI Rage 128 Pro 20041001 AGP 1x x86/MMX/SSE
* - vendor : VA Linux Systems, Inc.
* - maximum number of lights : 8
* - maximum number of clip planes : 6
* - maximum number of texture units : 2
* - maximum texture size : 512 pixels
>>> scene = soy.Node()
>>> mesh = soy.Mesh.load('test')
>>> thing = soy.Entity(scene, mesh)
>>> soy.render()
>>> thing.rotate_x(5.0)
>>> soy.render()
I think that's correct...
_______________________________________________
PySoy-Dev mailing list
[email protected]
http://www.pysoy.org/mailman/listinfo/pysoy-dev