Skip to content

McKay42/mph-model-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mph-model-viewer

DOWNLOAD > https://github.com/McKay42/mph-model-viewer/releases

View/export the models and textures found in Metroid Prime Hunters.

You can also walk around the models (standard first-person controls), Bullet is used as a physics engine for player movement.

  • Exports a Collada file for models, and PNG files for textures
  • Vertex colors must be supported when importing the collada file elsewhere (for the lightmaps to work)
  • If your modeling software doesn't support vertex colors in collada files, use Blender to import and then export in a different format which does support them
  • If you want the exported models to look like they do in-game, create a multiplication shader/node for every material/texture which multiplies the interpolated vertex color (lightmap) with the albedo color (texture)
  • Character models don't really work, since all bones are centered at (0,0,0), and their textures are broken
  • Animations are not supported

Runs on McEngine: https://github.com/McKay42/McEngine

Demo 1: https://www.youtube.com/watch?v=9YTE4l2uRgo

Demo 2: https://youtu.be/BSn59ebjOnw

Usage

  • Copy your *.bin model and texture files into /<ModelViewer>/mph/models/ and /<ModelViewer>/mph/textures/ respectively
  • Click on [Open] and navigate to /<ModelViewer>/mph/models/, then select the model you want to view
  • Exported files will go into /<ModelViewer>/exports/
  • Keep the exported collada and png files together in the same directory (for importing)

Controls

  • [W][A][S][D] = Move
  • [Space] = Jump
  • [Shift] = Sprint
  • [Ctrl] = Crouch
  • ... all other hotkeys are visible on-screen

Screenshots

screenshot1_modelviewer screenshot2_ds

screenshot3_modelviewer screenshot4_ds

screenshot5_modelviewer

Blender Help

screenshot6_blender1 screenshot7_blender2