Hi Jose,
On 11/10/06, Jose Luis Hidalgo <[EMAIL PROTECTED]> wrote:
osgLua has some new features! I've started playing with callbacks
and now I can make cows shake
http://www.pplux.com/files/osgLua_shaking_cow.png using lua functions
as callbacks.
What have you done to that poor cow, you taken it to the abattoir and
done unspeakable things to it. You beast!
;-)
Things I'm working on:
- callbacks!
- we can load osgLua as a lua package from whatever lua VM:
require("libosgLua")
- osgLua can now load wrappers: osgLua.load("osg") osgLua.load("osgText")
- file loading: osgLua.loadFile("cow.osg")
- osgluaconsole in this example we show how to use an
interactive console inside osg (the application of the screenshot,
thanks Don for point me how to make it)
- debugging and documentation :)
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.
As a reminder, osgLua can be loaded from the subversion repository
located at http://svn.pplux.com/lab/osgLua/
Also congratulations to osgPython (the guy that develops it is
actually working behind me in the same lab!! XDDD, as you can see
there is too much scripting power concentrated in the same place but
each one with different scripting languages)
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.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/