Hi Allen, hmm perhaps I don't get this but this is already possible with OpenSG 1.x. 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. 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 > We were sitting around talking today before lunch about OpenSG 2.0 and > the split to use a larger number of small libraries to help link speed. > One of the problems that this causes is that applications need to know > more libraries to link against. As we talked more we started wondering > whether it may be possible to use the plugin mechanisms in OpenSG to > dynamically load the libraries. > > Dirk has told me that this should be able to work for image loaders and > could help with some build issues related to dependencies. But we > started wondering, couldn't you also dynamically load all the node > cores? For example have a library for all the Drawables and another > library with all the Groups and so on. Then we would get the best of > both worlds. There would be small link times when compiling OpenSG and > applications would still only need to link against a few libraries > (Base, System, GLUT). Everything else would be loaded dynamically. > > As an added bonus this would show users how they can extend OpenSG by > adding new cores and other fc's without compiling it into the library. > Just create your own core, dump it in a directory, and it magically > works. Sounds interesting to me. Is it possible? > > -Allen > > ------------------------------------------------------------------------- > 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 > [email protected] > https://lists.sourceforge.net/lists/listinfo/opensg-users > > ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
