Linh,
Currently in osgswig you cannot directly override osg.Drawables in the
target scripting language.
This is partly because we have not enabled SWIG directors for this
class, which are responsible for such cross-language inheritance.
Also, Drawables are pure virtual/abstract which doesn't play
: Re: [osg-users] How to define my own geometry in osgswig?
Linh,
Currently in osgswig you cannot directly override osg.Drawables in the
target scripting language.
This is partly because we have not enabled SWIG directors for this
class, which are responsible for such cross-language inheritance
Hi,
I was wondering if it's possible to draw my own geometry in osgswig, eg
something like:
import osg, osgViewer
class MyCube(osg.Drawable):
def __init__(self):
osg.Drawable.__init__(self); # AttributeError: No constructor defined
def drawImplementation(self, state):
3 matches
Mail list logo