Jump to content

GMF Static Mesh Viewer & Scaler


Marleys Ghost
 Share

Recommended Posts

post-12-0-89857500-1303893699_thumb.png

File Name: GMF Static Mesh Viewer & Scaler

File Submitter: Marleys Ghost

File Submitted: 26 Apr 2011

File Updated: 28 Apr 2011

File Category: Tools

 

Just a small tool I wrote for myself and thought I'd share. Its for rescaling visually, GMF formated static mesh models. I hope it might be of use to someone, and as always, feedback is welcome.

 

Controls:

 

Movement : WSAD

Rotate Camera : Press and hold RMB whilst over model view window

 

Move character marker : Left click or Press and hold LMB

 

S: Uniform scale slider

X: Scale only in the X axis

Y: Scale only in the Y axis

Z: Scale only in the Z axis

 

Reset All:

 

Resets all the sliders back to the default value

 

x2 x4 x6 x8 x10:

 

Selects the maximum scale value for the S,X,Y and Z sliders

 

Scale LOD's:

 

This is on by default, the App will look in the current models directory and rescale any LOD's for it to the same values, when this is unchecked, only the main mesh will be rescaled on saving.

 

Ambient Light:

 

Simply adjusts the level of the ambient light.

 

Character Height:

 

Adjusts the height of the character reference model in LE units, default is 1.8 (approximately six feet), this can be adjust from 0.00 units to 2.00 units currently.

 

Bloom,GodRays, HDR, SSAO and Wire Frame:

 

Pretty much self explanatory, these toggle on/off their respective Post FX

 

Sky Colour:

 

Allows the background "sky" colour to be changed

 

Move Model and Rotate Model:

 

Moves the loaded model up and down, and rotates the model +/- 90 degrees in the Y axis.

 

Camera Speed:

 

Again self explanatory, alters the cameras movement speed in the viewing window.

 

Load:

 

Will open a file requester, navigate to the directory of the model you want to view/scale.

 

Save:

 

Will save a copy of the loaded model to a new sub directory of the current models directory called "current model name" Scaled.Into this, the App will save the scaled model or model + LOD's, along with a text file that contains the scale values used. If a lua file exists for the model this to will be copied into the scaled directory, if not, a basic lua file will be created.

 

All small buttons marked X are individual reset buttons for their respective controls.

 

There is a test model included and a backup of it in a zip file in the models directory.

 

Remember to always back up your files.

 

Warning: This is for use only on static meshes.

 

 

 

What's New in Version Alpha V1.2 (See full changelog)

 

* Add Directory To Search Path

* Added Save Paths Function

 

 

 

Click here to download this file

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

You mean for the rescaled model?

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

I like it, though shouldn't there be an option to specify the path where it looks for materials and textures? :)

 

 

I have uploaded a new version with a limted work around so the newly scaled meshes can be viewed after creation with textures.

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

Morning Kazar, ok, sorry did not fully understand what you were after.

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

@Kazar:

 

I have quickly added a new button to add a limted work around for adding a directory to the search path (Alpha V1.1). I have not got the time to test it fully, let me know if this works ok.

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

as I said ... a limited work around for adding a directory ;)

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

@Kazar: Ok have an idea for your permanent paths, if I get half an hour later I will try it out.

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

@Cassius: You are welcome I hope its of use to you.

 

@Kazar: Sorry, did not have time last night, so have quickly knocked Alpha V1.2 up this morning, when selecting a path you will now be given the option to save the path which will be re-registered when the app is loaded, to do this click ok, the path will be saved and also registered for the current session, clicking cancel will only register that path for the current session. The paths will be saved to the SavedPaths.ini in the Settings directory which will be created in the Apps directory. To remove a path simply edit the ini file, and remove a path, to remove all saved paths just delete the ini file.

 

I don't have the time this morning to test it fully, let me know if this works ok.

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

Good to know, thanks Kazar.

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...