Jump to content

FBX to GLM converter


Recommended Posts

I think the real issue is the vertex lighting in the renderer - it should be detecting vertices that are in the exact same position and merging the normals over the seam for lighting. 

 

I agree, this is one of the worst problem about character models.

Link to comment

I talked with Xycaleth on IRC and he might have an idea of what to do, but it's pointless until we can get animated models + animations running through the converter. After everything is working, I'd like to have XSI 3.0/3.5 file processing so we can still work with the Raven source files otherwise it will be a BIG job to have to convert them all to FBX. :P

I just saw this... I also have the XSI Converter Toolkit Software, that along with the XSIFTK, should also allow for making a standalone XSI-to-Ghoul2 converter application. I'll email it to Xycaleth.

Link to comment

If you import a GLM, the splits are there as they are ingame so it's not the renderers fault. The problem is either the dot xsi 3.0/3.5 format or carcass itself.

Export a 3 light setup on the model and do a text edit on an original dotXSI 3.0 to add the lights (@@minilogoguy18 and I did this back when I was working on the 3ds max exporter) and use the XSI Viewer to see if the UVW seams are visible. My hunch it's the conversion to Ghoul2.

Tempust85 likes this
Link to comment

The GLA file already states how much to scale the model, but this applies to the whole model. Are you asking to add support for scaling individual bones? Jiggle bones won't be possible without changes to the renderer so that's a no go - at least for an exporter.

Link to comment

Lol yes, it won't compile unless there is a GLA to point to. :P

 

Tried this:

fbx2ghoul2.exe -anim models/players/_humanoid/_humanoid.gla models/players/dt_stormtrooper/stormtrooper.fbx

And This:

fbx2ghoul2.exe -anim models/players/_humanoid/_humanoid.gla stormtrooper.fbx

In a bat file, no errors come up and it appears to compile fine.

Link to comment

Yeah, the converter & FBX are in my base folder and the GLA is in models/players/_humanoid/_humanoid.gla. The converter is setting each mesh object to be weighted to model_root. I've tried different FBX versions and tried ASCII as well and no difference.

Link to comment

Oh, it looks like I forgot to add an error message if the GLA file couldn't be read. If you run the converter on the FBX file without specifying a GLA file then that's the output you should expect. I'm guessing the converter doesn't output anything apart from "Converting <modelname> to GLM" when you specify the GLA file. Have you extracted the GLA file from the PK3? If so, try putting the .GLA file in the same directory as the converter and running:

 

 

fbx2ghoul2.exe -anim _humanoid.gla stormtrooper.fbx
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...