Hi Robert,
On 11/11/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
Very nice. One small point, it might be worth naming loadFile to
readNodeFile() to be consistent with the core OSG, although perhaps
this should be in the osgDB table.
I've changed the functions from:
osgLua.load -> osgLua.loadWrapper
osgLua.loadFile -> osgLua.loadObjectFile
And you are right, loadObjectFile shoud be in the osgDB table, but
osgIntrospection currently doesn't wraps global functions, thats why I
map that function inside the osgLua table (because is really useful)
Although you can write:
osgLua.loadWrapper("osgDB")
osgDB.loadObjectFile = osgLua.loadObjectFile
But I reckon this is not a beautiful solution. :P
Wow small world you got there. Perhaps being the same lab is an
advatange, means that you can bounce ideas and solutions off each
other.
It's more like a friendly and very sane competition between lua and
python: "I can do this more elegant than you do with that
scripting-like-language" (Lua is winning of course) XDDDD in fact we
are improving a lot both packages talking about features we are going
to code next.
Cheers,
Jose L.
--
Jose L. Hidalgo ValiƱo (PpluX)
---- http://www.pplux.com ----
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/