I was leading the thread discourse.panda3d.org/viewtopic.php?t=782 astray with this discussion. Therefore I continue it here:
The question is:
What are the pros and cons of putting the CollisionSolids in the .egg fil vs. putting is in the .py file?
Imho. if you did not make the model yourself, and like me is new to Panda, it can be a bit confusion to figure out an .egg file.
But perhaps you’d argue it belongs to the .egg file
or perhaps it is faster (esp. if converted to .bam)
Please voice your opinion on this (here)
To summarize the discussion this far, russ has argued that Polyset are easier to define in .egg [I so agree]
Yellow has argued that
- it is easier to have a modeling program put the solids in the .egg file [I am yet to try a modeling program *blush*]
*Python code is rather slow compared to C++, as far as I [Yellow] understand, loading from egg or bam files is mostly done in C++,
[Can anyone confirm this, please It’d be nice to know.]
I am still not convinced it makes a difference.
Is .egg really faster (I guess it takes some time to load)
Are there any other differences?
Btw. thanks for your contributions, Yellow.
Does anyone else but me wanna continue this discussion?