Skip to content

nirai-compiler/panda3d

 
 

Repository files navigation

Nirai's Panda3D

Panda3D is a game engine, a framework for 3D rendering and game development for Python and C++ programs. Panda3D is open-source and free for any purpose, including commercial ventures, thanks to its liberal license. To learn more about Panda3D's capabilities, visit the gallery and the feature list. To learn how to use Panda3D, check the documentation resources. If you get stuck, ask for help from our active community.

Panda3D is licensed under the Modified BSD License. See the LICENSE file for more details.

Building Panda3D

Windows

You can build Panda3D with the Microsoft Visual C++ 2015 or 2017 compiler, which can be downloaded for free from the Visual Studio site. You will also need to install the Windows 10 SDK, and if you intend to target Windows XP, you will also need the Windows 7.1 SDK.

You will also need to have the third-party dependency libraries available for the build scripts to use. These are available from the third-party repository. Place the third-party directory into your Panda3D source directory.

After acquiring these dependencies, you may simply build Panda3D from the command prompt using the following command. (Change 14.1 to 14 if you are using Visual C++ 2015 instead of 2017. Add the --windows-sdk=10 option if you don't need to support Windows XP and did not install the Windows 7.1 SDK.)

compile.bat
postbuild.bat

postbuild cleans up the built dir.

Linux

On Linux, you will need to obtain the relevant third-party dependencies for Nirai's Panda3D via means that your distro provides. You may visit this manual page for an overview of the various dependencies.

If you are on Ubuntu, this command should cover the third-party packages:

sudo apt-get install build-essential pkg-config fakeroot python-dev libpng-dev libjpeg-dev libtiff-dev zlib1g-dev libssl-dev libx11-dev libgl1-mesa-dev libxrandr-dev libxxf86dga-dev libxcursor-dev bison flex libfreetype6-dev libvorbis-dev libeigen3-dev libopenal-dev libode-dev libbullet-dev nvidia-cg-toolkit libgtk2.0-dev libassimp-dev libopenexr-dev

After acquiring the dependencies, you may simply build Panda3D from the terminal using the following command:

./compile.sh
./postbuild.sh

postbuild cleans up the built dir.

macOS

You will need to have the macOS third-party dependencies available for the build scripts to use. These are available from the third-party repository. Place the third-party directory into your Panda3D source directory.

After acquiring these dependencies, you may simply build Panda3D from the terminal using the following command:

./compile.sh
./postbuild.sh

postbuild cleans up the built dir.

About

A fork of the Panda3D repository for developing Astron support.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 66.9%
  • C 17.0%
  • Python 14.8%
  • Emacs Lisp 0.6%
  • Objective-C++ 0.4%
  • NSIS 0.2%
  • Other 0.1%