Difference between Runtime 1.0.4 and Panda3D 1.8.1

I found the codes of Runtime 1.0.4 are similar to some parts of Panda3D 1.8.1. Would you mind summarizing the difference between them?

The code is the same because it’s compiled from more or less the same source code, just different parts are activated during build.

The difference between the runtime and the SDK is that with the runtime, you can only run packaged .p3d apps and browser apps. The SDK actually contains all you need to write and run Python apps that use Panda3D.

Then, my questions are:

  1. From the coding perspective, are the codes of Runtime 1.0.4 exactly proper subset of that of Panda3D 1.8.1?
  2. How to select the active parts of the needed codes, are there any rules, conditions, requirements or tips?
  3. Where can we find docs or helps to compile Runtime 1.0.4?
  1. No, they’re an overlapping set. The main code of the runtime is in the directories direct/src/plugin* but it uses code from more core parts in Panda.

  2. Sorry, I don’t understand this question.

  3. In makepanda, add the --runtime flag.

Thanks a lot!