[Release] Exported 3D resources

03/08/2018 21:19 manulaiko3.0#1
I could make a tool to export atf to png, but I had to manually export the awd models because the format isn't documented.

There were some models that I couldn't export because they broke prefab, also, I didn't export the zips from fx.

Here they are: [Only registered and activated users can see links. Click Here To Register...]
03/08/2018 22:06 epete#2
Virus :kappa:
03/08/2018 22:19 manulaiko3.0#3
Quote:
Originally Posted by epete View Post
Virus :kappa:
That's why I didn't post VT
03/08/2018 22:41 ItsTequila#4
If you manage to export the rest, would be awesome if you can send a link. Awesome release none the less
03/09/2018 15:10 manulaiko3.0#5
I'm not a model designer so I have no idea why they don't work.

However I managed to reasonably set it in LibGDX.

First you need to load the obj. As the don't have a default material you need to load the texture for separated.
After loading the texture you need to flip the Y axis by wrapping it in a texture region.
Then you must apply the texture to all the model materials:

Code:
// Load model and texture.
AssetsManager assets = new AssetsManager();
assets.load("aegis.obj", Model.class);
assets.load("aegis-mmo_diffuse_512.png", Texture.class);
assets.finishLoading();

// Prepare texture.
TextureRegion region = new TextureRegion(assets.get("aegis-mmo_diffuse_512.png"));
region.flip(false, true);
TextureAttribute texture = new TextureAttribute(TextureAttribute.Diffuse, region);

// Prepare model.
ModelInstance model = new ModelInstance((Model)assets.get("aegis.obj"));

// Add texture to model.
for (Material material : model.materials) {
    material.set(texture);
}
Result:

[Only registered and activated users can see links. Click Here To Register...]