Ralph Kern schrieb:
hi Andreas,
I made some first improvements by removing the
viewer->setupViewerAsEmbeddedInWindow() and instead leaving the OpenGL
initialization to osgViewer::GraphicsWindowWin32().
This is a first step towards an easier Linux transition.
You find attached the modified plugin.cpp/plugin.h
By the way: can you change the License in plugin.cpp to the standard OSG
Public License or at least LGPL? I am not in favor of GPL because it is
quite strict against any commercial usage pattern.
regards Ralph
Thanks Ralph.
I hereby formally entitle you to change the license, it was an error of
mine.
Regards,
Andreas
Andreas Goebel schrieb:
Not yet.
I took a look over the weekend on the part of porting to linux. It
should be just some easy changes to the plugin code, but the mozilla
developper pages are a bit puzzling with regard to plugin development.
There are many developpers out there making FF extensions, but only some
dealing with plugins, besides the big ones (Flash/PDF/...)
It seems that the includes used by Andreas to produce the win32 part are
not the ones currently used for FF linux dev. So it might take some more
effort to dig in the headers.
I guess I might have some time in January to dig deeper in this subject.
For javascript support there would be some more extensions needed to the
plugin. It also truly needs some keyboard interface for switching
manipulators ....
I'd propose Andreas should just publish its current efforts to the
community, and the community can do the necessary enhancements.
regards Ralph
_______________________________________________
Hi,
due to the illness of my son I don´t know if I will be able to do
integration work before christmas.
So please find attached the current source with Visual C++ project file
of the plugin.
I worked with the given basic windows-example. It occured to me that the
api for plugins seems to have changed, but still supports the old api.
So either documentation, examples or both are in a bad state.
I would be very pleased if someone would port this to other platforms /
browsers or enhance it. Personally I only need a very simple plugin, so
I won´t improve it further at the moment.
Note that it must be packed together with the 3rd party deps into an xpi
file, with plugins and plugin-dll in the same folder as the msvcrt and
manifest (see my xpi as reference).
Regards,
Andreas
------------------------------------------------------------------------
_______________________________________________
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