Making Panda3D startup snappy
Here’s a tip posted by Gogg on how to make Panda3D start really fast. Don’t get me wrong it’s not slow, especially on the second and subsequent runs, but there’s always room for “faster”. So, make sure you:- Use Panda3D 1.7.0, there was some CPU measurement code prior to that that slowed Panda startup a lot
- On Windows, on any API, (If your build has DX support, even if you are using OpenGL) use the following config setting:
request-dxdisplay-information #f - On DirectX9, use the following setting:
dx-count-all-cards-memory #f
With these three things you’ll be looking at a startup time of 0.1 seconds (depends on your computer, of course) on Windows with Directx, and 0.5 with OpenGL in Windows Vista/7 and 0.1 with Windows XP. OpenGL always initializes slower in Windows Vista/7 and there’s nothing you can do, it’s like this for all games and engines (I’ve only tested with nvidia cards.)
Gogg original page is here: http://gogg.p3dp.com/

After using the suggestions myself, I can indeed see Panda3D start faster, however it is still very slow, much slower than 1.6.2.
While this might be an issue with optimization, I am suspecting that it has to do with the fact that I had to compile 1.7.0 with –no-ffmod switch, as otherwise it wouldn’t compile.
I’ll see once the official pre-compiled version of Panda3D 1.7.0 comes out, which should be quite soon.