bigianb / bgda-explorer

Code written to try and figure out the data files used in Baldur's Gate Dark Alliance for the PS2
11 stars 6 forks source link

Justice League Heroes - Option to export model with Skeleton Data/Weights? #12

Open 0Curtain0 opened 4 years ago

0Curtain0 commented 4 years ago

Option to export character models with bone weights (skeleton data)? This can help reduce the amount of work needed to rig character models.

bigianb commented 4 years ago

At least for BGDA we have this data ... It just needs exporting. Need to figure out a suitable format.

bigianb commented 4 years ago

latest release has the JLH animation data parsed so you can export posed meshes. What's the most useful format for skinned models? FBX?

BryceBarbara commented 3 years ago

FBX or GLTF would probably be best.

bigianb commented 3 years ago

I implemented GLTF export in the Java code last year sometime ... https://github.com/bigianb/bgda-explorer/blob/master/bgtools/src/main/java/net/ijbrown/bgtools/vifview/Demo.java

BryceBarbara commented 3 years ago

Cool! Looks like there is a pretty good C# library that handles the GLTF implementation details. Since GLTF supports files with multiple animations, we should start thinking of how we might want to support exporting all applicable animations in the LMP file.

ghost commented 2 years ago

I agree that FBX would be good format for bone-weights and skeleton data, maybe GLTF, but DAE might be the easiest (but not preferable) format to implement/