[osg-users] osg-users Digest, Vol 138, Issue 27

Robert Osfield robert.osfield at gmail.com
Wed Jan 2 03:17:00 PST 2019


Hi ??

Could you sign with you name so we know how to address you.

Could you also avoid replying to a digest as it just includes lots of
completely irrelevant topics.

Finally, it kinda sounds like you are asking basic C++ developer
questions.  Including headers and libs is so basic C++ programmer
question that it really isn't something for the OSG community to help
you with.  There are plenty of C++ resources online that will be a
better source of help.

Cheers,
Robert.

Robert.

On Tue, 1 Jan 2019 at 01:15, A Z <poweruserm at live.com.au> wrote:
>
> So If I use C++ .lib files, that are included on a class path,
> I can just #include classnames to g++ via the -l instructions,
> and I can access and code with classes directly that way, again?
> ________________________________
> From: osg-users <osg-users-bounces at lists.openscenegraph.org> on behalf of osg-users-request at lists.openscenegraph.org <osg-users-request at lists.openscenegraph.org>
> Sent: Tuesday, 1 January 2019 8:04 AM
> To: osg-users at lists.openscenegraph.org
> Subject: osg-users Digest, Vol 138, Issue 27
>
> Send osg-users mailing list submissions to
>         osg-users at lists.openscenegraph.org
>
> 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
>         osg-users-request at lists.openscenegraph.org
>
> You can reach the person managing the list at
>         osg-users-owner at lists.openscenegraph.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of osg-users digest..."
>
>
> Today's Topics:
>
>    1. Question about .dll only usage. (A Z)
>    2. Re: Question about .dll only usage. (Chris Hanson)
>    3. Re: Question about .dll only usage. (Robert Osfield)
>    4. [propal] compare VertexArrayState with current int
>       state::setCurrentVAS (Julien Valentin)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 31 Dec 2018 09:04:31 +0000
> From: A Z <poweruserm at live.com.au>
> To: "osg-users at lists.openscenegraph.org"
>         <osg-users at lists.openscenegraph.org>
> Subject: [osg-users] Question about .dll only usage.
> Message-ID:
>         <SL2P216MB058855C72142CB91C3F2C2529AB20 at SL2P216MB0588.KORP216.PROD.OUTLOOK.COM>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> To whom it may concern,
>
> is there a way to obtain OSG classes for source code usage
> from the OSG .dll files without having to use windows.h
> to request methods, fields, constructors one at a time?
>
> If the class that I desire is located inside an OSG .dll file,
> how can I access that class in exactly the same way
> that #include allows me to do?  Without having to request
> a method and then use it, etc...
>
> Is there something that OSG do in this particular area with
> regard to classes inside .dll files?
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20181231/fb5c0d69/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 31 Dec 2018 10:16:23 +0100
> From: Chris Hanson <xenon at alphapixel.com>
> To: OpenSceneGraph Users <osg-users at lists.openscenegraph.org>
> Subject: Re: [osg-users] Question about .dll only usage.
> Message-ID:
>         <CAGoufmY8_aYT_FYMy7gZvwNon7bcnDJgvDyxgSiaavXhQjikZA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> This is a really complicated and exotic request.
>
> Can you maybe explain what you're trying to accomplish overall, rather than
> asking so specifically about the way you are trying to accomplish it
> presently?
>
> On Mon, Dec 31, 2018 at 10:04 AM A Z <poweruserm at live.com.au> wrote:
>
> > To whom it may concern,
> >
> > is there a way to obtain OSG classes for source code usage
> > from the OSG .dll files without having to use windows.h
> > to request methods, fields, constructors one at a time?
> >
> > If the class that I desire is located inside an OSG .dll file,
> > how can I access that class in exactly the same way
> > that #include allows me to do?  Without having to request
> > a method and then use it, etc...
> >
> > Is there something that OSG do in this particular area with
> > regard to classes inside .dll files?
> > _______________________________________________
> > osg-users mailing list
> > osg-users at lists.openscenegraph.org
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> >
>
>
> --
> Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
> http://www.alphapixel.com/
> Training ? Consulting ? Contracting
> 3D ? Scene Graphs (Open Scene Graph/OSG) ? OpenGL 2 ? OpenGL 3 ? OpenGL 4 ?
> GLSL ? OpenGL ES 1 ? OpenGL ES 2 ? OpenCL
> Legal/IP ? Forensics ? Imaging ? UAVs ? GIS ? GPS ?
> osgEarth ? Terrain ? Telemetry ? Cryptography ? LIDAR ? Embedded ? Mobile ?
> iPhone/iPad/iOS ? Android
> @alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
> 623-PIXL [7495]
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20181231/5af395cc/attachment-0001.html>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 31 Dec 2018 09:34:33 +0000
> From: Robert Osfield <robert.osfield at gmail.com>
> To: OpenSceneGraph Users <osg-users at lists.openscenegraph.org>
> Subject: Re: [osg-users] Question about .dll only usage.
> Message-ID:
>         <CAFN7Y+V2NatWJHgOEA=nR5VZyY0MezRRcgpRHxpLBg+L9L2b2Q at mail.gmail.com>
> Content-Type: text/plain; charset="UTF-8"
>
> Hi ???
>
> The OSG has no dll specific mechanism, and while I have no WIndows
> expertise my understanding is part of the point of the dll is that it
> doesn't have a public interface, this is in the .lib.
>
> However, the OSG has support of class introspection via the
> serializers that are provided for the native binary/ascii/xml  reading
> and writing.  The osgDB::ClassInterface class in 3.4 onwards provide a
> means of querying what methods+properties are available, calling
> methods and setting/getting properties and creating instances.
>
> The most extensive example of ClassInterface in action is found in the
> OpenSceneGraph/src/osgPlygins/lua plugin that uses ClassInterface to
> automatically create bindings between the C++ OSG and Lua.
>
> Cheers,
> Robert.
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 31 Dec 2018 16:32:44 +0100
> From: "Julien Valentin" <julienvalentin51 at gmail.com>
> To: osg-users at lists.openscenegraph.org
> Subject: [osg-users] [propal] compare VertexArrayState with current
>         int state::setCurrentVAS
> Message-ID: <1546270364.m2f.75369 at forum.openscenegraph.org>
> Content-Type: text/plain; charset=UTF-8
>
> Hi,
>
> What do you think of this kind of change:
> -adding a VertexArrayState comparator ( compare vbos and ebo and their dispatch index)
> -in State::SetCurrentVertexArrayState(vas):
> if(current->compare(vas))return;
> current=vas;
>
> It would add a little overcost but would be quite usefull in case Drawable can share their vas...
> With the current design (createvascallback) it's possible but kind of tricky..:/
>
> Thank you!
>
> Cheers,
> Julien
>
> ------------------------
> Twirling twirling twirling toward freedom
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75369#75369
>
>
>
>
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
> ------------------------------
>
> End of osg-users Digest, Vol 138, Issue 27
> ******************************************
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


More information about the osg-users mailing list