Home Technical Talk

Exporting additional mesh information to FBX -> G3DB

Hi,

I want to create a modular level and would like to give my models additional information. I need to have this eventually in G3DB there is a FBX to G3DB converter for this. So first I need to know if FBX can hold extra information, I thought it could but I cannot find it in the exporting options. I cannot find any information on exporting additional data along with the model. Some things I would like to include:

- Which side it connects too.
- Where a additional object could be places, like a wall lamp or chest.
- If it could be flipped or rotated and what kind of piece should be attached to a certain side.

If this is not possible I think my only option is to write some XML or other serializable format that contains this data with the file names of the models and import that into my program.

Replies

  • Eric Chadwick
    I don't know anything about the G3DB format, and it really depends on what things your converter will copy out of the FBX file, but you could try adding empty nodes to the FBX file and use those as attachment and/or orientation points.

    You could either name them using a specific naming convention, or embed some ascii data in the nodes somewhere that you can reach it when it gets to the G3DB file.

    Also it looks like there's a G3DJ format (did a quick Google), which is JSON text instead of binary, and should be easier to debug.

    What software are you using to create the FBX?
Sign In or Register to comment.