Пример #1
0
	def __init__(self, *args, **kwargs):
		GraphicsWindow.__init__(self, *args, **kwargs)

		# Set the graphics window implementation used. This class we are instantiating here
		# is implemented in c++ and is responsible for all renderings.
		self.SetGraphicsWindow(OsgModelWindow())
Пример #2
0
	def __init__(self, *args, **kwargs):
		GraphicsWindow.__init__(self, *args, **kwargs)

		# Set the c++ specific implementation that is responsible for rendering 
		# of the scene.
		self.SetGraphicsWindow(OsgSceneWindow())