Hi Peter,
On 1/29/07, Peter Gebauer <[EMAIL PROTECTED]> wrote:
As I understand it, osgIntrospection will disallow proper use of object
orientation and it adds calls to dynamically create C++ instances instead
the actual C++ code being executed directly by Python.
I want the Python API to be not only a way to access OSG for quick hacks,
but a viable way to write applications using OSG, I don't see
osgIntrospection facilitating that.
Maybe I got osgIntrospection wrong, but if the Python API doesn't provide
full access to the OSG API directly as, seemengly, I fully functional
Python API, I don't think it's a good idea. The OSG Python API must be fully
usable from a Python programmers point of view, not a "generic" OSG object
creation API.
Please re-read my previous email - I offer three options, you seem to
be stuck on option 1 - just using dynamic bindings at runtime. Option
2 is about using the osgIntrospection wrappers to reflect the API then
generate native binding from this.
I also have to point out that most OSG users don't continuously go
subclassing from OSG classes - they just create a scene, modify small
elements of that scene, they don't need to subclass everything. The
places that you will subclass is things like event handlers and node
callbacks, one needs to make sure that these are easy to create. This
will scoop up 95% of end users.
So rather than take the line of can't do that, must do that, please
soften a little, you can do a lot without needing to be 100% of
everything that you could ever think of. For those cases that you
slip off the well beaten track that are still options like dropping
down into C++.
I would very much like to get an easy and maintainable solution for
95% of normal users, and for power users it'd be great to easily cater
for them as well, but given they are power users then going a bit off
road occassionally needn't be a show stopper.
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/