Hi Jean-Sébastien, thanks! running the latest notes from the wiki main page all works fine. now i'm exploring the example code.
a question : have you never tried to add a python osgviewer inside a PyQt4 (or wx-python) gui ? thanks, Massimo. Il giorno 15/dic/2009, alle ore 18.47, Jean-Sébastien Guay ha scritto: > Hi Massimo, > > Sorry, my first reply went to you directly... I don't know why, sometimes > "reply" replies straight to the sender, even though the mailing list should > be changing the headers so that replies go back to the mailing list... > >> i'm running osgboostpython <http://code.google.com/p/osgboostpython/> on mac >> osx 10.6 (osg svn, 64-bit) >> boost+python support from source (1.41) > > Please note that I've never tried to build it on Mac OS X, so your input will > be valuable (as below). > >> now i'm tring to runs some examles, but i have problems using the code from >> the main page : >> In [12]: s.setTextureAttributeAndModes(0, t, osg.StateAttribute.Values.ON) >> ------------------------------------------------------------ >> Traceback (most recent call last): >> File "<ipython console>", line 1, in <module> >> AttributeError: type object 'Values' has no attribute 'ON' >> any clue on what's wrong? > > Yes, the enums were changed to const members to fit better with the C++ style > but I didn't change the code on the front page :-( > > Try to use osg.StateAttribute.ON instead (without the .Values)... > > See > http://code.google.com/p/osgboostpython/source/browse/trunk/osgBoostPython/lib/osg/__init__.py > > I've updated the front page now. Sorry about that. > >> ... tring to build osgboostpython <http://code.google.com/p/osgboostpython/> >> , seems that it don't recognize the .dylb files >> so i had to simlink *.dylb to *.so. > > You could possibly change the jam files so that it uses .dylib files instead, > but I have no clue how to do that. Perhaps the bjam / jam / boost.build > documentation can help you. > > Thanks, > > J-S > -- > ______________________________________________________ > Jean-Sebastien Guay jean-sebastien.g...@cm-labs.com > http://www.cm-labs.com/ > http://whitestar02.webhop.org/ > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org