database conversion

Hi,

I am exploring the possibilities to migrate from Panda3d to Unity3D. I am developing for windows 7 64 bits. I have a number of Panda3D (*.egg) databases that consist of networks of complex roads and a lot of billboards, 3d models etc. attached to that. As I am unfamiliar with Unity3d, as far as I know, the only way to create a virtual world in Unity is via the editor.
I have my own design software for making these world databases and this design software outputs a Panda3d *.egg file. So what I need is either

  • software to convert the *.egg file to a file format that I can read in the editor, or
  • maybe a native format specification of Unity databases.

Does anyone know what would be the best option ?

There is no public specification for the Unity project format, so your option 2 doesn’t exist. Unity loads fbx, collada, and obj mesh files. You’ll want to find something that can convert the egg files into those.

The egg format is textual and documented so you could write a Unity importer to parse this and directly build a GameObject hiearchy with Mesh components etc.
https://www.panda3d.org/manual/index.php/Parsing_and_Generating_Egg_Files

Or use one of the egg converters to either convert directly to a format Unity supports, or to a format you can then import into a modeling tool like Blender or Maya and then export from that to something Unity supports like FBX. Take a look at egg2dxf, egg2flt, egg2x, egg2maya, egg2obj, egg2pg