OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

osg-users Digest, Vol 138, Issue 27


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
Zachary1234
User


Joined: 20 Nov 2018
Posts: 24

PostPosted: Tue Jan 01, 2019 1:16 am    Post subject:
osg-users Digest, Vol 138, Issue 27
Reply with quote

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 <> on behalf of <>
Sent: Tuesday, 1 January 2019 8:04 AM
To:
Subject: osg-users Digest, Vol 138, Issue 27

Send osg-users mailing list submissions to


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


You can reach the person managing the list at


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 <>
To: ""
<>
Subject: Question about .dll only usage.
Message-ID:
<>

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 <>
To: OpenSceneGraph Users <>
Subject: Re: Question about .dll only usage.
Message-ID:
<>
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 <> wrote:

Quote:
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

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org



--
Chris 'Xenon' Hanson, omo sanza lettere.
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 <>
To: OpenSceneGraph Users <>
Subject: Re: Question about .dll only usage.
Message-ID:
<CAFN7Y+V2NatWJHgOEA=nR5VZyY0MezRRcgpRHxpLBg+>
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" <>
To:
Subject: [propal] compare VertexArrayState with current
int state::setCurrentVAS
Message-ID: <>
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

http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------------------

End of osg-users Digest, Vol 138, Issue 27
******************************************

------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts Issue with osgt format on 3.6.x Riccardo Corsi General 1 Wed Apr 17, 2019 3:46 pm View latest post
No new posts Happy New Year to all OSG Users Chris Hanson General 0 Mon Jan 07, 2019 10:17 am View latest post
No new posts DrawCallback serialization issue jumaroch General 1 Tue Nov 27, 2018 2:26 pm View latest post
No new posts DrawCallback serialization issue jumaroch General 0 Tue Nov 27, 2018 1:44 pm View latest post
No new posts DrawCallback serialization issue jumaroch General 0 Tue Nov 27, 2018 1:43 pm View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP