Re: [osg-users] ANN: osgSWIG/Py available

2009-01-14 Thread Phan, Linh H
Hi, I'm trying to run the gtkoswidget.py example in python IDLE 1.2.1 and I got stuck at gtk: import sys import pygtk pygtk.require('2.0') import gtk Traceback (most recent call last): File pyshell#3, line 1, in module import gtk File

Re: [osg-users] How to define my own geometry in osgswig?

2008-11-17 Thread Phan, Linh H
are. See the pyramid.py example for defining your own geometry without subclassing. Gerwin On Mon, Nov 17, 2008 at 8:43 AM, Phan, Linh H [EMAIL PROTECTED] wrote: Hi, I was wondering if it's possible to draw my own geometry in osgswig, eg something like: import osg, osgViewer class MyCube

[osg-users] How to define my own geometry in osgswig?

2008-11-16 Thread Phan, Linh H
Hi, I was wondering if it's possible to draw my own geometry in osgswig, eg something like: import osg, osgViewer class MyCube(osg.Drawable): def __init__(self): osg.Drawable.__init__(self); # AttributeError: No constructor defined def drawImplementation(self, state):

Re: [osg-users] osgswig binary release?

2008-11-15 Thread Phan, Linh H
the OpenSceneGraph-Data file). You must be able to run the regular osgviewer with this file as well (osgviewer cow.osg). Gerwin On Fri, Nov 14, 2008 at 11:50 PM, Phan, Linh H [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: Hi Luigi, thanks for your osg.zip! However, whenever I run pickosg.py

Re: [osg-users] osgswig binary release?

2008-11-14 Thread Phan, Linh H
to make some changes to build as reported in http://code.google.com/p/osgswig/issues/detail?id=13 If interested, let me know Luigi Phan, Linh H ha scritto: Hi, I'm having a real hard time compiling osgswig (gotten from osgswig svn) for OpenSceneGraph 2.3.4 on Windows using MinGW or cygwin

Re: [osg-users] osgswig binary release?

2008-11-14 Thread Phan, Linh H
code site, so we might be able to assist you. regards, Gerwin On Fri, Nov 14, 2008 at 2:11 AM, Phan, Linh H [EMAIL PROTECTED]mailto:[EMAIL PROTECTED] wrote: Hi, I'm having a real hard time compiling osgswig (gotten from osgswig svn) for OpenSceneGraph 2.3.4 on Windows using MinGW or cygwin

[osg-users] osgswig binary release?

2008-11-13 Thread Phan, Linh H
Hi, I'm having a real hard time compiling osgswig (gotten from osgswig svn) for OpenSceneGraph 2.3.4 on Windows using MinGW or cygwin. The README said that it has been tested with OpenSceneGraph 2.3.4. Does anyone have a pre-built Windows binary for osgswig that they can make available? I