An advanced rendering pipeline for Panda3D
Psychedelic Flythrough of the Mind of a Computer
Flight Simulator, created by Carnegie Mellon students

Panda3D Manual: More about referencing packages

A p3d file may include a reference to one or more packages, which means that those package(s) will be downloaded and installed before the application even begins. This is specified with the -r parameter to packp3d, or with the requires() call in a pdef file.

It is also possible to download and install one or more packages at runtime, after the application has already started. To do this, instead of referencing the package with the -r parameter, you can call base.appRunner.installPackage() at runtime, or you can use the PackageInstaller or DWBPackageInstaller class to download and install it asynchronously.