Skip to content

Panda3D

Panda3D is a 3D engine: a library of subroutines for 3D rendering and game development. The library is C++ with a set of Python bindings. Game development with Panda3D usually consists of writing a Python or C++ program that controls the Panda3D library.

Example

from direct.showbase.ShowBase import ShowBase

class MyApp(ShowBase):
    def __init__(self):
        ShowBase.__init__(self)
        # 화면에 큐브 모델을 로드하고 표시
        self.model = self.loader.loadModel("models/box")
        self.model.reparentTo(self.render)

app = MyApp()
app.run()

See also

Favorite site