Hello, is there any way where i can export my 3d scene from panda3d, to egg file as a single 3d model for example?
Yup! See this manual page for details.
The answer is slightly wrong.
- Step is to save your scene in
.bam
file. - Use the
bam2egg
utility.
However, this process involves data loss.
A list of useful utilities.
https://docs.panda3d.org/1.10/python/tools/list-of-executables
I mean, that is one of the approaches listed on the manual page, I believe.
thank you both of you for your answer.
Well, how can I save my scene in .bam? what piece of code should I use to do that? is there any example of doing so?
best regards
EDIT: Found it, I should use render.writeBamFile(file_name)
thanks.
Is there a way to convert that .bam to fbx ?
You can use the 3D editor as an intermediate step.
bam2egg
ā egg2x
ā Open format x in blender
ā Then you can save it in any format
But you need to remember that losses are inevitable, and there are no guarantees of the result
Oh, Iām so inattentive and lazy. At the same time, I remember updating the example code.
Ah, we all miss things sometimes, I daresay!