You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(2) |
Dec
(5) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
(3) |
Feb
(4) |
Mar
(7) |
Apr
|
May
(2) |
Jun
(4) |
Jul
|
Aug
(17) |
Sep
(3) |
Oct
(1) |
Nov
|
Dec
|
2005 |
Jan
|
Feb
(9) |
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(5) |
Jul
|
Aug
|
Sep
(3) |
Oct
|
Nov
(3) |
Dec
(1) |
2007 |
Jan
(3) |
Feb
(6) |
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Randall H. <vi...@ch...> - 2005-04-07 00:50:42
|
How does one go about building PyOSG after extracting it from CVS? Also, is anyone working on updating PyOSG to run with the latest OSG from CVS? I need to run OSG CVS for a hang on Linux. If I could get PyOSG build with OSG 0.9.8-2, I'd be happy to help update it for OSG CVS. Thanks, Randall |
From: Randall H. <vi...@ch...> - 2005-02-25 13:41:45
|
Hart's Antler: |> alpha_f = osg.AlphaFunc() |> RuntimeError: This class cannot be instantiated from Python | |Hi Randall, | |AlphaFunc was working until i broke it many releases ago. Reason it is |still broken is because it is not a class (which are easier to wrap) |instead it is a template Functor. PyOSG is written in Boost Python, |files are utf8 encoded i think. Ok, thanks for the reply. What do you mean by it being a Functor? From OSG's header, it looks to be a StateAttribute like all the rest: class SG_EXPORT AlphaFunc : public StateAttribute { ... enum ComparisonFunction { NEVER = GL_NEVER, LESS = GL_LESS, EQUAL = GL_EQUAL, LEQUAL = GL_LEQUAL, GREATER = GL_GREATER, NOTEQUAL = GL_NOTEQUAL, GEQUAL = GL_GEQUAL, ALWAYS = GL_ALWAYS }; ... inline void setFunction(ComparisonFunction func,float ref) Randy |
From: Hart's A. <bha...@ya...> - 2005-02-23 02:52:14
|
Hi Randall, AlphaFunc was working until i broke it many releases ago. Reason it is still broken is because it is not a class (which are easier to wrap) instead it is a template Functor. PyOSG is written in Boost Python, files are utf8 encoded i think. -brett --- Randall Hopper <vi...@ch...> wrote: > When I try: > alpha_f = osg.AlphaFunc() > > I get: > RuntimeError: This class cannot be instantiated from Python > > However, I notice this is used in examples/trees.py. > > Is there a reason AlphaFunc would be hard to support, or is this something > that just slipped through the cracks? > > Also, what language/system are the PyOSG .cpp files encoded in? I'd try my > hand, but I'm not sure what I'm looking at. > > Thanks, > > Randy > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Pyosg-news mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyosg-news > __________________________________ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.com/mail_250 |
From: Randall H. <vi...@ch...> - 2005-02-23 02:27:57
|
When I try: alpha_f = osg.AlphaFunc() I get: RuntimeError: This class cannot be instantiated from Python However, I notice this is used in examples/trees.py. Is there a reason AlphaFunc would be hard to support, or is this something that just slipped through the cracks? Also, what language/system are the PyOSG .cpp files encoded in? I'd try my hand, but I'm not sure what I'm looking at. Thanks, Randy |
From: Randall H. <vi...@ch...> - 2005-02-20 01:49:46
|
In PyOSG, is there a more efficient way to initialize a matrix than setting all the elements individually?: m = osg.Matrix() for i in range(4): for j in range(4): m[ i*4+j ] = tf_m[i][j] xform = osg.MatrixTransform() xform.setMatrix( m ) I didn't see another way to hand-off a pre-defined matrix to an osg::MatrixTransform. Thanks, Randall |
From: Hart's A. <bha...@ya...> - 2005-02-04 23:55:17
|
Hi Paul, Heldptr i think is being deprecated, a lot is being rewritten now. Scons is what we were using until the rewrite, is scons still planned for the final release, but now you may have to use bjam. There is also some code that builds still using scons and works with OSG 0.9.8, but it still has the old bugs in it. You can get it from here (note this is not the real 0.4.7 release): http://opart.org/PyOSG_0.4.7.tar.gz Cheers, -brett --- Paul Melis <p.e...@rc...> wrote: > Hello, > I just checked out the SVN repos mentioned in a mail of two days ago on > the list (are you in Holland, btw, Brett?) and > tried the scons build. Is it supposed to be usable already? (I > previously used the VS solution file, but that seems to be gone). > > Unfortunately, CollectOccludersVisitor.hpp seems to be missing from the > repository... > > Regards, > Paul > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Pyosg-news mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyosg-news > __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail |
From: Paul M. <p.e...@rc...> - 2005-02-04 13:03:22
|
Hello, I just checked out the SVN repos mentioned in a mail of two days ago on the list (are you in Holland, btw, Brett?) and tried the scons build. Is it supposed to be usable already? (I previously used the VS solution file, but that seems to be gone). Unfortunately, CollectOccludersVisitor.hpp seems to be missing from the repository... Regards, Paul |
From: Charles M. <cm...@in...> - 2005-02-03 15:38:26
|
So all but a few components compiled. One problem I am seeing is=20 "held_ptr undeclared" since there are some "#if 0"'s wrapping a lot of=20 the held_ptr header. I was also wondering if you have detailed instuctions on the build=20 system and how to use it. I am having to build everything by hand,=20 since I have no clue how to use boost and the commands in the INSTALL=20 file just don't work. Maybe a quick step-by-step of how you do it would=20 help. Thanks for the updates, Charlie Hart's Antler wrote: > Hi Charles, >=20 > Sorry that is one of the things i had broken when updating the wrappers= ... > You can try the latest code here, i'm not sure if it builds or not thou= gh. >=20 > using subversion > svn http://mayday.xs4all.nl/repos/PyOSG >=20 > Cheers, > -brett >=20 > --- Charles Moad <cm...@in...> wrote: >=20 >=20 >>Anybody know why this simple construct is not working? I am using the=20 >>latest releases of OSG and PyOSG. I fixed a compilation errors in=20 >>PyOSG, but the method in question was not touched. >> >> > import sys >> > from PyOSG import * >> > arguments =3D osg.ArgumentParser(sys.argv) >> > viewer =3D osgProducer.Viewer(arguments) >> >>ArgumentError: Python argument types in >> Viewer.__init__(Viewer, ArgumentParser) >>did not match C++ signature: >> __init__(_object*, osg::ArgumentParser {lvalue}) >> __init__(_object*, std::string) >> __init__(_object*, Producer::CameraConfig*) >> __init__(_object*) >> __init__(_object*) >> >>Thanks, >> Charlie >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting >>Tool for open source databases. Create drag-&-drop reports. Save time >>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. >>Download a FREE copy at http://www.intelliview.com/go/osdn_nl >>_______________________________________________ >>Pyosg-news mailing list >>Pyo...@li... >>https://lists.sourceforge.net/lists/listinfo/pyosg-news >> >=20 >=20 >=20 >=20 > =09 > __________________________________=20 > Do you Yahoo!?=20 > All your favorites on one personal page =96 Try My Yahoo! > http://my.yahoo.com=20 >=20 >=20 |
From: Hart's A. <bha...@ya...> - 2005-02-03 01:29:07
|
Hi Charles, Sorry that is one of the things i had broken when updating the wrappers... You can try the latest code here, i'm not sure if it builds or not though. using subversion svn http://mayday.xs4all.nl/repos/PyOSG Cheers, -brett --- Charles Moad <cm...@in...> wrote: > Anybody know why this simple construct is not working? I am using the > latest releases of OSG and PyOSG. I fixed a compilation errors in > PyOSG, but the method in question was not touched. > > > import sys > > from PyOSG import * > > arguments = osg.ArgumentParser(sys.argv) > > viewer = osgProducer.Viewer(arguments) > > ArgumentError: Python argument types in > Viewer.__init__(Viewer, ArgumentParser) > did not match C++ signature: > __init__(_object*, osg::ArgumentParser {lvalue}) > __init__(_object*, std::string) > __init__(_object*, Producer::CameraConfig*) > __init__(_object*) > __init__(_object*) > > Thanks, > Charlie > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Pyosg-news mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyosg-news > __________________________________ Do you Yahoo!? All your favorites on one personal page Try My Yahoo! http://my.yahoo.com |
From: Charles M. <cm...@in...> - 2005-02-01 21:04:59
|
Anybody know why this simple construct is not working? I am using the latest releases of OSG and PyOSG. I fixed a compilation errors in PyOSG, but the method in question was not touched. > import sys > from PyOSG import * > arguments = osg.ArgumentParser(sys.argv) > viewer = osgProducer.Viewer(arguments) ArgumentError: Python argument types in Viewer.__init__(Viewer, ArgumentParser) did not match C++ signature: __init__(_object*, osg::ArgumentParser {lvalue}) __init__(_object*, std::string) __init__(_object*, Producer::CameraConfig*) __init__(_object*) __init__(_object*) Thanks, Charlie |
From: brett h. <bha...@ya...> - 2004-10-12 05:46:39
|
Hello PyOSG'ers, Fixed some bugs, updated Drawable, added Multisample and PagedLOD. Also ported Mcveigh's super cool SuperShape tutorial, included in examples as: osgtSuperShape.py http://sourceforge.net/project/showfiles.php?group_id=82048&package_id=84071&release_id=274585 -brett _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com |
From: brett h. <bha...@ya...> - 2004-09-18 07:16:25
|
PyOSG 0.4.5 final has been released. Many bug fixes, updated the examples most of them are working now. Also included a .deb for debian users. Send in the bugs if you find them. -brett __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail |
From: brett h. <bha...@ya...> - 2004-09-02 23:35:00
|
1. added osgTerrain 2. fixed MSVC bug by removing "ParentList" from osg.cpp, problem reported by Daniel Sjölie https://sourceforge.net/project/showfiles.php?group_id=82048&package_id=84071&release_id=265233 __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail |
From: brett h. <bha...@ya...> - 2004-09-01 20:30:06
|
Strange, i'll look into this more. I'm not sure what the 'ParentList' class is needed for, that is not part of OSG as far as i know, so maybe we should remove it entirely from PyOSG. What do you guys think? -brett --- Dioselin Gonzalez <dio...@pu...> wrote: > hhmm... I had the exact same errors. I couldn't track the source for > some, but here's how to get rid of them: > > Daniel Sjölie wrote: > > >Hi... > > > >I get some errors when I try to compile pyosg using Visual Studio 7.1 .Net > >I'm using the 9.7-2 version of osg and matching versions of OpenThreads > >and Producer... Does any of these messages ring any bells with anyone? > >I'm having some trouble tracking down the source of these problems > >myself... > > > >T:\\boost\include\boost\python\iterator.hpp(97): error C2440: 'type cast' : cannot convert from > 'int' to 'boost::python::return_internal_reference<> ' > > > > > > This is a bug in osg.cpp, lines 294-296: > #ifndef __GNUC__ > class_<std::vector<osg::Group*> >("ParentList") .def("__iter__", > iterator<std::vector<osg::Group *>, return_internal_reference<>() >()); > #endif > > it should be "return_internal_reference<>" instead of > "return_internal_reference<>()" > > > >C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(25): error C2653: 'osgDB' : is not a class or namespace > name > >C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(29): error C2653: 'osgDB' : is not a class or namespace > name > >C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(32): error C2653: 'osgDB' : is not a class or namespace > name > >C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(35): error C2653: 'osgDB' : is not a class or namespace > name > >C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(37): error C2653: 'osgDB' : is not a class or namespace > name > > > > > > This is solved when replacing all instances of (osgDB::*) by (*). I > don't think this is the best solution, though. > > > >C:\Tools\pyosg_devel\osg\Vec4.cpp(62): fatal error C1001: INTERNAL COMPILER ERROR > > (compiler file 'msc1.cpp', line 2701) > > Please choose the Technical Support command on the Visual C++ > > Help menu, or open the Technical Support help file for more information > >C:\Tools\pyosg_devel\osg\Vec3.cpp(75): fatal error C1001: INTERNAL COMPILER ERROR > > (compiler file 'msc1.cpp', line 2701) > > Please choose the Technical Support command on the Visual C++ > > Help menu, or open the Technical Support help file for more information > >C:\Tools\pyosg_devel\osg\Vec2.cpp(57): fatal error C1001: INTERNAL COMPILER ERROR > > (compiler file 'msc1.cpp', line 2701) > > Please choose the Technical Support command on the Visual C++ > > Help menu, or open the Technical Support help file for more information > >C:\Tools\pyosg_devel\osg\Matrix.cpp(184): fatal error C1001: INTERNAL COMPILER ERROR > > (compiler file 'msc1.cpp', line 2701) > > Please choose the Technical Support command on the Visual C++ > > Help menu, or open the Technical Support help file for more information > > > >/Daniel > > > > > > > Edit those files to use osg::Vec4f, osg::Vec3f, osg::Vec2f, osg::Matrixd > and osg::RefMatrixd directly. This may be the same issues with using > inline functions as with PyJuggler. > > > > Dioselin.- > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_idP47&alloc_id808&op=click > _______________________________________________ > Pyosg-news mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyosg-news > __________________________________ Do you Yahoo!? Yahoo! Mail is new and improved - Check it out! http://promotions.yahoo.com/new_mail |
From: Dioselin G. <dio...@pu...> - 2004-08-30 12:54:02
|
hhmm... I had the exact same errors. I couldn't track the source for=20 some, but here's how to get rid of them: Daniel Sj=F6lie wrote: >Hi... > >I get some errors when I try to compile pyosg using Visual Studio 7.1 .N= et >I'm using the 9.7-2 version of osg and matching versions of OpenThreads >and Producer... Does any of these messages ring any bells with anyone? >I'm having some trouble tracking down the source of these problems >myself... > >T:\\boost\include\boost\python\iterator.hpp(97): error C2440: 'type cast= ' : cannot convert from 'int' to 'boost::python::return_internal_referenc= e<> ' > =20 > This is a bug in osg.cpp, lines 294-296: #ifndef __GNUC__ class_<std::vector<osg::Group*> >("ParentList") .def("__iter__",=20 iterator<std::vector<osg::Group *>, return_internal_reference<>() >()); #endif it should be "return_internal_reference<>" instead of=20 "return_internal_reference<>()" >C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(25): error C2653: 'osgDB' : is n= ot a class or namespace name >C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(29): error C2653: 'osgDB' : is n= ot a class or namespace name >C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(32): error C2653: 'osgDB' : is n= ot a class or namespace name >C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(35): error C2653: 'osgDB' : is n= ot a class or namespace name >C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(37): error C2653: 'osgDB' : is n= ot a class or namespace name > =20 > This is solved when replacing all instances of (osgDB::*) by (*). I=20 don't think this is the best solution, though. >C:\Tools\pyosg_devel\osg\Vec4.cpp(62): fatal error C1001: INTERNAL COMPI= LER ERROR > (compiler file 'msc1.cpp', line 2701)=20 > Please choose the Technical Support command on the Visual C++=20 > Help menu, or open the Technical Support help file for more inf= ormation >C:\Tools\pyosg_devel\osg\Vec3.cpp(75): fatal error C1001: INTERNAL COMPI= LER ERROR > (compiler file 'msc1.cpp', line 2701)=20 > Please choose the Technical Support command on the Visual C++=20 > Help menu, or open the Technical Support help file for more inf= ormation >C:\Tools\pyosg_devel\osg\Vec2.cpp(57): fatal error C1001: INTERNAL COMPI= LER ERROR > (compiler file 'msc1.cpp', line 2701)=20 > Please choose the Technical Support command on the Visual C++=20 > Help menu, or open the Technical Support help file for more inf= ormation >C:\Tools\pyosg_devel\osg\Matrix.cpp(184): fatal error C1001: INTERNAL CO= MPILER ERROR > (compiler file 'msc1.cpp', line 2701)=20 > Please choose the Technical Support command on the Visual C++=20 > Help menu, or open the Technical Support help file for more inf= ormation > >/Daniel > > =20 > Edit those files to use osg::Vec4f, osg::Vec3f, osg::Vec2f, osg::Matrixd=20 and osg::RefMatrixd directly. This may be the same issues with using=20 inline functions as with PyJuggler. Dioselin.- |
From: Daniel <de...@ac...> - 2004-08-30 10:53:59
|
Hi... I get some errors when I try to compile pyosg using Visual Studio 7.1 .Net I'm using the 9.7-2 version of osg and matching versions of OpenThreads and Producer... Does any of these messages ring any bells with anyone? I'm having some trouble tracking down the source of these problems myself... T:\\boost\include\boost\python\iterator.hpp(97): error C2440: 'type cast' : cannot convert from 'int' to 'boost::python::return_internal_reference<> ' C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(25): error C2653: 'osgDB' : is not a class or namespace name C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(29): error C2653: 'osgDB' : is not a class or namespace name C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(32): error C2653: 'osgDB' : is not a class or namespace name C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(35): error C2653: 'osgDB' : is not a class or namespace name C:\Tools\pyosg_devel\osgDB\ReadFile.cpp(37): error C2653: 'osgDB' : is not a class or namespace name C:\Tools\pyosg_devel\osg\Vec4.cpp(62): fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information C:\Tools\pyosg_devel\osg\Vec3.cpp(75): fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information C:\Tools\pyosg_devel\osg\Vec2.cpp(57): fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information C:\Tools\pyosg_devel\osg\Matrix.cpp(184): fatal error C1001: INTERNAL COMPILER ERROR (compiler file 'msc1.cpp', line 2701) Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information /Daniel -- Now take a deep breath, smile and don't take life so seriously... :) |
From: brett h. <bha...@ya...> - 2004-08-23 17:59:24
|
Ok, i've made the final release of 0.4.4, it now includes the updated sources for MSVS and a binary build for Windows. https://sourceforge.net/project/showfiles.php?group_id=82048&package_id=84071&release_id=262666 -brett --- pix...@st... wrote: > Does anyone have a binary release of PyOSG for Windows + VC6 they'd be willing > to distribute? > > Thanks > Mike > > Quoting brett hartshorn <bha...@ya...>: > > > PyOSG 0.4.4 pre3 can be gotten from: > > http://sourceforge.net/project/showfiles.php?group_id=82048 > > > > Changes: > > Brett Hartshorn <bha...@ya...> > > * 0.4.4 pre3 > > * Updated for OSG 0.9.7-2 > > * Rewrote SceneView and Viewer > > * Added viewer.getEventHandlerList(), bug found by Max Reva > > * Added Dioselin's changes > > * Put back Gideon's old demos in the /pyosg_devel/examples folder (demos > > not tested) > > > > Dioselin Gonzalez <dio...@pu...> > > * Set up both debug and release targets in the VC++ solution > > * Added changes mentioned by Patrick Hartling (pa...@in...)for > > the Release target > > - Change the run-time library option from /MDd to /MD in all modules > > - Remove _DEBUG from the list of defined preprocessor symbols > > - Change the Boost.Python library name to match the one used byPyJuggler > > (boost_python-vc71-mt-1_31.lib, also changed for the Debug target) > > * setup_win32.py for easier install on win32 > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > New and Improved Yahoo! Mail - Send 10MB messages! > > http://promotions.yahoo.com/new_mail > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Pyosg-news mailing list > > Pyo...@li... > > https://lists.sourceforge.net/lists/listinfo/pyosg-news > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Pyosg-news mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyosg-news > __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail |
From: <pix...@st...> - 2004-08-21 15:04:56
|
Does anyone have a binary release of PyOSG for Windows + VC6 they'd be willing to distribute? Thanks Mike Quoting brett hartshorn <bha...@ya...>: > PyOSG 0.4.4 pre3 can be gotten from: > http://sourceforge.net/project/showfiles.php?group_id=82048 > > Changes: > Brett Hartshorn <bha...@ya...> > * 0.4.4 pre3 > * Updated for OSG 0.9.7-2 > * Rewrote SceneView and Viewer > * Added viewer.getEventHandlerList(), bug found by Max Reva > * Added Dioselin's changes > * Put back Gideon's old demos in the /pyosg_devel/examples folder (demos > not tested) > > Dioselin Gonzalez <dio...@pu...> > * Set up both debug and release targets in the VC++ solution > * Added changes mentioned by Patrick Hartling (pa...@in...)for > the Release target > - Change the run-time library option from /MDd to /MD in all modules > - Remove _DEBUG from the list of defined preprocessor symbols > - Change the Boost.Python library name to match the one used byPyJuggler > (boost_python-vc71-mt-1_31.lib, also changed for the Debug target) > * setup_win32.py for easier install on win32 > > > > > > __________________________________ > Do you Yahoo!? > New and Improved Yahoo! Mail - Send 10MB messages! > http://promotions.yahoo.com/new_mail > > > ------------------------------------------------------- > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Pyosg-news mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyosg-news > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |
From: <pix...@st...> - 2004-08-21 01:49:09
|
Here's the link command, if this helps: g++ -shared -o osg.so osg/Object.os osg/Vec4.os osg/Notify.os osg/LineWidth.os osg/FrameStamp.os osg/Vec3.os osg/ApplicationUsage.os osg/ClipNode.os osg/ArrayVec4.os osg/ArgumentParser.os osg/ArrayInt.os osg/Drawable.os osg/NodeCallback.os osg/Material.os osg/Geode.os osg/Fog.os osg/TriangleFunctor.os osg/ArrayShort.os osg/ClipPlane.os osg/LineStipple.os osg/OccluderNode.os osg/AlphaFunc.os osg/MatrixTransform.os osg/ArrayVec2.os osg/Viewport.os osg/BoundingSphere.os osg/Billboard.os osg/StateAttribute.os osg/PrimitiveSet.os osg/CullSettings.os osg/State.os osg/TexMat.os osg/FrontFace.os osg/TextureRectangle.os osg/LightModel.os osg/Node2.os osg/ArrayUByte.os osg/Texture.os osg/ArrayUInt.os osg/LightSource.os osg/DrawPixels.os osg/Depth.os osg/TexEnvCombine.os osg/TexGen.os osg/ShadeModel.os osg/PolygonOffset.os osg/Geometry.os osg/BlendFunc.os osg/Switch.os osg/UByte4.os osg/Point.os osg/Timer.os osg/ArrayUShort.os osg/ConvexPlanarOccluder.os osg/VertexProgram.os osg/Shape.os osg/Referenced.os osg/TextureCubeMap.os osg/Image.os osg/Transform.os osg/ShapeDrawable.os osg/NodeVisitor.os osg/osg.os osg/ColorMask.os osg/ImageStream.os osg/CullFace.os osg/PolygonMode.os osg/Array.os osg/TexEnv.os osg/BoundingBox.os osg/LOD.os osg/Node.os osg/Light.os osg/Polytope.os osg/ConvexPlanarPolygon.os osg/Texture3D.os osg/Group.os osg/Stencil.os osg/PolygonStipple.os osg/ArrayFloat.os osg/Plane.os osg/Texture1D.os osg/ColorMatrix.os osg/ArrayByte.os osg/ClearNode.os osg/Projection.os osg/PointSprite.os osg/ArrayUByte4.os osg/DisplaySettings.os osg/StateSet.os osg/Impostor.os osg/Texture2D.os osg/Quat.os osg/PositionAttitudeTransform.os osg/Sequence.os osg/Matrix.os osg/ArrayVec3.os osg/AnimationPath.os osg/Vec2.os osg/ImpostorSprite.os osg/CullingSet.os osg/CullStack.os osg/LineSegment.os osg/Math.os -L/usr/local/share/lib -lboost_python -losg Oh and here's part of the compiler output around NodeVisitor: g++ -Wall -ansi -O3 -finline-functions -Wno-inline -fPIC -DNDEBUG -DBOOST_PYTHON_DYNAMIC_LIB -I/usr/include/python2.3 -I/usr/local/share/include -Iinclude -c -o osg/Node.os osg/Node.cpp g++ -Wall -ansi -O3 -finline-functions -Wno-inline -fPIC -DNDEBUG -DBOOST_PYTHON_DYNAMIC_LIB -I/usr/include/python2.3 -I/usr/local/share/include -Iinclude -c -o osg/Node2.os osg/Node2.cpp g++ -Wall -ansi -O3 -finline-functions -Wno-inline -fPIC -DNDEBUG -DBOOST_PYTHON_DYNAMIC_LIB -I/usr/include/python2.3 -I/usr/local/share/include -Iinclude -c -o osg/NodeCallback.os osg/NodeCallback.cpp g++ -Wall -ansi -O3 -finline-functions -Wno-inline -fPIC -DNDEBUG -DBOOST_PYTHON_DYNAMIC_LIB -I/usr/include/python2.3 -I/usr/local/share/include -Iinclude -c -o osg/NodeVisitor.os osg/NodeVisitor.cpp g++ -Wall -ansi -O3 -finline-functions -Wno-inline -fPIC -DNDEBUG -DBOOST_PYTHON_DYNAMIC_LIB -I/usr/include/python2.3 -I/usr/local/share/include -Iinclude -c -o osg/Notify.os osg/Notify.cpp ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |
From: <pix...@st...> - 2004-08-21 00:17:47
|
Sorry, I forgot to say that this in on Fedora Core 2. Quoting Dioselin Gonzalez <dio...@pu...>: > I tested the osgcube and osggeometry and they both worked. > > Maybe this doesn't have to do with your error, but I had problems with > the #define statements that span two or more lines, like in > osg\AlphaFunc.cpp: > > # define OSG_ENUM(VALUE) \ > (cfunc.value(#VALUE, osg::AlphaFunc::VALUE), \ > alphafunc.def(#VALUE, object(osg::AlphaFunc::VALUE))) > > The VC++ compiler wouldn't give an error but then I would have linking > or run-time errors saying that modules were not defined. They were > solved when putting the statement in one line. > > Dioselin.- > > > > brett hartshorn wrote: > > >I wonder why that happens. Before i released pre3 i tested it on osgcube.py > and osggeometry.py, > >those i am sure are working. > > > >There are two things i know of that can create that error. 1. the wrapper > for that class was > >never created, or 2. the modules were imported in the wrong order into > Python (some classes are > >dependent on base classes, and the base classes must be created first). The > wrapper for > >osg::NodeVisitor i know is done, so its can't be number 1. > > > >When 'from PyOSG import *' is called it looks at the __all__ list found in > __init__.py > >the __all__ list has the modules listed in their proper order for importing. > You will notice that > >if you try to import modules one by one like this: > >'import PyOSG.osgGA' > >'import PyOSG.osgProducer' > >you will get errors if you do not do it in the right order. > > > >Can anyone else confirm that pre3 and osgcube.py are working? > >-brett > > > >--- pix...@st... wrote: > > > > > > > >>Cool! > >> > >>Ok I built it and I get the following when I run the demo: > >> > >> > >>[mike@pc-00065 examples]$ python osgcube.py > >>Traceback (most recent call last): > >> File "osgcube.py", line 26, in ? > >> from PyOSG import * > >>RuntimeError: extension class wrapper for base class osg::NodeVisitor has > not > >>been created yet > >> > >>Is this my mistake? > >> > >>Cheers > >>Mike > >> > >> > >> > > > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |
From: Dioselin G. <dio...@pu...> - 2004-08-20 23:06:25
|
I tested the osgcube and osggeometry and they both worked. Maybe this doesn't have to do with your error, but I had problems with the #define statements that span two or more lines, like in osg\AlphaFunc.cpp: # define OSG_ENUM(VALUE) \ (cfunc.value(#VALUE, osg::AlphaFunc::VALUE), \ alphafunc.def(#VALUE, object(osg::AlphaFunc::VALUE))) The VC++ compiler wouldn't give an error but then I would have linking or run-time errors saying that modules were not defined. They were solved when putting the statement in one line. Dioselin.- brett hartshorn wrote: >I wonder why that happens. Before i released pre3 i tested it on osgcube.py and osggeometry.py, >those i am sure are working. > >There are two things i know of that can create that error. 1. the wrapper for that class was >never created, or 2. the modules were imported in the wrong order into Python (some classes are >dependent on base classes, and the base classes must be created first). The wrapper for >osg::NodeVisitor i know is done, so its can't be number 1. > >When 'from PyOSG import *' is called it looks at the __all__ list found in __init__.py >the __all__ list has the modules listed in their proper order for importing. You will notice that >if you try to import modules one by one like this: >'import PyOSG.osgGA' >'import PyOSG.osgProducer' >you will get errors if you do not do it in the right order. > >Can anyone else confirm that pre3 and osgcube.py are working? >-brett > >--- pix...@st... wrote: > > > >>Cool! >> >>Ok I built it and I get the following when I run the demo: >> >> >>[mike@pc-00065 examples]$ python osgcube.py >>Traceback (most recent call last): >> File "osgcube.py", line 26, in ? >> from PyOSG import * >>RuntimeError: extension class wrapper for base class osg::NodeVisitor has not >>been created yet >> >>Is this my mistake? >> >>Cheers >>Mike >> >> >> > |
From: brett h. <bha...@ya...> - 2004-08-20 17:44:59
|
I wonder why that happens. Before i released pre3 i tested it on osgcube.py and osggeometry.py, those i am sure are working. There are two things i know of that can create that error. 1. the wrapper for that class was never created, or 2. the modules were imported in the wrong order into Python (some classes are dependent on base classes, and the base classes must be created first). The wrapper for osg::NodeVisitor i know is done, so its can't be number 1. When 'from PyOSG import *' is called it looks at the __all__ list found in __init__.py the __all__ list has the modules listed in their proper order for importing. You will notice that if you try to import modules one by one like this: 'import PyOSG.osgGA' 'import PyOSG.osgProducer' you will get errors if you do not do it in the right order. Can anyone else confirm that pre3 and osgcube.py are working? -brett --- pix...@st... wrote: > Cool! > > Ok I built it and I get the following when I run the demo: > > > [mike@pc-00065 examples]$ python osgcube.py > Traceback (most recent call last): > File "osgcube.py", line 26, in ? > from PyOSG import * > RuntimeError: extension class wrapper for base class osg::NodeVisitor has not > been created yet > > Is this my mistake? > > Cheers > Mike > > Quoting brett hartshorn <bha...@ya...>: > > > PyOSG 0.4.4 pre3 can be gotten from: > > http://sourceforge.net/project/showfiles.php?group_id=82048 > > > > Changes: > > Brett Hartshorn <bha...@ya...> > > * 0.4.4 pre3 > > * Updated for OSG 0.9.7-2 > > * Rewrote SceneView and Viewer > > * Added viewer.getEventHandlerList(), bug found by Max Reva > > * Added Dioselin's changes > > * Put back Gideon's old demos in the /pyosg_devel/examples folder (demos > > not tested) > > > > Dioselin Gonzalez <dio...@pu...> > > * Set up both debug and release targets in the VC++ solution > > * Added changes mentioned by Patrick Hartling (pa...@in...)for > > the Release target > > - Change the run-time library option from /MDd to /MD in all modules > > - Remove _DEBUG from the list of defined preprocessor symbols > > - Change the Boost.Python library name to match the one used byPyJuggler > > (boost_python-vc71-mt-1_31.lib, also changed for the Debug target) > > * setup_win32.py for easier install on win32 > > > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > New and Improved Yahoo! Mail - Send 10MB messages! > > http://promotions.yahoo.com/new_mail > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Pyosg-news mailing list > > Pyo...@li... > > https://lists.sourceforge.net/lists/listinfo/pyosg-news > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail |
From: brett h. <bha...@ya...> - 2004-08-19 07:22:13
|
PyOSG 0.4.4 pre3 can be gotten from: http://sourceforge.net/project/showfiles.php?group_id=82048 Changes: Brett Hartshorn <bha...@ya...> * 0.4.4 pre3 * Updated for OSG 0.9.7-2 * Rewrote SceneView and Viewer * Added viewer.getEventHandlerList(), bug found by Max Reva * Added Dioselin's changes * Put back Gideon's old demos in the /pyosg_devel/examples folder (demos not tested) Dioselin Gonzalez <dio...@pu...> * Set up both debug and release targets in the VC++ solution * Added changes mentioned by Patrick Hartling (pa...@in...)for the Release target - Change the run-time library option from /MDd to /MD in all modules - Remove _DEBUG from the list of defined preprocessor symbols - Change the Boost.Python library name to match the one used byPyJuggler (boost_python-vc71-mt-1_31.lib, also changed for the Debug target) * setup_win32.py for easier install on win32 __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - Send 10MB messages! http://promotions.yahoo.com/new_mail |
From: Max R. <ma...@uk...> - 2004-08-18 04:43:02
|
Ok. May be exist another way. I want to make architectural walkthrough with following functionalities: 1. Keyboard driven camera; 2. Textured objects; 3. Lightmaped objects; 4. Transparent objects; 5. Particles; 6. Clickable objects returning ID or Name to PythonApp; 7. Moving/changing objects drived by PythonApp. Question: How can I do this with PyOSG? -----Original Message----- From: brett hartshorn <bha...@ya...> To: Max Reva <ma...@uk...>, pyo...@li... Date: Mon, 16 Aug 2004 11:32:50 -0700 (PDT) Subject: Re: [Pyosg-news] EventHandler > Viewer.cpp and Producer/KeyboardMouse.cpp both should be rewritten. Viewer for some strange > reason is broken into multiple files, this i've wanted to fix for awhile. KeyboardMouse.cpp has > the callback you are trying to push, problem with that file is that it is not a simple flat > wrapper like the rest of PyOSG. Instead it subclasses Producer::KeyboardMouseCallback and creates > a thin-wrapper class that holds PyObjects. This was done i think so that Python can subclass the > callback, but this is an area of Boost that i have little experience with so it will take me > awhile to fix the problem. > > Good bug find, i bet alot more will pop up as you try to port more of the tutorials, keep'em > comming. > > Thanks, > -brett > > > --- Max Reva <ma...@uk...> wrote: > > > Hi. > > How to add myEventHandler in PyOSG_0.4.4_pre2. > > It seems like "viewer.getEventHandlerList().push_front(...)" in the osgProducer/Viewer.cpp is > > disabled. > > I'm trying to port on PyOSG code from > > "http://www.tersesolutions.net/osgt/index.php?Tutorial=osgtKeyboardHandler". > > > > > > Pyosg-news mailing list > > Pyo...@li... > > https://lists.sourceforge.net/lists/listinfo/pyosg-news > > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > _______________________________________________ > Pyosg-news mailing list > Pyo...@li... > https://lists.sourceforge.net/lists/listinfo/pyosg-news > > |
From: brett h. <bha...@ya...> - 2004-08-17 22:54:42
|
All of the things you want to do should be possible with PyOSG, but i can not say for sure though since i have not tested all those features. If you find more missing features along the way, please let me know and i will try to add them before the next release. For the most part, PyOSG flatly wraps OSG, so all tutorials and examples written in c++ can be ported right over by changing only the syntax to Python. This is what Gideon had done in his first release, and he had most of the examples working. Since then some things might have been broken, like the keyboard callback. I haven't had time to properly test PyOSG, when i make a release i only make sure that osgcube.py and osggeometry.py are working. If you have anything else ported, please send it and i will add it to the 'examples' folder. On that note i probably should go over Gideon's old ported examples and find any that are still working. -brett --- Max Reva <ma...@uk...> wrote: > Ok. May be exist another way. > I want to make architectural walkthrough with following functionalities: > 1. Keyboard driven camera; > 2. Textured objects; > 3. Lightmaped objects; > 4. Transparent objects; > 5. Particles; > 6. Clickable objects returning ID or Name to PythonApp; > 7. Moving/changing objects drived by PythonApp. > Question: How can I do this with PyOSG? > > -----Original Message----- > From: brett hartshorn <bha...@ya...> > To: Max Reva <ma...@uk...>, pyo...@li... > Date: Mon, 16 Aug 2004 11:32:50 -0700 (PDT) > Subject: Re: [Pyosg-news] EventHandler > > > Viewer.cpp and Producer/KeyboardMouse.cpp both should be rewritten. Viewer for some strange > > reason is broken into multiple files, this i've wanted to fix for awhile. KeyboardMouse.cpp > has > > the callback you are trying to push, problem with that file is that it is not a simple flat > > wrapper like the rest of PyOSG. Instead it subclasses Producer::KeyboardMouseCallback and > creates > > a thin-wrapper class that holds PyObjects. This was done i think so that Python can subclass > the > > callback, but this is an area of Boost that i have little experience with so it will take me > > awhile to fix the problem. > > > > Good bug find, i bet alot more will pop up as you try to port more of the tutorials, keep'em > > comming. > > > > Thanks, > > -brett > > > > > > --- Max Reva <ma...@uk...> wrote: > > > > > Hi. > > > How to add myEventHandler in PyOSG_0.4.4_pre2. > > > It seems like "viewer.getEventHandlerList().push_front(...)" in the osgProducer/Viewer.cpp > is > > > disabled. > > > I'm trying to port on PyOSG code from > > > "http://www.tersesolutions.net/osgt/index.php?Tutorial=osgtKeyboardHandler". > > > > > > > > > Pyosg-news mailing list > > > Pyo...@li... > > > https://lists.sourceforge.net/lists/listinfo/pyosg-news > > > > > SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media > > 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 > > Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. > > http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 > > _______________________________________________ > > Pyosg-news mailing list > > Pyo...@li... > > https://lists.sourceforge.net/lists/listinfo/pyosg-news > > > > > __________________________________ Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage! http://promotions.yahoo.com/new_mail |