Jump to content

gmf2obj (with source code)


Masterxilo
 Share

Recommended Posts

File Name: gmf2obj (with source code)

File Submitter: Masterxilo

File Submitted: 01 Aug 2010

File Updated: 17 Aug 2010

File Category: Tools and Utilities

 

This simple tool converts any static-geometry-only .gmf model file dragged onto it to an .obj model ready to be loaded by any external modeling application.

It creates a separate submodel/group for every "surface" of the original model (that is a group of polygons with the same material).

 

Secondary uv coordinates are not converted, neither are scaling, position and other matrix modifications. Bones and other helpers are not converted either.

 

This is only meant for static geometry.

 

Source code (cpp) included for those who are interested. Basically, this really just loads the model using the engine's loading commands, no gmf api (that one can be used to write gmf's only anyways...) or any fancy file parsing is used. In order to make this able to run standalone, all the engine dependencies

 

Again, the attached file is actually a .7z (7-Zip) file, rename to unpack.

This format should really become a standard, it is superior to rar and zip in file size and unpacking speed.

 

Click here to download this file

  • Upvote 2
Link to comment
Share on other sites

Very useful Masterxilo. <_<

AMD Bulldozer FX-4 Quad Core 4100 Black Edition

2 x 4GB DDR3 1333Mhz Memory

Gigabyte GeForce GTX 550 Ti OC 1024MB GDDR5

Windows 7 Home 64 bit

 

BlitzMax 1.50 • Lua 5.1 MaxGUI 1.41 • UU3D Pro • MessiahStudio Pro • Silo Pro

3D Coat • ShaderMap Pro • Hexagon 2 • Photoshop, Gimp & Paint.NET

 

LE 2.5/3.4 • Skyline UE4 • CE3 SDK • Unity 5 • Esenthel Engine 2.0

 

Marleys Ghost's YouTube Channel Marleys Ghost's Blog

 

"I used to be alive like you .... then I took an arrow to the head"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...