コード例 #1
0
ファイル: ModelWindow.py プロジェクト: nsmoooose/csp
	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
ファイル: SceneWindow.py プロジェクト: nsmoooose/csp
	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())