Hi,
I just wanted to give osgLua a shot (Lua is anyway my prefered scripting
language). So I got everything working and the demo works as well. I
also created an osgWrapper extension for a library we are working on.
I try to get my head around the following problem:
we have a GenericTracker* which is returned by createTrackerFromPlugin()
... that works as expected. However, if I call init(arg1,arg2), which
is virtual, osgIntrospection "knows" that this tracker is not a
GenericTracker it is expectantly a MyTracker tracker:
"osgLua::Exception osgartscripting.lua:17: Type not defined class
osgSpace::MyTracker"
-- load a tracker from a plugin
tracker =
osgSpace.TrackerManager.createTrackerFromPlugin("osgspace_mytracker")
-- we get the tracker, initialise it
tracker:init(video.width,video.height)
is there any chance to get around this "intelligent" behavior of
osgIntrospection or is this the specific implementation of osgLua?
Cheers,
Hartmut
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/