Page 2 of 3

Re: I need help(.mesh)

Posted: Tue Jun 06, 2017 6:10 am
by m545891031
Karpati wrote:If the 3d model looks like this, I must flip the model horizontally.
From your model you can see that you have achieved great results and look forward to your completed version, thank you, this is a great job. :]

Re: I need help(.mesh)

Posted: Tue Jun 06, 2017 7:01 pm
by Karpati
I added the NetEase Games *.mesh/gim/mtg file format load modules to my program (3D Object Converter v6.508) and released it as a web update.

How to get the latest version of 3D Object Converter:
Please download the 3D Object Converter v6.50 from http://3doc.i3dconverter.com and install it or download and use the portable version.
After it use the Help/Check for updates... function to get the latest version of the program.


I converted the .ktx files (Khronos Texture, https://www.khronos.org/opengles/sdk/tools/KTX/) to .jpg file using the PVRTexTool https://community.imgtec.com/developers ... vrtextool/ from the PowerVR Tools.

Unfortunately the .mtg file has wrong texture file extension (.bmp instead of .ktx).

Workflow:
- I changed the Tools/Options/Import/Default texture file extension (from .bmp to .jpg)
- I opened the .mesh file.
- I used the Tools/Set the default texture file extension in the material table function (to change the .bmp extension to .jpg).
- I exported the model to Wavefront .obj/mtl formats.

Re: I need help(.mesh)

Posted: Wed Jun 07, 2017 5:40 am
by m545891031
Karpati wrote:I added the NetEase Games *.mesh/gim/mtg file format load modules to my program (3D Object Converter v6.508) and released it as a web update.

How to get the latest version of 3D Object Converter:
Please download the 3D Object Converter v6.50 from http://3doc.i3dconverter.com and install it or download and use the portable version.
After it use the Help/Check for updates... function to get the latest version of the program.


I converted the .ktx files (Khronos Texture, https://www.khronos.org/opengles/sdk/tools/KTX/) to .jpg file using the PVRTexTool https://community.imgtec.com/developers ... vrtextool/ from the PowerVR Tools.

Unfortunately the .mtg file has wrong texture file extension (.bmp instead of .ktx).

Workflow:
- I changed the Tools/Options/Import/Default texture file extension (from .bmp to .jpg)
- I opened the .mesh file.
- I used the Tools/Set the default texture file extension in the material table function (to change the .bmp extension to .jpg).
- I exported the model to Wavefront .obj/mtl formats.
Cool. Thank you, Karpati.This is a great job!
Texture is it a JPG?JPG stickers don't have transparent channels, and PNG might be better if it's PNG.

Re: I need help(.mesh)

Posted: Wed Jun 07, 2017 5:52 am
by Karpati
You can convert the .ktx file to .png also using the PVRTexTool.

Re: I need help(.mesh)

Posted: Wed Jun 07, 2017 7:30 am
by m545891031
Karpati wrote:You can convert the .ktx file to .png also using the PVRTexTool.
Thank you very much~! Karpati.
I have been KTX file conversion, MESH format have some problems at present, some MESH format file cannot be open, because there are other affected format to identify parameters of things? :wink:
In addition, the terrain used by the engine is generated by lightmap, the file format appears to be a chunk file, and does your tool support the loading of the terrain? :]

Re: I need help(.mesh)

Posted: Wed Jun 07, 2017 7:57 am
by Karpati
m545891031 wrote:MESH format have some problems at present, some MESH format file cannot be open, because there are other affected format to identify parameters of things
Did you think for NetEase Games .mesh format or other .mesh format?

Re: I need help(.mesh)

Posted: Wed Jun 07, 2017 11:39 am
by m545891031
Karpati wrote:
m545891031 wrote:MESH format have some problems at present, some MESH format file cannot be open, because there are other affected format to identify parameters of things
Did you think for NetEase Games .mesh format or other .mesh format?
Netease many games use the same engine, so their MESH format is the same, but some MESH files cannot be loaded, such as this one. :]
mesh.7z

Re: I need help(.mesh)

Posted: Thu Jun 08, 2017 6:48 pm
by Karpati
I tracked down what was the problem and I modified the NetEase Games *.mesh format load module and released it as a web update.
Just use the Help/Check for updates... function to get it.

Re: I need help(.mesh)

Posted: Thu Jun 08, 2017 8:24 pm
by m545891031
Karpati wrote:I tracked down what was the problem and I modified the NetEase Games *.mesh format load module and released it as a web update.
Just use the Help/Check for updates... function to get it.
There exist some problems in the export OBJ, grid seems to be confusion, map the location of the nor too. :]

Re: I need help(.mesh)

Posted: Thu Jun 08, 2017 8:44 pm
by m545891031
Karpati wrote:I tracked down what was the problem and I modified the NetEase Games *.mesh format load module and released it as a web update.
Just use the Help/Check for updates... function to get it.
I was tested, and it is cool! A near perfect work, only perfect export OBJ model is incomplete. Great work! :wink: :]

Re: I need help(.mesh)

Posted: Thu Jun 08, 2017 9:05 pm
by Karpati
Can you tell me what is wrong in the exported .obj file?

Re: I need help(.mesh)

Posted: Fri Jun 09, 2017 4:23 am
by m545891031
Karpati wrote:Can you tell me what is wrong in the exported .obj file?
The load is perfect, but when I export the model to the OBJ file, the exported model is broken, something like that.
mesh and obj.7z

Re: I need help(.mesh)

Posted: Fri Jun 09, 2017 4:25 am
by m545891031
Karpati wrote:Can you tell me what is wrong in the exported .obj file?
As you can see from the graph, the position is disordered. :]
222.png

Re: I need help(.mesh)

Posted: Fri Jun 09, 2017 5:51 am
by Karpati
It is normally, because you are using the program in demo mode.
I think you did not understand completely the message before Wavefront export.

Re: I need help(.mesh)

Posted: Fri Jun 09, 2017 5:52 am
by Karpati
Here I attached the converted file I exported in the registered mode.