Giter VIP home page Giter VIP logo

jessicawhite17 / panda3d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from panda3d/panda3d

0.0 1.0 0.0 68.11 MB

The Panda3D free open-source cross-platform game engine

Home Page: https://www.panda3d.org/

License: Other

Puppet 1.66% Pascal 0.12% C++ 69.07% C 14.24% Python 12.93% Shell 0.13% JavaScript 0.02% Emacs Lisp 0.37% NSIS 0.20% Objective-C++ 0.66% Visual Basic 0.01% Rebol 0.01% Perl 0.46% Perl 6 0.07% Objective-C 0.03% Java 0.01% HTML 0.02% Nemerle 0.02% Logos 0.01%

panda3d's Introduction

Build Status

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

We currently build using the Microsoft Visual C++ 2010 compiler. You do not need Microsoft Visual Studio to build Panda3D, though - the relevant compilers are included as part of 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 one of these two URLs, depending on whether you are on a 32-bit or 64-bit system: https://www.panda3d.org/download/panda3d-1.9.0/panda3d-1.9.0-tools-win32.zip https://www.panda3d.org/download/panda3d-1.9.0/panda3d-1.9.0-tools-win64.zip

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

makepanda\makepanda.bat --everything --installer

When the build succeeds, it will produce an .exe file that you can use to install Panda3D on your system.

Linux

Building Panda3D on Linux is easy. All you need is to invoke the makepanda script using the version of Python that you want Panda3D to be built against.

Run makepanda.py with the --help option to see which options are available. Usually, you will want to specify the --everything option (which builds with support for all features for which it detects the prerequisite dependencies) and the --installer option (which produces an installable .deb or .rpm file for you to install, depending on your distribution).

The following command illustrates how to build Panda3D with some common options:

python2.7 makepanda/makepanda.py --everything --installer --no-egl --no-gles --no-gles2

You will probably see some warnings saying that it's unable to find several dependency packages. You should determine which ones you want to include in your build and install the respective development packages. You may visit this manual page for an overview of the various dependencies.

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

sudo apt-get install build-essential pkg-config 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

Once Panda3D has built, you can either install the .deb or .rpm package that it produced (if relevant to your platform, and you added --installer). On other systems, you will need to use the installpanda script to install it onto your system. Careful: it is not easy to uninstall Panda3D in this way!

python2.7 makepanda/installpanda.py --prefix=/usr/local

Mac OS X

On Mac OS X, all you need to compile Panda3D is a set of precompiled thirdparty packages, which can be acquired from here: https://www.panda3d.org/download/panda3d-1.9.0/panda3d-1.9.0-tools-mac.tar.gz

After placing the thirdparty directory inside the panda3d source directory, you may build Panda3D using a command like the following:

python makepanda/makepanda.py --everything --installer

In order to make a universal build, pass the --universal flag. You may also target a specific minimum Mac OS X version using the --osxtarget flag followed by the release number, eg. 10.6 or 10.7.

If the build was successful, makepanda will have generated a .dmg file in the source directory containing the installer. Simply open it and run the package file in order to install the SDK onto your system.

panda3d's People

Contributors

drwrose avatar rdb avatar darrenr555 avatar nthparameter avatar jyelon avatar shochet avatar gyedo avatar zpavlov avatar enn0x avatar samirnaik avatar redmondurbino avatar kpatelpro avatar beiyang avatar mikechristel avatar miangraham avatar dangerousyams avatar zhaohuang avatar joehager avatar jparise avatar treeform avatar jasonhancock avatar cfsworks avatar rectalogic avatar mjkoo avatar waltdestler avatar frainfreeze avatar thekrush avatar pandaemma avatar nikolmiv avatar eswartz avatar

Watchers

Jessica  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.