On Dec 6, 2007 5:13 AM, <[EMAIL PROTECTED]> wrote: > Send osg-users mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of osg-users digest..." > > > Today's Topics: > > 1. osgEphemeris (topsail2007) > 2. Creator vs 3D Studo Max (Loong Hin) > 3. Re: How to generate cultures on terrain (Weng Heng) > 4. Re: Creator vs 3D Studo Max (Daniel Holz) > 5. Some OSG examples doesn't work ! (Stephane Lamoliatte) > 6. Re: Integrationg OpenALpp (maruti borker) > 7. Re: Getting the window handle generically. (Robert Osfield) > 8. Re: Some OSG examples doesn't work ! (Robert Osfield) > 9. Re: Some OSG examples doesn't work ! (Stephane Lamoliatte) > 10. Re: Some OSG examples doesn't work ! (Robert Osfield) > 11. osg multithreading doc. (Johan Johnsson) > 12. Re: Some OSG examples doesn't work ! (Colin Dunlop) > 13. Finding Textures to be drawn (Michael Platings) > 14. Re: using osgIntrospection for own library (Emmanuel Roche) > 15. Re: Still on osgintrospection... (Emmanuel Roche) > 16. Re: using osgIntrospection for own library (David Callu) > 17. Re: Still on osgintrospection... (David Callu) > 18. Re: using osgIntrospection for own library (Emmanuel Roche) > 19. Re: Creator vs 3D Studo Max ([EMAIL PROTECTED]) > 20. Re: osgIntrospection and operators ? (David Callu) > 21. Re: using osgIntrospection for own library (David Callu) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 6 Dec 2007 06:33:23 +0800 (CST) > From: topsail2007 <[EMAIL PROTECTED]> > Subject: [osg-users] osgEphemeris > To: "OpenSceneGraph Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="gbk" > > > I am interested in osgEphemeris,I use the Tortoise CVS to download,but the > error as follow: > CVSROOT=cvs -d :pserver:[EMAIL PROTECTED]:/cvs/osg co osgEphemeris > cvs [checkout aborted]: end of file from server (consult above messages if > any) > Error, CVS operation failed > > why? > how to download the osgEphemeris,thouk you > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/5eb6e0cd/attachment-0001.htm > > ------------------------------ > > Message: 2 > Date: Thu, 6 Dec 2007 09:59:15 +0800 > From: "Loong Hin" <[EMAIL PROTECTED]> > Subject: [osg-users] Creator vs 3D Studo Max > To: <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="Windows-1252" > > Hi, > > I've a flight simulator project running on OSG 2.2 whereby we need to model a > geo-specific airport. > > We will need features like creating the airport lighting system, geo-specific > buildings, multiple LODs. > > We are considering whether to use Multigen Creator or 3D Studio Max to do the > job, any advice? Thanks a lot > > > > > ------------------------------ > > Message: 3 > Date: Thu, 6 Dec 2007 11:37:24 +0800 > From: "Weng Heng" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] How to generate cultures on terrain > To: <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > Hi Robert, > > > > Thanks. I'll look forward to the inbuilt support for cultural data for paged > database. > > > > Hi Glenn, > > > > Thanks for the tips. I'm checking it out now. > > > > Thanks > > > > Regards > > Weng Heng > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/84318dbf/attachment.html > > ------------------------------ > > Message: 4 > Date: Wed, 05 Dec 2007 23:30:13 -0500 > From: Daniel Holz <[EMAIL PROTECTED]> > Subject: Re: [osg-users] Creator vs 3D Studo Max > To: OpenSceneGraph Users <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > hi, > > first of all: the words modeling and creator should not appear in the > same sentence :). probably you can use creator for cad tasks but thats > all. the texturing tools are quite ok though... > i would go with a combination of both. using 3dsmax for the model and > creator to compose everything in a nice hierarchy. > that's all i can say for now. > > cheers, > daniel > > > Loong Hin wrote: > > Hi, > > > > I've a flight simulator project running on OSG 2.2 whereby we need to model > > a geo-specific airport. > > > > We will need features like creating the airport lighting system, > > geo-specific buildings, multiple LODs. > > > > We are considering whether to use Multigen Creator or 3D Studio Max to do > > the job, any advice? Thanks a lot > > > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > ------------------------------ > > Message: 5 > Date: Thu, 06 Dec 2007 08:03:18 +0100 > From: Stephane Lamoliatte <[EMAIL PROTECTED]> > Subject: [osg-users] Some OSG examples doesn't work ! > To: OpenSceneGraph Users <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hello, > > osgOccluder and osgTexture2D crash during their execution in debug mode > on Windows. (I built them with Visual studio 2008 in debug mode) > > It is very strange because they seem to work perfectly in release mode. > > Is it a bug, or may I choose another compilation mode to step inside > these examples ? > > -- > Stephane > > > ------------------------------ > > Message: 6 > Date: Thu, 6 Dec 2007 13:49:08 +0530 > From: "maruti borker" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] Integrationg OpenALpp > To: "OpenSceneGraph Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > I wanted to do the same ... but the problem is that i have installed > OpenSceneGraph 2.0 from a tar ball ... and now when i try to install OSGAL > .. .its says that OpenSceneGraph not found :( ... i am working in fedora 7. > > I was unable to understand so i thought it would be better if i implemented > it myself ... > If somebody knows how to work-out OSGAL with my specifications :( please > help me out . > > On Dec 6, 2007 2:30 AM, Anders Backman <[EMAIL PROTECTED]> wrote: > > > Try to use osgAL, it is a nodekut for integrating OpenAL++ and osg, lots > > of examples of how o use ut. > > > > THe standalone OpenAL++ can be considered depricated. > > > > You will find it at: http://sourceforge.net/projects/osgal/ (just not > > right now as sf.net is down). > > > > /Anders > > > > On Dec 5, 2007 6:41 PM, maruti borker < [EMAIL PROTECTED]> wrote: > > > > > > > > I am using OSG 2.0 , i wanted to use OpenAL++ in my application . For > > > that i need to have the present position of my Viewer ... But i am unable > > > to > > > find it :( . I tried searchin the documentation but wasnt able to get any > > > information . > > > > > > Can u please help me out > > > > > > Thank in advance > > > > > > -- > > > Maruti Borker > > > IIIT Hyderabad > > > Website:- http://students.iiit.ac.in/~maruti > > > <http://students.iiit.ac.in/%7Emaruti> > > > Blog:- http://marutiborker.wordpress.com > > > _______________________________________________ > > > osg-users mailing list > > > [email protected] > > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > > > > > > -- > > > > > > ________________________________________________________________ > > Anders Backman Email: [EMAIL PROTECTED] > > HPC2N/VRlab Phone: +46 (0)90-786 9936 > > Umea university Cellular: +46 (0)70-392 64 67 > > S-901 87 UMEA SWEDEN Fax: +46 90-786 6126 > > > > http://www.cs.umu.se/~andersb<http://www.cs.umu.se/%7Eandersb> > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > -- > ---------------------------------------------- > Maruti Borker > IIIT Hyderabad > Website:- http://students.iiit.ac.in/~maruti > Blog:- http://marutiborker.wordpress.com > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/8e222af3/attachment-0001.htm > > ------------------------------ > > Message: 7 > Date: Thu, 6 Dec 2007 08:49:25 +0000 > From: "Robert Osfield" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] Getting the window handle generically. > To: "OpenSceneGraph Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi David, > > You can get the platform specific window handles by casing the > osgViewer::GraphicsWindow to GraphicsWindowWin32/X11/Carbon and then > getting the handle from them. The platform specific windowing > interfaces to osgViewer can be found in include/osgViewer/api/Win32, > include/osgViewer/api/X11, include/osgViewer/api/Carbon. > > Robert. > > On Dec 5, 2007 9:15 PM, David Guthrie <[EMAIL PROTECTED]> wrote: > > > > Every System, at some point, has a window handle, and that is necessary to > > get in order to do any functionality that OSG windowing does not support. > > The OSGViewer windowing code does not provide any generic way to access that > > handle. With embedded windows, there is no window handle at all, even > > though the window(s) to which the viewer is actually being drawn has one > > somewhere. > > > > Is there some workaround, or does anyone envision a way to implement such > > code in OSG? I need this because we are bugfixing the Delta3D upgrade to > > OSG 2.2. > > > > > > --- > > David Guthrie > > [EMAIL PROTECTED] > > Alion Science and Technology > > BMH Operation - A CMMI Maturity Level 3 Organization > > 5365 Robin Hood Road, Suite 100 > > Norfolk, VA 23513-2416 > > (757) 857-5670, ext 269, Fax (757) 857-6781 > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > ------------------------------ > > Message: 8 > Date: Thu, 6 Dec 2007 08:51:37 +0000 > From: "Robert Osfield" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] Some OSG examples doesn't work ! > To: "OpenSceneGraph Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Stephane, > > I haven't seen reports of problems with these examples before. Could > you provide a stack trace from the crashes apps? > > Robert. > > On Dec 6, 2007 7:03 AM, Stephane Lamoliatte > <[EMAIL PROTECTED]> wrote: > > Hello, > > > > osgOccluder and osgTexture2D crash during their execution in debug mode > > on Windows. (I built them with Visual studio 2008 in debug mode) > > > > It is very strange because they seem to work perfectly in release mode. > > > > Is it a bug, or may I choose another compilation mode to step inside > > these examples ? > > > > -- > > Stephane > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > ------------------------------ > > Message: 9 > Date: Thu, 06 Dec 2007 10:52:47 +0100 > From: Stephane Lamoliatte <[EMAIL PROTECTED]> > Subject: Re: [osg-users] Some OSG examples doesn't work ! > To: OpenSceneGraph Users <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Here is the stack traces. > > > Robert Osfield a ?crit : > > Hi Stephane, > > > > I haven't seen reports of problems with these examples before. Could > > you provide a stack trace from the crashes apps? > > > > Robert. > > > > On Dec 6, 2007 7:03 AM, Stephane Lamoliatte > > <[EMAIL PROTECTED]> wrote: > > > >> Hello, > >> > >> osgOccluder and osgTexture2D crash during their execution in debug mode > >> on Windows. (I built them with Visual studio 2008 in debug mode) > >> > >> It is very strange because they seem to work perfectly in release mode. > >> > >> Is it a bug, or may I choose another compilation mode to step inside > >> these examples ? > >> > >> -- > >> Stephane > >> _______________________________________________ > >> osg-users mailing list > >> [email protected] > >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> > >> > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > > > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: stack_traces.zip > Type: application/octet-stream > Size: 2014 bytes > Desc: not available > Url : > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/72a33286/attachment-0001.obj > > ------------------------------ > > Message: 10 > Date: Thu, 6 Dec 2007 10:09:59 +0000 > From: "Robert Osfield" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] Some OSG examples doesn't work ! > To: "OpenSceneGraph Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Stephane, > > The two stack traces aren't similar and nothing obvious jumps out as a > possible cause. > > The only thing I can suggest to try is to run both examples with > different threading models to see if there is a pattern. i.e. > > osgoccluder glider.osg --SingleThreaded > > Robert. > > On Dec 6, 2007 9:52 AM, Stephane Lamoliatte > <[EMAIL PROTECTED]> wrote: > > Here is the stack traces. > > > > > > Robert Osfield a ?crit : > > > > > Hi Stephane, > > > > > > I haven't seen reports of problems with these examples before. Could > > > you provide a stack trace from the crashes apps? > > > > > > Robert. > > > > > > On Dec 6, 2007 7:03 AM, Stephane Lamoliatte > > > <[EMAIL PROTECTED]> wrote: > > > > > >> Hello, > > >> > > >> osgOccluder and osgTexture2D crash during their execution in debug mode > > >> on Windows. (I built them with Visual studio 2008 in debug mode) > > >> > > >> It is very strange because they seem to work perfectly in release mode. > > >> > > >> Is it a bug, or may I choose another compilation mode to step inside > > >> these examples ? > > >> > > >> -- > > >> Stephane > > >> _______________________________________________ > > >> osg-users mailing list > > >> [email protected] > > >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > >> > > >> > > > _______________________________________________ > > > osg-users mailing list > > > [email protected] > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > > > > > > > > > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > ------------------------------ > > Message: 11 > Date: Thu, 06 Dec 2007 11:10:02 +0100 > From: "Johan Johnsson" <[EMAIL PROTECTED]> > Subject: [osg-users] osg multithreading doc. > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; format=flowed; delsp=yes; > charset=iso-8859-15 > > Hey ! > > I wonder if there is any documentation regarding the threadingmodes osg > uses, is there any design tips how my application synchronizes with the > osg threads in the best way? is there something i need to know about the > threads while coding?, i need to know as much as possible. So all > documentation regarding this topic whould helpfulll to me. > > -- > Mr. Johan Johnsson > AutoSim AS, Strandveien 106, 9006 Troms? > Visit us at http://www.autosim.no > > > ------------------------------ > > Message: 12 > Date: Thu, 06 Dec 2007 10:35:10 +0000 > From: Colin Dunlop <[EMAIL PROTECTED]> > Subject: Re: [osg-users] Some OSG examples doesn't work ! > To: OpenSceneGraph Users <[email protected]> > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi Stephane, > > are you running with any of the bundled OSG distro of 3rd-party libs? > Either http://www.mew.cx/osg/ > or http://www.openscenegraph.org/downloads/dependencies/ > I think these are only built "Release" for WIN32 and your mileage > may vary depending on the moon phase as to whether you may get a > mismatch of Debug/Release. Also regarding these binaries they are > built with either MSVS 2003 or MSVS 2005 SP1 and may not be binary > compatible with MSVS 2008. > > If you have all the 3rd-party and entire source built using 2008 then > apologies for barking up the wrong tree ;) > > Cheers, > > Colin. > > Robert Osfield wrote: > > Hi Stephane, > > > > The two stack traces aren't similar and nothing obvious jumps out as a > > possible cause. > > > > The only thing I can suggest to try is to run both examples with > > different threading models to see if there is a pattern. i.e. > > > > osgoccluder glider.osg --SingleThreaded > > > > Robert. > > > > On Dec 6, 2007 9:52 AM, Stephane Lamoliatte > > <[EMAIL PROTECTED]> wrote: > >> Here is the stack traces. > >> > >> > >> Robert Osfield a ?crit : > >> > >>> Hi Stephane, > >>> > >>> I haven't seen reports of problems with these examples before. Could > >>> you provide a stack trace from the crashes apps? > >>> > >>> Robert. > >>> > >>> On Dec 6, 2007 7:03 AM, Stephane Lamoliatte > >>> <[EMAIL PROTECTED]> wrote: > >>> > >>>> Hello, > >>>> > >>>> osgOccluder and osgTexture2D crash during their execution in debug mode > >>>> on Windows. (I built them with Visual studio 2008 in debug mode) > >>>> > >>>> It is very strange because they seem to work perfectly in release mode. > >>>> > >>>> Is it a bug, or may I choose another compilation mode to step inside > >>>> these examples ? > >>>> > >>>> -- > >>>> Stephane > >>>> _______________________________________________ > >>>> osg-users mailing list > >>>> [email protected] > >>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >>>> > >>>> > >>> _______________________________________________ > >>> osg-users mailing list > >>> [email protected] > >>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >>> > >>> > >>> > >>> > >> > >> _______________________________________________ > >> osg-users mailing list > >> [email protected] > >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > >> > >> > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > ------------------------------ > > Message: 13 > Date: Thu, 6 Dec 2007 10:54:05 -0000 > From: "Michael Platings" <[EMAIL PROTECTED]> > Subject: [osg-users] Finding Textures to be drawn > To: <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="us-ascii" > > Hi Robert, > I need to update many textures every frame, but ideally I'd only update > those that will actually be drawn. > > So after I've called SceneView::cull() what's the best way to identify > all textures to be drawn? > > The maximum size at which the textures will be drawn is also important, > so how can I get the bounding box and projection and modelview matrices > for each Drawable to be drawn with that texture? > > Thanks very much > > Michael Platings| Software Developer| Pixel Power Ltd > College Business Park | Coldhams Lane | Cambridge | CB1 3HD > > Tel: +44 (0) 1223 721 000 | Fax: +44 (0) 1223 721111 | > http://www.pixelpower.com <http://www.pixelpower.com/> > > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. > > This footnote also confirms that this email message has been swept by > MIMEsweeper for the presence of computer viruses. > > www.mimesweeper.com > ********************************************************************** > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/7655662a/attachment-0001.htm > > ------------------------------ > > Message: 14 > Date: Thu, 6 Dec 2007 12:27:12 +0100 > From: "Emmanuel Roche" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] using osgIntrospection for own library > To: "OSG Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Well, nobody has even a simple advise about this ?? > > Manu. > > 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > > > Helle there !! > > > > I'm currently testing the osg reflection framework, so I got GenWrapper, > > an now I'm using it to try to build wrappers for my own libraries... Here is > > the situation: > > > > I've got a file typedefs.h containing something like: > > > > #include <osg/Node> > > #include <osg/ref_ptr> > > > > typedef osg::ref_ptr<osg::Node> RefNode; > > > > And when I use genwrapper with such a file, just before the output * INFO: > > creating file `gen/src/osgWrappers/ogl/Typedefs.cpp' > > > > I get: * WARNING: could not write a reflector for undefined type > > `osg::ref_ptr< osg::Node >' > > > > I'm quite new to the introspection, so please correct me if I'm wrong: > > > > 1) Am I right to assume that this warning is not important and everything > > will be all right as long as I load the osg wrapper library as this one > > would provide everything needed to access the reflector for this type ? > > > > 2) And, if it's really the case, is this assumption dangerous because > > osg::ref_ptr< osg::Node > is a particularly common type and the same > > assumption would not work for something more exotic (like using osg:ref_ptr< > > MyObjectType > where MyObjectType is "introspected" in a first library > > (lib1) and this referenced type defined only in a second library... If > > someone sees what I mean...) ? > > > > Thanks for you help !! > > > > Manu. > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/ced63ea2/attachment-0001.html > > ------------------------------ > > Message: 15 > Date: Thu, 6 Dec 2007 12:28:47 +0100 > From: "Emmanuel Roche" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] Still on osgintrospection... > To: "OSG Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Nobody has no idea about this either ? I thought the introspection was more > famous than that.... > > > 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > > > Suppose I have a class MyClass "introspected" > > > > I also some kind of template class MyTemplace<class T>, which can be built > > with the type T=MyClass, BUT this construction is done nowhere in our base > > library... I guess if I try to generate wrappers, the type > > MyTemplate<MyClass> will not be defined (ie reflected). What is best way to > > solve this problem ? > > > > And by the way, I noticed that (with the SVN version of the genwrapper at > > least) it is not possible to use the option "-p" to generate VisualStudio > > project files. The option simply doesn't appear anywhere in the source code > > in fact, it that normal ? > > > > Manu. > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/75d908a6/attachment-0001.htm > > ------------------------------ > > Message: 16 > Date: Thu, 6 Dec 2007 13:14:18 +0100 > From: "David Callu" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] using osgIntrospection for own library > To: "OpenSceneGraph Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Manu > > 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > > > Helle there !! > > > > I'm currently testing the osg reflection framework, so I got GenWrapper, > > an now I'm using it to try to build wrappers for my own libraries... Here is > > the situation: > > > > I've got a file typedefs.h containing something like: > > > > #include <osg/Node> > > #include <osg/ref_ptr> > > > > typedef osg::ref_ptr<osg::Node> RefNode; > > > > And when I use genwrapper with such a file, just before the output * INFO: > > creating file `gen/src/osgWrappers/ogl/Typedefs.cpp' > > > > I get: * WARNING: could not write a reflector for undefined type > > `osg::ref_ptr< osg::Node >' > > > > I'm quite new to the introspection, so please correct me if I'm wrong: > > > > 1) Am I right to assume that this warning is not important and everything > > will be all right as long as I load the osg wrapper library as this one > > would provide everything needed to access the reflector for this type ? > > You right > > > > > 2) And, if it's really the case, is this assumption dangerous because > > osg::ref_ptr< osg::Node > is a particularly common type and the same > > assumption would not work for something more exotic (like using osg:ref_ptr< > > MyObjectType > where MyObjectType is "introspected" in a first library > > (lib1) and this referenced type defined only in a second library... If > > someone sees what I mean...) ? > > I am not sure to see what you mean. > can you explain this please > > David > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/e7a90d32/attachment.html > > ------------------------------ > > Message: 17 > Date: Thu, 6 Dec 2007 13:40:05 +0100 > From: "David Callu" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] Still on osgintrospection... > To: "OpenSceneGraph Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Manu > > 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > > > Suppose I have a class MyClass "introspected" > > > > I also some kind of template class MyTemplace<class T>, which can be built > > with the type T=MyClass, BUT this construction is done nowhere in our base > > library... I guess if I try to generate wrappers, the type > > MyTemplate<MyClass> will not be defined (ie reflected). What is best way to > > solve this problem ? > > > Template reflection is not supported in osgIntrospection. You have to > reflect each class create with a template. > Done automatically by genWrapper when it found a template instantiation. > Take a look to src/osgWrapper/osg/Array, each osg::Vec2, osg::Vec2s, > osg::Vec3 ... are reflected. > > > And by the way, I noticed that (with the SVN version of the genwrapper at > > least) it is not possible to use the option "-p" to generate VisualStudio > > project files. The option simply doesn't appear anywhere in the source code > > in fact, it that normal ? > > Well. really few person use genWrapper. I use it on Linux, Robert too. Never > try on Windows. > So perhaps this feature is firstly intended but never implemented. > You can do it if you want :-) > > > > Manu. > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/de34839f/attachment-0001.htm > > ------------------------------ > > Message: 18 > Date: Thu, 6 Dec 2007 13:42:47 +0100 > From: "Emmanuel Roche" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] using osgIntrospection for own library > To: "OpenSceneGraph Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi David, > > What I mean in my ponit 2 is: > > - Suppose I have a library "lib1" where I define my class "Class1" > - Suppose I build a wrapper for this library: "lib1_wrapper" > > Now, I build another library, "lib2" where I define a templated class > "Class2<T>" > In this second library, I define the typedef : > typedef Class2<Class1> MyTypedef; > > - And now I try to build a wrapper for this lib2, "lib2_wrapper". > > As Class1 is not in lib2, I guess the genwrapper will complain about no > reflector being built for Class2< Class1 >, but since Class2 is defined only > in lib2, I don't see how it would be possible to use the type Class2<Class1> > in my wrappers in this case... > > I also have a similar question on the same issue, more generally speaking: > > Suppose in my lib1, I define Class1 and the template Class2<T>, but never > instantiating Class4<Class1>... Would there be a way to instanciate this > type with through the wrapper then ? > > Manu. > > > 2007/12/6, David Callu <[EMAIL PROTECTED]>: > > > > Hi Manu > > > > 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > > > > > Helle there !! > > > > > > I'm currently testing the osg reflection framework, so I got GenWrapper, > > > an now I'm using it to try to build wrappers for my own libraries... Here > > > is > > > the situation: > > > > > > I've got a file typedefs.h containing something like: > > > > > > #include <osg/Node> > > > #include <osg/ref_ptr> > > > > > > typedef osg::ref_ptr<osg::Node> RefNode; > > > > > > And when I use genwrapper with such a file, just before the output * > > > INFO: creating file `gen/src/osgWrappers/ogl/Typedefs.cpp' > > > > > > I get: * WARNING: could not write a reflector for undefined type > > > `osg::ref_ptr< osg::Node >' > > > > > > I'm quite new to the introspection, so please correct me if I'm wrong: > > > > > > 1) Am I right to assume that this warning is not important and > > > everything will be all right as long as I load the osg wrapper library as > > > this one would provide everything needed to access the reflector for this > > > type ? > > > > You right > > > > > > > > > > 2) And, if it's really the case, is this assumption dangerous because > > > osg::ref_ptr< osg::Node > is a particularly common type and the same > > > assumption would not work for something more exotic (like using > > > osg:ref_ptr< > > > MyObjectType > where MyObjectType is "introspected" in a first library > > > (lib1) and this referenced type defined only in a second library... If > > > someone sees what I mean...) ? > > > > I am not sure to see what you mean. > > can you explain this please > > > > David > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/a466d470/attachment-0001.html > > ------------------------------ > > Message: 19 > Date: Thu, 6 Dec 2007 13:44:07 +0100 (CET) > From: [EMAIL PROTECTED] > Subject: Re: [osg-users] Creator vs 3D Studo Max > To: "OpenSceneGraph Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain;charset=iso-8859-1 > > Hi, > > An alternative to Creator is Remo 3D, available from www.remograph.com. > > Regards > /Andreas > > > > Hi, > > > > I've a flight simulator project running on OSG 2.2 whereby we need to > > model a geo-specific airport. > > > > We will need features like creating the airport lighting system, > > geo-specific buildings, multiple LODs. > > > > We are considering whether to use Multigen Creator or 3D Studio Max to do > > the job, any advice? Thanks a lot > > > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > ------------------------------ > > Message: 20 > Date: Thu, 6 Dec 2007 13:52:53 +0100 > From: "David Callu" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] osgIntrospection and operators ? > To: "OpenSceneGraph Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi Manu > > 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED]>: > > > > It's me again, sorry to ask so much, but I keep being surprised with this > > introspection stuff: > > > > Correct me if I'm missing something but since the operators of a class are > > not reflected (why ?), > > Well, you right again. Operator are not supported in osgIntrospection. > > > how can you expect to do something as simple as the addition of two > > osg::Vec3 "introspectively" ??? > > > Good question. OSG is bind in many other language than C++ with > osgIntrospection and I don't know how this bind does to use operator. > Perhaps simply not use operator at all. > After look in OsgDotNet TODO list, a see that operator have to be > implemented. So no solution for now. > Again, feel free to do it :-). > > David > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/dc0f7d27/attachment-0001.htm > > ------------------------------ > > Message: 21 > Date: Thu, 6 Dec 2007 14:13:43 +0100 > From: "David Callu" <[EMAIL PROTECTED]> > Subject: Re: [osg-users] using osgIntrospection for own library > To: "OpenSceneGraph Users" <[email protected]> > Message-ID: > <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="iso-8859-1" > > 2007/12/6, Emmanuel Roche <[EMAIL PROTECTED]>: > > > > Hi David, > > > > What I mean in my ponit 2 is: > > > > - Suppose I have a library "lib1" where I define my class "Class1" > > - Suppose I build a wrapper for this library: "lib1_wrapper" > > > > Now, I build another library, "lib2" where I define a templated class > > "Class2<T>" > > In this second library, I define the typedef : > > typedef Class2<Class1> MyTypedef; > > > > - And now I try to build a wrapper for this lib2, "lib2_wrapper". > > > > As Class1 is not in lib2, I guess the genwrapper will complain about no > > reflector being built for Class2< Class1 >, > > > > GenWrapper work on one Header at time. So if your "typedef Class2<Class1> > MyTypedef;" > is define in the same file of the template definition Class2<T>, It will > create the Class2<Class1> reflector. > > > > > I also have a similar question on the same issue, more generally speaking: > > > > Suppose in my lib1, I define Class1 and the template Class2<T>, but never > > instantiating Class4<Class1>... Would there be a way to instanciate this > > type with through the wrapper then ? > > > If you think to add "typedef Class4<Class1> myClass;" in the wrapper source > with the optional genWrapper.conf file, this is theoretically possible (from > the compiler and linker view). But genWrapper don't support this kind of > operation. > > A solution is to create a template reflector for your template Class2 and > instanciate this template reflector in the wrapper source. > Alre > > > Manu. > > > > > > 2007/12/6, David Callu <[EMAIL PROTECTED]>: > > > > > > Hi Manu > > > > > > 2007/12/5, Emmanuel Roche <[EMAIL PROTECTED] >: > > > > > > > > Helle there !! > > > > > > > > I'm currently testing the osg reflection framework, so I got > > > > GenWrapper, an now I'm using it to try to build wrappers for my own > > > > libraries... Here is the situation: > > > > > > > > I've got a file typedefs.h containing something like: > > > > > > > > #include <osg/Node> > > > > #include <osg/ref_ptr> > > > > > > > > typedef osg::ref_ptr<osg::Node> RefNode; > > > > > > > > And when I use genwrapper with such a file, just before the output * > > > > INFO: creating file `gen/src/osgWrappers/ogl/Typedefs.cpp' > > > > > > > > I get: * WARNING: could not write a reflector for undefined type > > > > `osg::ref_ptr< osg::Node >' > > > > > > > > I'm quite new to the introspection, so please correct me if I'm wrong: > > > > > > > > > > > > 1) Am I right to assume that this warning is not important and > > > > everything will be all right as long as I load the osg wrapper library > > > > as > > > > this one would provide everything needed to access the reflector for > > > > this > > > > type ? > > > > > > You right > > > > > > > > > > > > > > > 2) And, if it's really the case, is this assumption dangerous because > > > > osg::ref_ptr< osg::Node > is a particularly common type and the same > > > > assumption would not work for something more exotic (like using > > > > osg:ref_ptr< > > > > MyObjectType > where MyObjectType is "introspected" in a first library > > > > (lib1) and this referenced type defined only in a second library... If > > > > someone sees what I mean...) ? > > > > > > I am not sure to see what you mean. > > > can you explain this please > > > > > > David > > > > > > _______________________________________________ > > > osg-users mailing list > > > [email protected] > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > > > > > > > > > _______________________________________________ > > osg-users mailing list > > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20071206/5ad2275e/attachment.html > > ------------------------------ > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > > End of osg-users Digest, Vol 6, Issue 12 > **************************************** >
-- Terry Welsh - mogumbo 'at' gmail.com www.reallyslick.com | www.mogumbo.com _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

