So i have my editor set up and i am ready to program, but how do i make egg files? I want to have an envoirment, So i make my own in Cinema 4D (a 3d modeling program.) So how do i make those usable egg files?
From panda3d.org/manual/index.php/L … xecutables it looks like Panda has command line converters for Maya, Lightwave, and Direct X formats, as well as a few other formats that probably only work for static meshes. If you can export to one of these formats you can probably convert the model using one of these tools.
The Direct3D .x export from Cinema4D works pretty well, with some nice options that make the generation of clean egg files easier than with the 3DS Egg exporter
OK; If you use Windows:
Firstly, put the .x file in some directory, like c:\temp
Open up the command prompt (start > run > cmd.exe)
Change the cwd to the directory where your x file is located
for example, type: cd “c:\temp”
Now, call x2egg like this: x2egg myfile.x myfile.egg
When it’s done, there should be a myfile.egg file in c:\temp.
If you use Linux:
Firstly, put the .x file in some directory, like /usr/home/temp/
Open up your favorite terminal.
Change the cwd to the directory where your x file is located
for example, type: cd “/usr/home/temp/”
Now, call x2egg like this: x2egg myfile.x myfile.egg
When it’s done, there should be a myfile.egg file in /usr/home/temp/.
For that purpose under windows, File menu tools (lopesoft.com/en/fmtools/info.html) is really useful, since it enables nice commands in the explorer context menu, such as “Open shell here” or “Copy absolute path”.
Hi I used Cinema 4D for the eggNbowl physics demo on the scripting thread to create the meshes then exported out an OBJ file…that worked well for me too.