Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Your help in
translating MegaGlest
is much appreciated.
Home
Help
Search
Login
Register
MegaGlest Forum
»
Modding and game content creation
»
Tools
»
Where can i find the .g3d file format specs ?
Pages: [
1
]
Print
Author
Topic: Where can i find the .g3d file format specs ? (Read 2373 times)
greg
Guest
Where can i find the .g3d file format specs ?
«
on:
7 May 2010, 08:52:41 »
Hi,
Where can i find the file format specs of 3D models (.g3d) ?
The file format is binary.
Thanks.
Logged
titi
MegaGlest Team
Airship
Posts: 4,240
Re: Where can i find the .g3d file format specs ?
«
Reply #1 on:
7 May 2010, 11:41:27 »
There is no real spec for this.
Best is you look into the code. Especially the xml2g g2xml things from the glexemel tools will quickly tell you whats going on and the xml-g3d-format itself is very informative too. I wrote a JME(JMonkey) converter for java using this xml-format and informations based on the things I found there.
glexemel: ( its a tool to convert xml->g3d or g3d->xml )
http://www.glest.org/files/contrib/tools/glexemel-0.1a.zip
some more interisting things I made are here:
https://forum.megaglest.org/index.php?topic=4831.msg36592#msg36592
«
Last Edit: 7 May 2010, 11:44:10 by titi
»
Logged
Try Megaglest!
Improved Engine / New factions / New tilesets / New maps / New scenarios
greg
Guest
Re: Where can i find the .g3d file format specs ?
«
Reply #2 on:
7 May 2010, 12:25:44 »
I have downloaded glest v3.2.2.
All models seems to be in binary format.
Is xml format used only in the future developpement version of glest ?
Logged
titi
MegaGlest Team
Airship
Posts: 4,240
Re: Where can i find the .g3d file format specs ?
«
Reply #3 on:
7 May 2010, 13:27:04 »
it is used while exporting from blender to .g3d.
This is not done in one step. First an xml is created then it is converted to .g3d using the mentioned tools.
But these tools can also convert g3d to xml ( g3d2xml )!
Logged
Try Megaglest!
Improved Engine / New factions / New tilesets / New maps / New scenarios
greg
Guest
Re: Where can i find the .g3d file format specs ?
«
Reply #4 on:
7 May 2010, 14:34:29 »
Ok. The xml file is an intermediate file format like the xml files of Ogre3D.
Logged
titi
MegaGlest Team
Airship
Posts: 4,240
Re: Where can i find the .g3d file format specs ?
«
Reply #5 on:
7 May 2010, 14:48:45 »
right
Logged
Try Megaglest!
Improved Engine / New factions / New tilesets / New maps / New scenarios
Yggdrasil
GAE Team
Ornithopter
Posts: 408
Re: Where can i find the .g3d file format specs ?
«
Reply #6 on:
8 May 2010, 11:06:04 »
Here are the specs:
https://forum.megaglest.org/index.php?topic=713
older one, not sure if every model uses v4:
https://forum.megaglest.org/index.php?topic=215.0
Logged
Print
Pages: [
1
]
MegaGlest Forum
»
Modding and game content creation
»
Tools
»
Where can i find the .g3d file format specs ?