Join also our Discord channel! Click here.

AMR - Mesh Format Research Helper

General game file tools that are useful for more than one game
Post Reply
User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 652
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 24 times
Been thanked: 576 times

AMR - Mesh Format Research Helper

Post by Bigchillghost » Mon Aug 19, 2019 7:27 am

1) Introduction

Advanced Mesh Reaper, or AMR for short, is a tool I created when playing around with MFC.

It's aimed to be a quick approach to obtain a couple of meshes with all basic attributes including positions, normal vectors, texture coordinates, and if necessary, to transform them to the target coordinate system without the assistance of extra programing or other 3D applications.

Though it can be used for format researching purpose, it's not served to be a beginner's tool. So there're not any step-by-step tutorials on specific formats.

2) Change Log

Code: Select all

2020.04.18 - v1.5.1		Emergent fixes of a few newly introduced bugs.
2020.04.13 - v1.5.0		Added a "Zero Calibration" check box;
				Added support for material groups;
				Added access to the check buttons when open/save a parameter file
				in the Options menu, for OS before Vista;
				Changes on the UI and the plf file definition due to the introduced new features.
2020.03.17 - v1.4.3		Fixed stripped indices decoding orientation order;
				Placing the mesh to the viewport center during preview;
				Fixed transformation failure after previewing from list;
				Added bounding and pivot info for position digest;
				Fixed false alarm when relative address being 0.
2019.12.08 - v1.4.2		Added an option for enable/disable file verification when open a PLF;
				Changes on paramter list file definition;
				Fixed Data Interpretation display issues;
				Fixed Texcoords UI issue when loading params.
2019.12.02 - v1.4.0		Added implicit triangle/triangle strip indices generation;
				Address and Count fields support values with digital segmentation,
				like "12 ABCD" for Address, and 1,234" or "1, 234" for Count;
				Fixed BBox checkbox disabled when AllSame type is checked.
2019.11.07 - v1.3.2		Added a new data type Int10 for normal encoding;
				Fixed preview status not flushed under certain circumstances;
				Fixed open file failed when a param file has been created/opened.
2019.10.30 - v1.3.1		Fixed a parameter validation issue;
				Fixed a display issue of negative relative offsets.
2019.10.27 - v1.3.0		Added UINT8 datatype support for face indices;
				Distance control applied also to tristrips;
				Fixed naming issue during export;
				Minor bug fixes.
2019.09.12 - v1.2.0		A few small modifications;
				Fixed some UI issues.
2019.08.24 - v1.1.0		Added option for previewing all meshes in param list;
				Added support for relative source path when saving param list file;
				Fixed a couple of issues.
2019.08.19 - v1.0.1		Initial release.
3) User Interface
Image

Refer to the AMR Specification for a detailed explanation.

4) Main Features
  • The Multi Sources mode allows you to specify individual data files as inputs. This can be very convenient when you have raw data dumped from discrete compressed blocks.
  • Independent routines of handling different mesh elements, which ensures a simple, clean and user friendly interface.
  • Complete modules for managing the parameter list to make your work easier and faster.
  • Ability to handle cases where extra data is inserted in polygon indices. This is useful for files containing combined UV or normal indices.
  • Support of parsing position bounding box to restore the mesh to its in-game scaling.
  • Multiple UV channels support. By exporting to FBX format, the tool allows to export each mesh with up to 4 individual UV channels.
  • Flip UV option. It allows to vertically flip the UV so as to map with the textures.
  • Supports for normal vectors of various encodings.
  • Transformation options of the model including axis inversion and mesh rotations.
  • Assignment of material groups to polygons.
  • Implicit triangle/triangle strip indices generation.
  • Visulizes meshes, UVs and vertex normals vectors.
5) Examples Using the Tool

Image

Image
Image
Image
Image
Image

6) Notes

AMR is using an external mesh viewer called ViewScene to preview the model with different attributes.
It's based on the ViewScene sample program of Autodesk FBX SDK, version 2019.2. I made some modifications myself to meet with different demands of this project. The main modifications include:
- Added codes for displaying vertex normal vectors;
- Added codes for displaying as point cloud;
- Added codes for displaying shaded wireframe;
- Changed some of the keyboard accelerators, and added a few more to interact with the scene more easily;

Still, the modified ViewScene executable along with its required libaries technically are not a part of AMR. So they do not come with this release. You should obtain these components from the link provided below and place them into the location of the AMR executable.

ViewScene Executable (date 2019/10/27)

7) Download
You do not have the required permissions to view the files attached to this post.
Last edited by Bigchillghost on Sat Apr 18, 2020 1:10 pm, edited 12 times in total.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)

User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 652
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 24 times
Been thanked: 576 times

Re: AMR - Mesh Format Research Helper

Post by Bigchillghost » Fri Aug 23, 2019 5:55 pm

Detailed Explanation on the AMR User Interface
(obsolete content removed)
Last edited by Bigchillghost on Mon Apr 13, 2020 1:05 pm, edited 1 time in total.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)

User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 652
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 24 times
Been thanked: 576 times

Re: AMR - Mesh Format Research Helper

Post by Bigchillghost » Sun Dec 08, 2019 7:59 am

Version 1.4.2 updated.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)

damndoe
ultra-n00b
Posts: 3
Joined: Fri Dec 13, 2019 2:14 am

Re: AMR - Mesh Format Research Helper

Post by damndoe » Fri Dec 13, 2019 9:08 am

Amazing tool, can you send me a DM please? I need help with just a few small things you posted and dont want to make a big topic

User avatar
Bigchillghost
double-veteran
double-veteran
Posts: 652
Joined: Tue Jul 05, 2016 9:37 am
Has thanked: 24 times
Been thanked: 576 times

Re: AMR - Mesh Format Research Helper

Post by Bigchillghost » Sat Apr 18, 2020 1:13 pm

Updated v1.5.1: emergent fixes of a few newly introduced bugs.

Anyone using v1.5.0 should update to this version immediately.
May you find peace in this puzzle-solving game. Say it with action: click the Image when you get helped.:)

Post Reply