Andreas Zieringer wrote:

>Hi Allen,
>
>hmm perhaps I don't get this but this is already possible with OpenSG 1.x.
>  
>
I don't think I clearly said why we were thinking about this.  I know I 
could do this in my applications, but I wanted to see if there was 
interest in having OpenSG use it for it's own libraries.

As part of OpenSG 2.0, it looks like there has been an effort to break 
things up into smaller libraries.  This good because it makes the 
compile time faster and makes things a little more modular.  But it also 
means that applications need to know all the libraries they need to link 
against.  So the idea was, would it be possible to make it so users just 
link against some core library and then that core takes care of going 
out and loading all the "plugins" or "extension" it can.  And then treat 
as much of the current node cores, etc as extensions to the core. (ie. 
load them up dynamically).  This would hopefully make things easier for 
the user and really start pushing OpenSG's strengths of extensibility 
and a stable API.

Additionally, OpenSG currently has all of it's image loaders and file 
loaders compiled into the System library IIRC.  It would be nice to make 
all those loaders separate libraries that are dynamically loaded as 
needed.  AFAIK, all the support is there, it has just never been done.

Is that more clear?

>My own image and geometry loaders, chunks, nodes whatever are compiled 
>in several shared libraries. Now just link your app against this shared 
>libraries or if your app has no dependency to the shared library (e.g. 
>image or geometry loaders) just load it via dlopen.
>  
>
Agreed, this is how we do it in our applications.  Using this for OpenSG 
internally would be nice too.

-Allen

>If you don't want to have any dependency between your app and the 
>extension libs, just create your node cores, chunks whatever via the 
>factory and use the reflective interface.
>
>Andreas
>  
>



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to