| OpenGLContext.browser.interactivity | index /home/mcfletch/pylive/OpenGLContext/browser/interactivity.py |
Interactivity in VRML contexts
What I would like to do is create a mechanism
for binding python actions to a particular prototype
without requiring explicit subclassing within the
python class. Something like:
8< ________ somefile.wrl ____
#VRML V2.0 utf8
PROTO TestNode [
exposedField SFVec3f position 0,0,0
] {
Shape { geometry Sphere {} appearance Appearance { material DEF Material Material{}}}
}
8< __________ regnode.py ____
| Classes | ||||||||||
|
| ||||||||||
| Data | ||
| __file__ = '/home/mcfletch/pylive/OpenGLContext/browser/interactivity.py' __name__ = 'OpenGLContext.browser.interactivity' | ||