Skip to content

Getting Started

tobspr edited this page Dec 6, 2015 · 69 revisions

Using the Render Pipeline only requires a few steps to setup:

1. Getting an up-to-date Panda3D build

For the pipeline you need a recent Panda3D build. You can either use a precompiled build from here: Panda3D Devel SDK Downloads or compile it yourself, using the sources from here. When you successfully installed/compiled it, head over to the next step. In case you have trouble compiling it, you can always ask or help on the forums or the panda3d irc!

2. Getting the Pipeline

You should download the latest version from github, by cloning the repositority, for example with:

git clone https://github.com/tobspr/RenderPipeline --depth=1 --branch refactoring_beta --single-branch RenderPipeline
git submodule init
git submodule update

IMPORTANT: "Download zip" does not work, since it does not include submodules.

3. Installing the Pipeline

Place the pipeline in a subfolder of your project, e.g. RenderPipeline/, then run the setup.py. You can now load the pipeline in your program, see below.

4. Initializing the Pipeline

You can find a code-snippet showing how to initialize the pipeline here: Roaming-Ralph Sample

The sample shows the basic code required to run the pipeline. In the most cases, you want to store the pipeline in a subfolder, check out Mount Manager to find out how to adjust the paths.

5. Adding Lights & Models

In order to make your objects visible, you have to add some lights. You can find a list of supported lights at the Lights page, also more detailed information how to create a light.